Skip to content

Commit 49c9fbf

Browse files
Donal Laffertydevdeep
authored andcommitted
CLOUDSTACK-3650: CloudStack scripts fail when running on Jetty because the executable flag is not set on their permissions.
1 parent 31fe99e commit 49c9fbf

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎client/pom.xml‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@
336336
<maxIdleTime>60000</maxIdleTime>
337337
</connector>
338338
</connectors>
339-
<webXml>${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml</webXml>
340-
<webAppSourceDirectory>${project.build.directory}/${project.build.finalName}</webAppSourceDirectory>
339+
<webXml>${project.build.directory}/generated-webapp/WEB-INF/web.xml</webXml>
340+
<webAppSourceDirectory>${project.build.directory}/generated-webapp</webAppSourceDirectory>
341341
<webAppConfig>
342342
<contextPath>/client</contextPath>
343343
<extraClasspath>${project.build.directory}/utilities/scripts/db/;${project.build.directory}/utilities/scripts/db/db/</extraClasspath>
@@ -389,10 +389,7 @@
389389
<fileset dir="${basedir}/../scripts" />
390390
</copy>
391391
<!-- CLOUDSTACK-1304 -->
392-
<chmod perm="755">
393-
<fileset
394-
dir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts" />
395-
</chmod>
392+
<chmod perm="755" file="${basedir}/target/generated-webapp/WEB-INF/classes/scripts/**" type="both" />
396393
<copy todir="${basedir}/target/generated-webapp/WEB-INF/">
397394
<fileset dir="${basedir}/WEB-INF/">
398395
<include name="web.xml" />

0 commit comments

Comments
 (0)