ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject RE: if and unless attributes for all Tasks
Date Thu, 17 May 2001 09:56:45 GMT
> From: Peter Vogel [mailto:pvogel@arsin.com]
>
> > > Heh! It's dynamic, Ant would compile+load the code "on the fly"
> > > so to speak, vs. the current need to compile custom tasks, then
> > > re-call ant...
> > >
> >
> > You can do that now with taskdef.
> >
>
> Really?  I was under the impression that taskdef just told ant to load
> a .class/.jar file, not compile a .java file.

You can compile code (using <javac>) and after that use <taskdef> to load
it.
My buildfiles use that. I compile our specilized ANT task and use then on
the same run of ANT, it works perfectly fine, just use the <classpath>
attribute of taskdef.

Jose Alberto


Mime
View raw message