Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
capture java output to variable

capture java output to variable

2005-05-26       - By Mark Lybarger
Reply:     1     2     3     4     5     6     7     8  

i have a java class that i can execute from an ant script. the class takes
one string argument and writes to system.out an encrypted version of that
argument. i'd like to capture in ant the output that is written to
system.out to an ant property. how can i do this?

thanks!

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.