CLOUDSTACK-3650: CloudStack scripts fail when running on Jetty because the executable flag is not set on their permissions.

This commit is contained in:
Donal Lafferty 2013-08-07 13:22:05 +05:30 committed by Devdeep Singh
parent 31fe99ef91
commit 49c9fbfb70

View File

@ -336,8 +336,8 @@
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>
<webXml>${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml</webXml>
<webAppSourceDirectory>${project.build.directory}/${project.build.finalName}</webAppSourceDirectory>
<webXml>${project.build.directory}/generated-webapp/WEB-INF/web.xml</webXml>
<webAppSourceDirectory>${project.build.directory}/generated-webapp</webAppSourceDirectory>
<webAppConfig>
<contextPath>/client</contextPath>
<extraClasspath>${project.build.directory}/utilities/scripts/db/;${project.build.directory}/utilities/scripts/db/db/</extraClasspath>
@ -389,10 +389,7 @@
<fileset dir="${basedir}/../scripts" />
</copy>
<!-- CLOUDSTACK-1304 -->
<chmod perm="755">
<fileset
dir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts" />
</chmod>
<chmod perm="755" file="${basedir}/target/generated-webapp/WEB-INF/classes/scripts/**" type="both" />
<copy todir="${basedir}/target/generated-webapp/WEB-INF/">
<fileset dir="${basedir}/WEB-INF/">
<include name="web.xml" />