ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corey Jewett ...@syntheticplayground.com>
Subject Exec and file globbing
Date Tue, 03 Feb 2004 16:47:48 GMT
It looks like jsch doesn't support external key agents. So now I'm 
trying to use exec with the local client instead of scp.

I had:
     <scp 
todir="${user.name}@${build-server}:${build-server-snapshot-path}">
       <fileset dir="${dest-lib}">
         <include name="*.jar"/>
       </fileset>
     </scp>


Now I have:
     <exec executable="scp">
       <arg file="${dest-lib}/*.jar"/>
       <arg 
line="${user.name}@${build-server}:${build-server-snapshot-path}"/>
     </exec>

Which doesn't work because the globbing is not recognized. Also exec 
doesn't allow a nested fileset.

Is there any way to overcome these limitations, other than writing a 
wrapper shell script?

Corey


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


Mime
View raw message