Could you use one statement to create both directories?
Would be faster than two <sshexec> statements (connect, make 1st dir, 
disconnect,
connect, make 2nd dir, disconnect).

Jan 

>-----Ursprüngliche Nachricht-----
>Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Gesendet: Dienstag, 26. Juli 2005 00:01
>An: [EMAIL PROTECTED]
>Betreff: cvs commit: ant build.xml
>
>stevel      2005/07/25 15:00:45
>
>  Modified:    .        build.xml
>  Log:
>  mkdir -p doesnt fail if the dir already exists, so we do not 
>need to ignore the errors.
>  
>  Revision  Changes    Path
>  1.476     +0 -2      ant/build.xml
>  
>  Index: build.xml
>  ===================================================================
>  RCS file: /home/cvs/ant/build.xml,v
>  retrieving revision 1.475
>  retrieving revision 1.476
>  diff -u -r1.475 -r1.476
>  --- build.xml        25 Jul 2005 16:52:01 -0000      1.475
>  +++ build.xml        25 Jul 2005 22:00:45 -0000      1.476
>  @@ -1356,12 +1356,10 @@
>       <sshexec username="${apache.user}" host="${ssh.host}"
>         keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
>         knownhosts="${ssh.knownhosts}"
>  -      failonerror="false"
>         command="mkdir -p ${ssh.dist.directory}" />
>       <sshexec username="${apache.user}" host="${ssh.host}"
>         keyfile="${ssh.keyfile}" passphrase="${ssh.passphrase}"
>         knownhosts="${ssh.knownhosts}"
>  -      failonerror="false"
>         command="mkdir -p ${ssh.jars.directory}"/>
>     </target>
>   
>  
>  
>  
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED] For 
>additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to