ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Duncan Davidson <james.david...@eng.sun.com>
Subject Re: [RFE] Richer Task Specification
Date Thu, 22 Jun 2000 18:09:29 GMT
on 2000/06/22 10:58, mpfoemme@ThoughtWorks.com at mpfoemme@ThoughtWorks.com
wrote:

> <project default="codegen" basedir=".">
> 
> <taskdef name="xslt" classname="Xslt" classpath="lib" depends
> ="xslt-compile"/>
> 
> <target name="xslt-compile">
> <javac srcdir="lib" destdir="lib" />
> </taskdef>

You know, that's pretty good. It keeps taskdefs outside of targets and tasks
inside of targets. The only semantic that needs to be made formal is that if
a taskdef contains a depends attrib, the target named by the depends goes on
the top of the stack and is executed before any other task. Would this work?

.duncan


Mime
View raw message