i thought this is what the outputproperty attribute of the exec task was for?
/t >-----Original Message----- >From: Guru Balse [mailto:[EMAIL PROTECTED] >Sent: Thursday, September 08, 2005 7:38 PM >To: Ant Users List >Subject: Re: How do I get <exec> 's output back into my ant script? > >S I: > >I am sure there are many solutions. The first one that comes >to my mind is to write the necessary string(s) out to a file >(in the perl script) and then load the string(s) to a property >in my ant script(s) using <loadfile> > >S I wrote: >> >> 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: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]