ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <steve_lough...@hpl.hp.com>
Subject task available task
Date Thu, 22 Jan 2004 10:14:35 GMT

just thought...who else thinks it would be handy to have a task that 
probed for a task being defined at that point in the build.


e.g.

<taskavailable property="nice.present" task="nice"/>

To date we can do the thing with the classname, but that requires 
knowing the full classname, an implementation detail that should not matter,


Assuming this is a good thing,

1. what is the trick for looking up a taskname?

2. what should the task do? It could set the property to the name of the 
impl class.

3. what about namespaces?

-steve


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


Mime
View raw message