ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S I" <xia...@hotmail.com>
Subject How do I get <exec> 's output back into my ant script?
Date Thu, 08 Sep 2005 16:30:27 GMT
Hi

I'm not quiet sure how to do this?  I wrote a perl script to parse out the 
revision number out of SVN logs.  I call this perl script from my Ant 
build.xml by using <exec> like so

<exec executable="perl c:\revision.pl" os="Windows_NT" resultproperty="?" 
output="?" />

<echo message="${output}" />

I have no clue how to get the perl scripts final result back into my ant 
script.  Am I on the right track using exec?

Thanks



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


Mime
View raw message