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>
<delete>
<fileset dir="**/CVS/**" />
</delete>
</target>
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 [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 9:38 AM
To: [EMAIL PROTECTED]
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 Junk.java
javac -verbose Junk.java
[parsed Junk.java in 420 ms]
[loaded C:\java\jdk1.2.2\jre\lib\rt.jar(java/lang/Object.class) in 30
ms]
[checking class bss.util.Junk]
[wrote Junk.class]
[done in 812 ms]
-------------------------------------
Kevin Mukhar