Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 66309 invoked from network); 25 May 2000 13:33:31 -0000 Received: from faatcrl.faa.gov (HELO faatcrl.tc.faa.gov) (155.178.252.2) by locus.apache.org with SMTP; 25 May 2000 13:33:31 -0000 Received: from offserv2.tgf.tc.faa.gov (offserv2.act.faa.gov [172.26.58.101]) by faatcrl.tc.faa.gov (8.8.8/8.8.8) with ESMTP id JAA00259 for ; Thu, 25 May 2000 09:32:11 -0400 (EDT) Received: from tgf.tc.faa.gov (warb@[172.26.64.61]) by offserv2.tgf.tc.faa.gov (8.8.8/8.8.8) with ESMTP id JAA27478 for ; Thu, 25 May 2000 09:32:59 -0400 (EDT) Sender: warb@tgf.tc.faa.gov Message-ID: <392D1D95.E133CA71@tgf.tc.faa.gov> Date: Thu, 25 May 2000 08:33:25 -0400 From: Dan Warburton Reply-To: warb@tgf.tc.faa.gov Organization: FAA X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.12-20smp i686) X-Accept-Language: en MIME-Version: 1.0 To: ant-dev@jakarta.apache.org Subject: make clean equivalent Content-Type: multipart/alternative; boundary="------------EE1AB271CA9E28A6ACAA6822" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N --------------EE1AB271CA9E28A6ACAA6822 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 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 warb@tgf.tc.faa.gov --------------EE1AB271CA9E28A6ACAA6822 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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 warb@tgf.tc.faa.gov
  --------------EE1AB271CA9E28A6ACAA6822--