You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by broken connection <br...@gmail.com> on 2007/06/28 02:22:59 UTC
How to make "outputproperty" element work???
Hi Friends,
I need some help with "outputproperty" element. I have a properties file, i
want to pass in one of the property to a java program and read the response
back and store it in the same property using ant for eg:
my_property=plain_password
//I want to pass this to a java program and the property should be modified
as:
my_property=encrypted_password
I tried to use "JAVA" task but redirection was not working so I used this
"exec" task instead:
<filter filtersfile="myfile.properties"/>
<target name="test">
<exec executable="${ext}" resolveexecutable="true" os="Windows XP">
<arg value="/c"/>
<arg value="call-program.${ext} ${my_property}"/>
<redirector output="myfile.properties"
outputproperty="my_password" append="true" />
</exec>
</target>
But its not working. I am able to redirect the output to some other file eg,
"xyz.txt" but then too the outputproperty element is not working,I want the
output as:
property=value
I have tried a lot, can somebody please give me a clue as to where i am
going wrong.I would really appreciate that.
Cheers
Re: How to make "outputproperty" element work???
Posted by sandra200 <sa...@yahoo.com>.
Hello
Good Day
My name is sandra i saw your profile today at (nabble.com) and became
intrested
in you,i will also like to know you the more, and i want you
to send an email to my email address, so i can give you my picture for you
to know whom i believe we can move from here to next level I am waiting for
your mail to my maill address (sandra.johnson82@yahoo.com )
Remeber the distance or colour does not matter but love matters alot
in life with love sandra please reply to my email,
(sandra.johnson82@yahoo.com) so i can give you my picture and will can move
from here to next love. my lovely one,
Remeber love and understading matters alot in life one love;
Awaiting to hear from you soonest,
Thanks and God bless you,
Form sandra
--
View this message in context: http://www.nabble.com/How-to-make-%22outputproperty%22-element-work----tp11334996p18020726.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org