ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30716] New: - javac task should have built in dependancy finder as in the depend task
Date Tue, 17 Aug 2004 22:00:38 GMT
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: dev@ant.apache.org
        ReportedBy: aalbert@mercury.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message