You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Martin Burger <m...@rtin-burger.de> on 2005/08/23 14:04:05 UTC

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

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 files. (I'm calling the javac task many times during an automatic 
debugging process.)

I found no parameter that tells the javac to delete such class files. Is 
there any easy way to delete such class files using some other tasks?

Regards,
    Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org