ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "broken connection" <brokenconnect...@gmail.com>
Subject For loop question
Date Fri, 29 Jun 2007 15:05:02 GMT
Hi Friends,
I have a simple "for" task question. I use this for task from ant-contrib:

        <for list="${pass1.property},${pass2.property},${pass3.property}"
param="argvalue">
        <sequential>

        <exec  executable="${ext}" >
            <arg value="/c"/>
            <arg value="execute.bat @{argvalue}"/>
            <redirector outputproperty="result.property" />
         </exec>

        </sequential>
        </for>

I want to pass in 3 values and store the output in 3 different properties .
Is there anyway to do this??

Rite now, the output of all the 3 parameters gets overritten in "
result.property"

Your help would be greatly appreciated.
Thanks

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