ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Passing data between 2 created tasks
Date Wed, 24 Jan 2007 19:19:20 GMT
On Wed, 24 Jan 2007, Farhdine Boutzakhti
<farhdine.boutzakhti@calyon.com> wrote:

> I am creating 2 different tasks with ANT:
> 
> A - One extracting some data in a stack from a cache,
> 
> B - One inserting these data in a database.
> 
> I want to know if there is a way to pass an object (i.e. a stack)
> from A to B?

The easiest way probably uses references.  Add your stack as a named
reference to the project instance of task A and retrieve it in B.

Stefan

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


Mime
View raw message