ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn <javajun...@koyuru.com>
Subject passing in list of files as arguements
Date Thu, 14 Aug 2003 07:04:26 GMT
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
View raw message