ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52096] Package detection wrong in creation of empty package-info class (JAVAC task)
Date Fri, 28 Oct 2011 09:32:25 GMT

--- Comment #3 from Stefan Bodewig <> 2011-10-28 09:32:25 UTC ---
Yes, javac allows users to use it that way, but then it does unexpected things
like creating package-info.class files in wrong places ;-)

The package-info.class is only created for the purpose of tracking what needs
to get recompiled.  If you deliberately break that there isn't anything Ant can
do (it doesn't know the package name as it assumes you structure follows best

In a case like yours the only thing we could do was to offer an attribute that
suppresses the generation of empty package-info.class files completely.  I
don't expect this will be widely used, though.

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

View raw message