You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Donal Lafferty <do...@citrix.com> on 2013/07/17 00:38:22 UTC
chmod u+x createtmplt.sh?
I can't see were createtmplt.sh gets turned into an executable script.
Where does this occur?
E.g.
# mvn clean install
# mvn -P developer -pl developer -Ddeploydb
# export MAVEN_OPTS="-XX:MaxPermSize=256m -Xmx1g"
# mvn -pl :cloud-client-ui jetty:run
Wait for system to settle, and...
root@mgmtserver:~/github/cshv3# ls -al /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/storage/secondary/createtmplt.sh
-rw-r--r-- 1 root root 4779 Jul 16 23:24 /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/storage/secondary/createtmplt.sh
RE: chmod u+x createtmplt.sh?
Posted by Donal Lafferty <do...@citrix.com>.
Problems with createtmplt.sh are a symptom of https://issues.apache.org/jira/browse/CLOUDSTACK-1304
It appears that the current fix fails, because that ant task that executes chmod on scripts is not recursive.
Current fix, form https://github.com/apache/cloudstack/blob/master/client/pom.xml, is:
<!-- CLOUDSTACK-1304 -->
<chmod perm="755">
<fileset
dir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts" />
</chmod>
> -----Original Message-----
> From: Chip Childers [mailto:chip.childers@sungard.com]
> Sent: 17 July 2013 12:06 AM
> To: <de...@cloudstack.apache.org>
> Subject: Re: chmod u+x createtmplt.sh?
>
> Packages perhaps?
>
> On Jul 16, 2013, at 6:38 PM, Donal Lafferty <do...@citrix.com>
> wrote:
>
> > I can't see were createtmplt.sh gets turned into an executable script.
> >
> > Where does this occur?
> >
> > E.g.
> > # mvn clean install
> > # mvn -P developer -pl developer -Ddeploydb # export
> > MAVEN_OPTS="-XX:MaxPermSize=256m -Xmx1g"
> > # mvn -pl :cloud-client-ui jetty:run
> >
> > Wait for system to settle, and...
> >
> > root@mgmtserver:~/github/cshv3# ls -al
> > /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-IN
> > F/classes/scripts/storage/secondary/createtmplt.sh
> > -rw-r--r-- 1 root root 4779 Jul 16 23:24
> > /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-IN
> > F/classes/scripts/storage/secondary/createtmplt.sh
> >
Re: chmod u+x createtmplt.sh?
Posted by Chip Childers <ch...@sungard.com>.
Packages perhaps?
On Jul 16, 2013, at 6:38 PM, Donal Lafferty <do...@citrix.com> wrote:
> I can't see were createtmplt.sh gets turned into an executable script.
>
> Where does this occur?
>
> E.g.
> # mvn clean install
> # mvn -P developer -pl developer -Ddeploydb
> # export MAVEN_OPTS="-XX:MaxPermSize=256m -Xmx1g"
> # mvn -pl :cloud-client-ui jetty:run
>
> Wait for system to settle, and...
>
> root@mgmtserver:~/github/cshv3# ls -al /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/storage/secondary/createtmplt.sh
> -rw-r--r-- 1 root root 4779 Jul 16 23:24 /root/github/cshv3/client/target/cloud-client-ui-4.2.0-SNAPSHOT/WEB-INF/classes/scripts/storage/secondary/createtmplt.sh
>