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 43114] - package-info.java repeatedly compiled
Date Mon, 13 Aug 2007 23:16:45 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=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





------- Additional Comments From jglick@netbeans.org  2007-08-13 16:16 -------
Ah, that does complicate things. Actually, in my tests, any annotation on the
package (even SOURCE retention) causes a package-info.class to be generated.

Perhaps the following behavior would work, on the assumption that compiling
_only_ a package-info.java is useless: collect two lists, outOfDate and
piOutOfDate. For any regular *.java which is either missing its *.class or whose
*.class is newer, add to outOfDate. For any package-info.java which is missing
package-info.class, add to piOutOfDate. For any package-info.java which has a
present but newer package-info.class, add to outOfDate. Now, if outOfDate is
nonempty, run javac on outOfDate + piOutOfDate.

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


Mime
View raw message