ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Davies <>
Subject Deleting directories
Date Tue, 13 Feb 2001 17:37:19 GMT
Hi all,

   I'm trying to delete all of the CVS directories in a project. I'm using
the following target to get the job done, but its not working:

   *              stripCVS
   <target name="stripCVS" description="Deletes all CVS directories in the
project! Use with extreme caution">
      <echo>Deleting all CVS directories in the project. I hope you know
what you are doing!</echo>
         <fileset dir="**/CVS/**" />

Any idea what I'm doing wrong? It seems to me that I once read a way to do
thin in the Ant docs, but I haven't found that information yet. Any help
would be much appreciated!

- Jeff Davies

-----Original Message-----
From: Kevin Mukhar []
Sent: Tuesday, February 13, 2001 9:38 AM
Subject: Re: confused over failure

Phillip Lord wrote:
>        I have a file with the following construction in it
> public final int ord;
> protected Constructor()
> {
>     ord = 10;
> }
>      which is perfectly legal java. Sadly due to a bug in Javac
> is will not compile, instead telling me that I have to initialise
> finals in the constructor (even though I have).

Are you sure your code is correct? What you have described compiles for
me (java version "1.2.2" Classic VM (build JDK-1.2.2_007, native
threads, symcjit)) :

Source file -------------------------
public class Junk 
  public final int ord;
  protected Junk() {
    ord = 10;
c:\Project\provisioning\src\bss\util>javac -verbose
javac -verbose
[parsed in 420 ms]
[loaded C:\java\jdk1.2.2\jre\lib\rt.jar(java/lang/Object.class) in 30
[checking class bss.util.Junk]
[wrote Junk.class]
[done in 812 ms]

Kevin Mukhar

View raw message