ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: cvs commit: ant build.xml
Date Tue, 26 Jul 2005 07:23:39 GMT
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: stevel@apache.org [mailto:stevel@apache.org] 
>Gesendet: Dienstag, 26. Juli 2005 00:01
>An: ant-cvs@apache.org
>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: dev-unsubscribe@ant.apache.org For 
>additional commands, e-mail: dev-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message