Author: pgier Date: Fri May 1 21:23:20 2009 New Revision: 770824 URL: http://svn.apache.org/viewvc?rev=770824&view=rev Log: Add some info to the ant tests.
Modified: maven/ant-tasks/branches/maven-ant-tasks-2.0.x/sample.build.xml Modified: maven/ant-tasks/branches/maven-ant-tasks-2.0.x/sample.build.xml URL: http://svn.apache.org/viewvc/maven/ant-tasks/branches/maven-ant-tasks-2.0.x/sample.build.xml?rev=770824&r1=770823&r2=770824&view=diff ============================================================================== --- maven/ant-tasks/branches/maven-ant-tasks-2.0.x/sample.build.xml (original) +++ maven/ant-tasks/branches/maven-ant-tasks-2.0.x/sample.build.xml Fri May 1 21:23:20 2009 @@ -18,6 +18,16 @@ classpath (either by setting the CLASSPATH environment variable before calling ant, or place the jars in the $ANT_HOME/lib directory). + + REQUIRED SETUP FOR RUNNING DEPLOYMENT TESTS + + Some of the deploy tests require that you have the ssh daemon (sshd) running + on your local system. This allows the deploy taks to scp artifacts to a local + test repository. + + How you start sshd will depend on your system. For example on Fedora, + you can start the ssh deamon using "service sshd start" + --> <target name="initClassloader"> @@ -62,6 +72,7 @@ <target name="test-all" description="All tests" depends="test-all-deps,test-all-pubs,test-install-provider,checkClassloader"> + <echo>Tests completed successfully.</echo> <echo>test-scm not run, since it fails...</echo> </target> @@ -402,7 +413,7 @@ <echo file="target/test file.txt">dummy</echo> <artifact:deploy file="target/test file.txt"> <!-- intentionnally left without id to check default id: see MANTTASKS-103 --> - <remoteRepository url="scp://localhost/tmp/deployment-repo"/> + <remoteRepository url="scp://localhost/tmp/deployment-repo" id="scp.localhost.repo"/> <localrepository refid="local.repository"/> <pom refid="maven.project"/> </artifact:deploy>