on 2000/06/22 10:58, [EMAIL PROTECTED] at [EMAIL PROTECTED] 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
