Did you clean up: rm -Rf ~/.m2 ssh root@localhost -p 2222 'cd /opt/cloudstack/; rm -rf apache-tomcat-6.0.32; unzip apache-tomcat-6.0.32.zip; cd incubator-cloudstack; git clean -f; git reset --hard; git pull --rebase; git clean -f; git checkout origin/4.0 -b 4.0 -f '
On Oct 16, 2012, at 2:18 PM, Noah Slater <nsla...@tumbolia.org> wrote: > Now I have this error: > > $ ant rdeploy > Buildfile: > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build.xml > [echo] Using build parameters from > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build/build-cloud.properties > [echo] Using company info from > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build/cloud.properties > [echo] Using override file from > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build/replace.properties > [echo] Using build parameters from > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build/build-cloud.properties > [echo] Using company info from > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build/cloud.properties > [echo] Using override file from > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build/replace.properties > [echo] deploy home: > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build/deploy > > rdeploy: > [echo] copying build folder to remote > [scp] Connecting to localhost:2222 > [scp] done. > [scp] Connecting to localhost:2222 > [scp] done. > [echo] copying deps folder to remote > [scp] Connecting to localhost:2222 > [scp] done. > [echo] copying target folder to remote > [scp] Connecting to localhost:2222 > [scp] done. > [echo] copying dist folder to remote > [scp] Connecting to localhost:2222 > [scp] done. > [sshexec] Connecting to localhost:2222 > [sshexec] cmd : echo $CATALINA_HOME; export > CATALINA_HOME=/opt/cloudstack/apache-tomcat-6.0.32;cd > /opt/cloudstack/incubator-cloudstack;ant deploy-server > [sshexec] > [sshexec] Buildfile: /opt/cloudstack/incubator-cloudstack/build.xml > [sshexec] > [sshexec] [echo] Using build parameters from > /opt/cloudstack/incubator-cloudstack/build/build-cloud.properties > [sshexec] > [sshexec] [echo] Using company info from > /opt/cloudstack/incubator-cloudstack/build/cloud.properties > [sshexec] > [sshexec] [echo] Using override file from > /opt/cloudstack/incubator-cloudstack/build/replace.properties > [sshexec] > [sshexec] [echo] Using build parameters from > /opt/cloudstack/incubator-cloudstack/build/build-cloud.properties > [sshexec] > [sshexec] [echo] Using company info from > /opt/cloudstack/incubator-cloudstack/build/cloud.properties > [sshexec] > [sshexec] [echo] Using override file from > /opt/cloudstack/incubator-cloudstack/build/replace.properties > [sshexec] > [sshexec] [echo] deploy home: > /opt/cloudstack/incubator-cloudstack/build/deploy > [sshexec] > [sshexec] > [sshexec] deploy-common: > [sshexec] > [sshexec] [echo] Using build parameters from > /opt/cloudstack/incubator-cloudstack/build/build-cloud.properties > [sshexec] > [sshexec] [echo] Using company info from > /opt/cloudstack/incubator-cloudstack/build/cloud.properties > [sshexec] > [sshexec] [echo] Using override file from > /opt/cloudstack/incubator-cloudstack/build/replace.properties > [sshexec] > [sshexec] [echo] Using build parameters from > /opt/cloudstack/incubator-cloudstack/build/build-cloud.properties > [sshexec] > [sshexec] [echo] Using company info from > /opt/cloudstack/incubator-cloudstack/build/cloud.properties > [sshexec] > [sshexec] [echo] Using override file from > /opt/cloudstack/incubator-cloudstack/build/replace.properties > [sshexec] > [sshexec] [echo] deploy home: > /opt/cloudstack/incubator-cloudstack/build/deploy > [sshexec] > [sshexec] > [sshexec] unzip: > [sshexec] > [sshexec] > [sshexec] BUILD FAILED > [sshexec] /opt/cloudstack/incubator-cloudstack/build/developer.xml:184: > src '/opt/cloudstack/incubator-cloudstack/dist/client/client.war' doesn't > exist. > [sshexec] > [sshexec] Total time: 1 second > [sshexec] > > BUILD FAILED > /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-src/build/build-devcloud.xml:94: > Remote command failed with exit status 1 > > Total time: 55 seconds > > > On Tue, Oct 16, 2012 at 1:16 PM, Noah Slater <nsla...@tumbolia.org> wrote: > >> Thanks, downloading the binary distribution of Ant and manually copying >> ant-jsch.jar worked for me. I have updated the wiki. >> >> >> On Tue, Oct 16, 2012 at 1:01 PM, Sebastien Goasguen <run...@gmail.com>wrote: >> >>> I followed this: >>> >>> http://myvirtual-lab.blogspot.com.es/2009/07/ant-scp-and-ec2.html >>> >>> with updated versions.. >>> >>> On Oct 16, 2012, at 1:48 PM, Noah Slater <nsla...@tumbolia.org> wrote: >>> >>>> $ ls -l /usr/share/ant/lib/jsch-0.1.48.jar >>>> -rw-r--r-- 1 root wheel 226175 15 Oct 20:10 >>>> /usr/share/ant/lib/jsch-0.1.48.jar >>>> >>>> >>>> -- >>>> NS >>> >>> >> >> >> -- >> NS >> > > > > -- > NS