ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=52096

--- Comment #3 from Stefan Bodewig <bodewig@apache.org> 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
practices).

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message