ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Elkins" <celk...@scardini.com>
Subject Re: Run-time discovery of tasks
Date Mon, 23 Oct 2000 18:57:22 GMT
> Does Ant offer any ability to do runtime discovery of taskdefs? I'd like to
add a task that is fairly limited in scope (in this case, for Enhydra's XMLC),
and include that with XMLC, rather than Ant itself (for obvious reasons). Can I
set any options in Ant or my build.xml to have it pick up that taskdef at
runtime, rather than at Ant's build time?
>
Yes, here's what we do in the TDK:
    <taskdef name="torque"
classname="org.apache.turbine.tools.torque.TorqueTask"/>

> Thanks,
> Brett

--
Christopher Elkins


Mime
View raw message