Is ${destdir.dir} defined? Run ant with -debug and -verbose
to see what is actually happening when the clean target
is executed, and check that ${destdir.dir} is actually
expanded to a reasonable value.
Will
-Original Message-
From: Gene Margolin [mailto:[EMAIL PROTECTED]]
Sent: 31
submit a patch to ant-dev for the official FAQ then I'm sure a
committer would be more than happy to apply it.
Erik
- Original Message -
From: Gary Keim [EMAIL PROTECTED]
To: Ant Users List [EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 5:09 AM
Subject: RE: deltree does not work
1.
deltree dir=${destdir.dir}/com/futuresource/jmaf/charts/*.class/
2. I have never used deltree. I use delete to delete a directory
including subdirs.
Look it up in the manual.
- Original Message -
From: Gene Margolin [EMAIL PROTECTED]
To: Ant Users List [EMAIL PROTECTED]
At 13:58 31/10/2001 -0600, you wrote:
Here is my xml ant file. By some reason target clean does not work.
All directories which have to be deleted by that target are not deleted.
What's wrong in my project?
Deltree is deprecated -- it is going to go away soon -- you should be using
the delete
I've changed deltree by delete.
The same result.
No error messages.
All directories are still here.
Gene.
T Master wrote:
1.
deltree dir=${destdir.dir}/com/futuresource/jmaf/charts/*.class/
2. I have never used deltree. I use delete to delete a directory
including subdirs.
Look it
At 14:24 31/10/2001 -0600, you wrote:
I've changed deltree by delete.
The same result.
No error messages.
All directories are still here.
target name=clean depends=compile
deltree dir=${destdir.dir}/com/futuresource/jmaf/charts/util/
deltree
No. I'd like to remove some classes BEFORE creating cab and jar archives.
There are about 20 more folders in ${destdir.dir}.
Gene.
Bevan Arps wrote:
At 14:24 31/10/2001 -0600, you wrote:
I've changed deltree by delete.
The same result.
No error messages.
All directories are still here.
--- Gene Margolin [EMAIL PROTECTED] wrote:
I've changed deltree by delete.
The same result.
No error messages.
All directories are still here.
Try:
target name=clean depends=compile
delete includeEmptyDirs=yes
fileset dir=${destdir.dir}/com/futuresource/jmaf
include