|
30 | 30 |
|
31 | 31 | <target name="deploydbIfSet" if="deploydb.is.set"> |
32 | 32 | <echo message="ant deploydb"/> |
33 | | - <sshexec host="${host}" port="${port}" username="root" password="password" command="echo $CATALINA_HOME; export CATALINA_HOME=/opt/apache-tomcat-6.0.32;killall java;cd /opt/incubator-cloudstack;ant deploycddb"/> |
| 33 | + <sshexec host="${host}" port="${port}" username="root" password="password" command="echo $CATALINA_HOME; export CATALINA_HOME=/opt/cloudstack/apache-tomcat-6.0.32;killall java;cd /opt/cloudstack/incubator-cloudstack;ant deploycddb"/> |
34 | 34 | </target> |
35 | 35 |
|
36 | 36 | <target name="rdeploydb"> |
37 | 37 | <echo message="ant rdeploydb"/> |
38 | | - <sshexec host="${host}" port="${port}" username="root" password="password" command="echo $CATALINA_HOME; export CATALINA_HOME=/opt/apache-tomcat-6.0.32;killall java;cd /opt/incubator-cloudstack;ant deploycddb"/> |
| 38 | + <sshexec host="${host}" port="${port}" username="root" password="password" command="echo $CATALINA_HOME; export CATALINA_HOME=/opt/cloudstack/apache-tomcat-6.0.32;killall java;cd /opt/cloudstack/incubator-cloudstack;ant deploycddb"/> |
39 | 39 | </target> |
40 | 40 |
|
41 | 41 | <target name="deploycddb" description="deploy specific db configuration for clouddev" depends="deploydb"> |
|
46 | 46 |
|
47 | 47 | <target name="rdebug-suspend" > |
48 | 48 | <echo message="ant debug-suspend"/> |
49 | | - <sshexec host="${host}" port="${port}" username="root" password="password" command="killall java;sleep 1;echo $CATALINA_HOME; export CATALINA_HOME=/opt/apache-tomcat-6.0.32;cd /opt/incubator-cloudstack;ant deploy-server;ant debug-suspend"/> |
| 49 | + <sshexec host="${host}" port="${port}" username="root" password="password" command="killall java;sleep 1;echo $CATALINA_HOME; export CATALINA_HOME=/opt/cloudstack/apache-tomcat-6.0.32;cd /opt/cloudstack/incubator-cloudstack;ant deploy-server;ant debug-suspend"/> |
50 | 50 | </target> |
51 | 51 |
|
52 | 52 | <target name="rdebug"> |
53 | 53 | <echo message="ant debug"/> |
54 | | - <sshexec host="${host}" port="${port}" username="root" password="password" command="killall java;sleep 1;echo $CATALINA_HOME; export CATALINA_HOME=/opt/apache-tomcat-6.0.32;cd /opt/incubator-cloudstack;ant deploy-server; ant debug"/> |
| 54 | + <sshexec host="${host}" port="${port}" username="root" password="password" command="killall java;sleep 1;echo $CATALINA_HOME; export CATALINA_HOME=/opt/cloudstack/apache-tomcat-6.0.32;cd /opt/cloudstack/incubator-cloudstack;ant deploy-server; ant debug"/> |
55 | 55 | </target> |
56 | 56 |
|
57 | 57 |
|
|
63 | 63 |
|
64 | 64 |
|
65 | 65 | <echo message="copying build folder to remote"/> |
66 | | - <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/incubator-cloudstack/build"> |
| 66 | + <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/build"> |
67 | 67 | <fileset dir="build"> |
68 | 68 | </fileset> |
69 | 69 | </scp> |
70 | 70 |
|
71 | | - <scp trust="yes" port="${port}" file="build.xml" todir="root:password@${host}:/opt/incubator-cloudstack/"> |
| 71 | + <scp trust="yes" port="${port}" file="build.xml" todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/"> |
72 | 72 | </scp> |
73 | 73 |
|
74 | 74 | <echo message="copying deps folder to remote"/> |
75 | | - <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/incubator-cloudstack/deps"> |
| 75 | + <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/deps"> |
76 | 76 | <fileset dir="deps"> |
77 | 77 | </fileset> |
78 | 78 | </scp> |
79 | 79 |
|
80 | 80 | <echo message="copying target folder to remote"/> |
81 | | - <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/incubator-cloudstack/target"> |
| 81 | + <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/target"> |
82 | 82 | <fileset dir="target"> |
83 | 83 | </fileset> |
84 | 84 | </scp> |
85 | 85 |
|
86 | 86 | <echo message="copying dist folder to remote"/> |
87 | | - <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/incubator-cloudstack/dist"> |
| 87 | + <scp trust="yes" port="${port}" todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/dist"> |
88 | 88 | <fileset dir="dist"> |
89 | 89 | </fileset> |
90 | 90 | </scp> |
91 | 91 |
|
92 | | - <sshexec host="${host}" port="${port}" username="root" password="password" command="echo $CATALINA_HOME; export CATALINA_HOME=/opt/apache-tomcat-6.0.32;cd /opt/incubator-cloudstack;ant deploy-server"/> |
| 92 | + <sshexec host="${host}" port="${port}" username="root" password="password" command="echo $CATALINA_HOME; export CATALINA_HOME=/opt/cloudstack/apache-tomcat-6.0.32;cd /opt/cloudstack/incubator-cloudstack;ant deploy-server"/> |
93 | 93 |
|
94 | 94 | </target> |
95 | 95 |
|
|
0 commit comments