ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: Set property value via Java
Date Mon, 22 Oct 2007 05:52:43 GMT

-----Original Message-----
From: [] 
Sent: Friday, October 19, 2007 7:58 PM
Subject: Set property value via Java


Is there a method for setting a property's value to the return value of
a Java program?

I have a Java program that executes an XPath query and returns a string.
How can I create a property from this returned string?

no method but an attribute of the <java> task, see Ant manual =

outputproperty / resultproperty / errrorproperty

beside that, there are two methods for setting properties, if you' ve
have written
an own ant task or want to use the Ant api with script task =


Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message