Re: Help... how to get a value from Java and pass it to another Target in ANT

2009-03-12 Thread Joe Schmetzer
Hi Shylendran, The task has the output and output outputproperty attributes. If you get your Java program to write the data you need to stdout, the text will appear there. Alternatively, you could get your Java program to write a properties file to the filesystem, and in then later use the Ant

Help... how to get a value from Java and pass it to another Target in ANT

2009-03-12 Thread Shylendran C
Hi All, Could you please help on this problem??? My requirement is In my Java file, I have a method and it will return a value as String. I have to get it from ANT script (build.xml) and after that I want to pass this to another *See below code - build.xml*