ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thod Nguyen <tng...@yahoo.com>
Subject Re: how to return a String object in custom Ant
Date Mon, 27 Mar 2006 17:45:53 GMT
Got it...

Thanks everyone ...

--- "Ivan \"Rambius\" Ivanov"
<rambiusparkisanius@yahoo.com> wrote:

> Hello,
> 
> --- Thod Nguyen <tng713@yahoo.com> wrote:
> 
> > I'm writing a custom Ant and i would like to
> return
> > a
> > String object in the void execute() method, what
> is
> > the best way to do this?
> 
> I suppose you mean to return it to the build process
> from your custom Ant task. In this case, you may use
> 
> Project project = getProject();
> project.setProperty(name, value);
> 
> Regards
> Ivan
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message