ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Júlio Cesar Bueno Cotta <juliocbco...@gmail.com>
Subject Re: How to do a custon task return a string
Date Thu, 26 Nov 2009 19:19:25 GMT
Thanks all!
:D
It works!

2009/11/26 <Jan.Materne@rzf.fin-nrw.de>

>
> >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.
> >
> ><yourtask input="foo" outproperty="bar" ... />
> >...
> ><echo> $${bar} == ${bar}</echo>
> >
> >
> >Regards, Gilbert
>
>
> http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html#ret
> urning-list<http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html#ret%0Aurning-list>
>
>
> Jan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
  Júlio Cesar Bueno Cotta
Graduando em ciência da computação
   Universidade Federal de Viçosa

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message