Re: How to do a custon task return a string

2009-11-26 Thread Júlio Cesar Bueno Cotta
Thanks all! :D It works! 2009/11/26 > > >let your task create a property via > >project.setNewProperty(String name, String value) > >for further use in your ant workflow. > >Create an attribute for that property and let the user decide > >how to name it, f.e. > > > > > >... > > $${bar} == ${bar}

AW: How to do a custon task return a string

2009-11-25 Thread Jan.Materne
>let your task create a property via >project.setNewProperty(String name, String value) >for further use in your ant workflow. >Create an attribute for that property and let the user decide >how to name it, f.e. > > >... > $${bar} == ${bar} > > >Regards, Gilbert http://ant.apache.org/manual/tuto

Re: How to do a custon task return a string

2009-11-25 Thread Gilbert Rebhan
Júlio Cesar Bueno Cotta schrieb: > Hello people, > I need your help again. > I coded a custon task in Java and I need return a String to the build.xml > where the task is called. > How can I do that? > I am thinking in send write the string into a property file and so read the > file from the ant b

How to do a custon task return a string

2009-11-25 Thread Júlio Cesar Bueno Cotta
Hello people, I need your help again. I coded a custon task in Java and I need return a String to the build.xml where the task is called. How can I do that? I am thinking in send write the string into a property file and so read the file from the ant build, but that is not a very good way to do tha