ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Only using taskdef if the task isn't already defined
Date Thu, 16 Mar 2006 10:39:12 GMT
Jon Skeet wrote:
> I have a fairly complex sequence of Ant scripts, including top level
> scripts which call lower level scripts. All of them go through a general
> import phase, which includes doing some taskdefs. Now, I'd like to avoid
> doing the taskdefs in the lower level scripts if the tasks have already
> been loaded by a higher level script. What I'd like is:
> 1) Some way of determining whether or not a task has already been loaded

Ant 1.7 has a <typefound> condition

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

View raw message