ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: passing in list of files as arguements
Date Thu, 14 Aug 2003 07:07:13 GMT
Why you donĀ“t use <apply> ?


Jan

> -----Original Message-----
> From: Shawn [mailto:javajunkie@koyuru.com]
> Sent: Thursday, August 14, 2003 9:04 AM
> To: Ant Users List
> Subject: passing in list of files as arguements 
> 
> 
> any ideas of how I could use the following which gives me a 
> list of files 
> in my directories to pass in values one at a time as a command line 
> arguement?
> 
> <target name="list">
>         <fileset dir="." id="fs" />
>         <pathconvert pathsep=" " property="files" refid="fs"/>
>         <echo>${files} are in this dir
>         </echo>
>     </target>
> 
> I am trying to so something like and need to opass them in 
> one at a time 
> and not as a list.
>    <exec executable="gpg" os="RH Linux" inputstring="${the_value}">
> <arg value="--symmetric"/>
> <arg value="--passphrase-fd"/>
> <arg value="0"/>
> <arg value="/home/user/my.txt"/>
> 
> > aagh, for getting filenames in as arguements:
> >
> > found this, will try it
> 
> -- 
> Shawn
> 
> Happily using M2, Opera's revolutionary e-mail client: 
> http://www.opera.com/m2/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message