Hi,

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 19, 2007 7:58 PM
To: [email protected]
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 =

http://ant.apache.org/manual/CoreTasks/java.html

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 =

setProperty()
setNewProperty()


Regards, Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to