DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30716>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30716 javac task should have built in dependancy finder as in the depend task Summary: javac task should have built in dependancy finder as in the depend task Product: Ant Version: 1.6.2 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The javac task has an annoying limitation that causes many users to have to run clean before building a slightly updated project. This is because javac task only compiles out dated files but it isn't very clever about dependancies. It simply maps a *.java file against a *.class file. There exists an optional ant task called depend that is smarter about this. It detects real dependancies by digging into the class file themselves. Running the depend task before the javac task will resolve the issue but most people arn't aware of this. Also, having to specify the srcdir & destdir twice can be a source for errors. Rather, javac task should utilize the existing code found in depend task to build a proper outdated list. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]