ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan \"Rambius\" Ivanov" <>
Subject Re: how to return a String object in custom Ant
Date Mon, 27 Mar 2006 17:41:39 GMT

--- Thod Nguyen <> 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);


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message