ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 43114] repeatedly compiled
Date Tue, 04 Nov 2008 01:43:10 GMT

--- Comment #13 from Jesse Glick <>  2008-11-03 17:43:09 PST ---
One possibility to consider: when running javac and passing a
source file to it, if no package-info.class is created, make one yourself. (It
would no annotations and thus essentially be empty except for the package name.
The format should be simple to write directly from Java code.) This would
ensure that up-to-date checks always worked sanely, as if every had at
least one class- (or runtime-) retention annotation.

You could also try to do this only if you detect an annotation in the file
(just tokenize it, strip out comments, and look for '@').

The empty p-i.class files should be harmless at runtime, but it would perhaps
be possible to exclude them from JARs by default.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message