[
http://jira.codehaus.org/browse/MOJO-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106725
]
Milos Kleint edited comment on MOJO-904 at 9/7/07 5:29 AM:
-----------------------------------------------------------
If resource defines excludes, it's used and the plugin configuration is not
used.
So for this situation it's not possible to have additional l10n-related
excludes.
{code:java}
if (resource.getExcludes() != null && !resource.getExcludes().isEmpty()) {
scanner.setExcludes((String[]) resource.getExcludes().toArray(
EMPTY_STRING_ARRAY ));
} else if (excludes != null && !excludes.isEmpty()) {
scanner.setExcludes((String[]) excludes.toArray( EMPTY_STRING_ARRAY ));
}
{code}
was:
If resource defines excludes, it's used and the plugin configuration is not
used.
So for this situation it's not possible to have additional l10n-related
excludes.
{code:java}
if (resource.getExcludes() != null &&
!resource.getExcludes().isEmpty()) {
scanner.setExcludes((String[])
resource.getExcludes().toArray( EMPTY_STRING_ARRAY ));
} else if (excludes != null && !excludes.isEmpty()) {
scanner.setExcludes((String[]) excludes.toArray(
EMPTY_STRING_ARRAY ));
}
{code}
> Enable includes / excludes for the l10n report
> ----------------------------------------------
>
> Key: MOJO-904
> URL: http://jira.codehaus.org/browse/MOJO-904
> Project: Mojo
> Issue Type: Improvement
> Reporter: Andrew Williams
> Assignee: Milos Kleint
> Attachments: l10n-exclusions.diff
>
>
> Activated the "TBD" includes/excludes in the reporting class.
> Left the expressions in there, though I do not know if they are useful, the
> reporting configuration does all I need it to
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email