ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Nested Tasks
Date Tue, 14 Oct 2003 13:27:53 GMT
On Tue, 14 Oct 2003, Christopher Bender
<Christopher.Bender@tdsecurities.com> wrote:

> This is stumping me pretty good and Im hoping someone has experience
> something similar and found a solution.

You probably have to load the task classes via the same classloader.
To do so, either write a small Java properties file that looks like

task1_container=com.blah.task1
task2=com.blah.task2

and define both tasks with a single <taskdef file="..."/> or use
<taskdef>'s loaderref attribute (using the same value in both
<taskdef>s).

Stefan

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


Mime
View raw message