Skip to content

Commit

Permalink
quote the path argument for the cds build command
Browse files Browse the repository at this point in the history
with the prior path argument builds on windows could fail as
the path separator was lost along the way. Now the path is quoted and
treated as a whole. We tested this on Windows locally and this change
fixed the failing build.
  • Loading branch information
rjayasinghe committed Oct 18, 2023
1 parent 80991ea commit 149c067
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions srv/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@
<configuration>
<commands>
<command>build --for java</command>
<command>deploy --to h2 --with-mocks --dry >
${project.basedir}/src/main/resources/schema.sql</command>
<command>deploy --to h2 --dry >
${project.basedir}/src/main/resources/schema-nomocks.sql</command>
<command>compile srv/cat-service.cds -2 openapi --openapi:url /api/browse >
${project.basedir}/src/main/resources/swagger/openapi.json</command>
<command>deploy --to h2 --with-mocks --dry &gt;
"${project.basedir}/src/main/resources/schema.sql"</command>
<command>deploy --to h2 --dry &gt;
"${project.basedir}/src/main/resources/schema-nomocks.sql"</command>
<command>compile srv/cat-service.cds -2 openapi --openapi:url /api/browse &gt;
"${project.basedir}/src/main/resources/swagger/openapi.json"</command>
</commands>
</configuration>
</execution>
Expand Down

0 comments on commit 149c067

Please sign in to comment.