ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: the Ant task
Date Wed, 08 Aug 2001 06:04:19 GMT
On Tue, 07 Aug 2001, Matthew Inger <matti@sedonacorp.com> wrote:

> In looking for a way to return values from one target to it's
> calling target, I was looking that the Ant task.

This is something that has been proposed and declined before (return
values of targets) - a <target> is not a method.

You can achieve a similar effect by simply setting a property in the
called target, this will not work with a simple <property> task if
<ant> or <antcall> are involved, but some creative use of
<propertyfile> in the called and <property> in the calling target will
help.

Stefan

Mime
View raw message