So I just checked out and built Ant. We keep our source, classes and html in the same tree. I'd like to
create a "make clean" equivalent.

deltree and delete don't seem to be the right tasks....

I worked with exec:
  <target name="clean" depends="init">
     <exec dir="${srcdir}" command="rm -r  *class" os="Linux" output="build.txt"

This generally works, but does not delete classes associated with inner classes....

These are left behind after ant clean:

orion{warb}-> ls *class
XmlSimEventImporter$ActionElement.class
XmlSimEventImporter$ElementProcessor.class
XmlSimEventImporter$PredicateElement.class
XmlSimEventImporter$SimEventElement.class
XmlSimEventImporter$SimEventObjectElement.class
XmlSimEventImporter$UnknownElement.class
 

P.s. Is there a mailing list archive?

-- 
          System Simulation Support Branch, ACT-510
TGF (Target Generation Facility, an Air Traffic Control Simulator) 
FAA Technical Center, Atlantic City International Airport, NJ
08405  Mail Stop ACT-510   Phone: 609-485-4480 
Dan Warburton [EMAIL PROTECTED]
 


Reply via email to