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=32125>. 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=32125 javac task classpath attribute does not behave appropriately Summary: javac task classpath attribute does not behave appropriately Product: Ant Version: 1.6.2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Build Process AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Scenario: Basic Ant File: <?xml version="1.0"?> <project name="compile" default="clean"> <target name="clean"> <javac destdir="c:\temp\build\classes" classpath="C:\temp\build\modules\myapp.jar" srcdir= "C:\temp\build\src1" debug="on"/> </target> </project> Now lets say , we compiled using this ant file at time 10:00am and a class file is produced at time 10:01 am. Now we changed few classes in myapp.jar and removed some methods from the classes that were inside myapp.jar. Rebuilt myapp.jar. Recompile using the above mentioned build.xml using ant, since the class file is newer than the source file it does not recompile. Technically this should be reported as Build Failed !! Please let me know if you have any other questions. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]