RE: To check server is down

2011-02-04 Thread Martin Gainty
svn:// URLs are on port 3960 discover-target would need to test netstat output e.g. netstat -a | grep 3960 >output.file a fail message would be no output a found message would be the IP:3960 of the server OR in the case of ssh+svn netstat -a | grep 22 >output.file a fail message would be no outpu

To check server is down

2011-02-04 Thread ritchie
Is there a ant task to check whether the server hosting the source control is down? -- View this message in context: http://ant.1045680.n5.nabble.com/To-check-server-is-down-tp3371133p3371133.html Sent from the Ant - Users mailing list archive at Nabble.com.

[ANN] Apache .NET Ant Library 1.1 Released

2011-02-04 Thread Stefan Bodewig
The Apache Ant project is proud to announce the next release of the Apache .NET Ant Library. The .NET Ant Library provides Ant tasks for compiling and testing code developed for the .NET platform and supports Mono as well as "native .NET". The new release fixes a few bugs - in particular within t

Re: ant exec task: ssh username contains spaces, how to escape?

2011-02-04 Thread Antoine Levy-Lambert
Hello Stein Inge, I am sure that ant does a good at keeping together a command line argument defined with In fact I have even checked this assertion on Windows/Cygwin - build.xml - contents of parrot.sh #!/bin/bash i=0 for arg in "$@" ; do i=$(( $i + 1 )) echo $i " arg