ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rhino" <rhi...@sympatico.ca>
Subject Re: Call task from another task
Date Mon, 16 Aug 2004 15:37:05 GMT
----- Original Message ----- 
From: "Andreas Hartmann" <andreas@apache.org>
To: <user@ant.apache.org>
Sent: Monday, August 16, 2004 4:57 AM
Subject: Call task from another task


> Dear Ant community,
>
> I didn't find any documentation about the correct way
> to call a task A from another task B.
>
> I don't want to call the execute() method of A, but
> another (utility) method. The utility method could be
> static, but this way I couldn't use the logging mechanism.
>
> So I need a way to access A from B (A should be set
> up correctly).
>
> Could someone give me a short pointer to documentation
> about this topic?
>

Have a look at the AntCall task in the Ant manual at
http://ant.apache.org/manual/index.html. AntCall is under Ant Tasks/Core
Tasks.

Rhino


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


Mime
View raw message