On Tue, 7 Aug 2001, Paul Kilroy <[EMAIL PROTECTED]> wrote:
> If you have the source for a new task in the same tree that uses it,
> you are unable to build w/o first commenting out the taskdef to
> build the task, then uncommenting it to build the rest of your
> tree.
No, you can do that with vanilla Ant 1.2.
<target name="build-and-define-task">
<javac dest="wherever-you-want-to-place-your-task" .../>
<taskdef ...>
<classpath>
<pathelement location="wherever-you-want-to-place-your-task" />
</classpath>
</taskdef>
</target>
And all targets that use your new task will need to depend on
build-and-define-task of course.
Stefan