You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Sunil Ravipati <su...@oracle.com> on 2004/04/01 23:21:18 UTC
passing property from Userdefined task to build file
How do I set and pass a new property from Userdefined task to the build file.
Thanks,
Sunil
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: passing property from Userdefined task to build file
Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 1 Apr 2004, Matt Benson <gu...@yahoo.com> wrote:
> getProject().setProperty(name, value);
If you wanted to play by Ant's property immutability rules, you'd use
setNewProperty instead of setProperty.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: passing property from Userdefined task to build file
Posted by Sunil Ravipati <su...@oracle.com>.
Thanks Matt.
Matt Benson wrote:
> getProject().setProperty(name, value);
>
> -Matt
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway
> http://promotions.yahoo.com/design_giveaway/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: passing property from Userdefined task to build file
Posted by Matt Benson <gu...@yahoo.com>.
getProject().setProperty(name, value);
-Matt
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org