Javac does not delete class file of not-existing java file

2005-08-23 Thread Martin Burger
Hello, I'm using the Javac task programmatically to compile java source files. Unfortunately, javac does not remove class files of java files that do not exist (anymore). And pruning the destination dir is not a good solution, because only the changed java files should be compiled - not all f

Re: Javac does not delete class file of not-existing java file

2005-08-23 Thread Martin Burger
Petar Tahchiev schrieb am 23.08.2005 18:26: What's wrong with the delete task? Thanks for the hint. Want to delete file? - Use delete task! :-) After reading the documentation second time I found the solution. You need a delete task that contains a file set. That file set contains a prese

Re: Javac does not delete class file of not-existing java file

2005-08-23 Thread Petar Tahchiev
On 23/08/05, Martin Burger <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using the Javac task programmatically to compile java source files. > Unfortunately, javac does not remove class files of java files that do > not exist (anymore). And pruning the destination dir is not a good > solution, be

Javac does not delete class file of not-existing java file

2005-08-23 Thread Martin Burger
Hello, I'm using the Javac task programmatically to compile java source files. Unfortunately, javac does not remove class files of java files that do not exist (anymore). And pruning the destination dir is not a good solution, because only the changed java files should be compiled - not all f