Meaningless Drivel is fun!*
The moose likes Ant, Maven and Other Build Tools and the fly likes Passing value from Java to Ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Passing value from Java to Ant" Watch "Passing value from Java to Ant" New topic
Author

Passing value from Java to Ant

Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
I have written a taskdef task in ant. The corresponding java file performs various operation and then keeps the output in a variable of type boolean.

Is there any way by which we can pass this value to Ant from the java code.

Kind Regards,
Joshua.


SCJP,SCWCD, Into ATG now!
Joshua Antony
Ranch Hand

Joined: Jun 05, 2006
Posts: 254
Hi All,
I got it.Below is a sample which may help someone else.


Kind Regards,
Joshua
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing value from Java to Ant