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=43114>.
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=43114

           Summary: package-info.java repeatedly compiled
           Product: Ant
           Version: 1.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: [EMAIL PROTECTED]


If you have a file package-info.java in a source tree and run <javac> on the
tree, all the regular sources will be compiled into class files, but not
package-info.java - which is correct. However, if (after making no source
changes) you rerun the same task for an incremental build, Ant will report one
file being recompiled. This is confusing, and also probably slows down
incremental builds a bit.

It is not a good idea to simply exclude **/package-info.java from the source
fileset; Javadoc needs them, and javac might as well (when using annotation
processors anyway). Better to just have the up-to-date check in <javac> know to
expect package-info.class to not exist.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to