Feature Requests item #2952163, was opened at 2010-02-16 03:29
Message generated for change (Comment added) made by oburn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=2952163&group_id=29721
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Core Framework
>Group: None
Status: Open
>Priority: 2
Private: No
Submitted By: Johannes Wienke (languitar)
>Assigned to: Nobody/Anonymous (nobody)
Summary: package-info check doesn't consider multiple source trees
Initial Comment:
The check for missing package-info.java files doesn't consider the ability to have multiple source trees in one project. This is eg. often the case for separating the unit tests from the source code. Right now, every unit test contains a warning that there is no package-info.java when these are placed in the normal source tree, even though it is not required and would be completely misleading to have several package-info files for the same package.
----------------------------------------------------------------------
>Comment By: Oliver Burn (oburn)
Date: 2010-02-16 07:17
Message:
change to be a feature request
----------------------------------------------------------------------
Comment By: Oliver Burn (oburn)
Date: 2010-02-16 07:16
Message:
I use suppressions to deal with this. For example the following will
suppress all errors about Package Javadoc in the src/tests directory:
<suppress checks="JavadocPackage" files="src/tests/"/>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=2952163&group_id=29721
|