You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jonathan Doklovic (JIRA)" <ji...@apache.org> on 2010/03/24 21:56:27 UTC

[jira] Created: (WW-3418) Convention plugin doesn't exclude packages

Convention plugin doesn't exclude packages
------------------------------------------

                 Key: WW-3418
                 URL: https://issues.apache.org/jira/browse/WW-3418
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Convention
    Affects Versions: 2.2.x
            Reporter: Jonathan Doklovic


The convention plugin has the struts.convention.exclude.packages option which is supposed to exclude the list of packages defined from the search for actions.
Currently, you can set this value, but the PackageBasedActionConfigBuilder doesn't actually use it anywhere.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-3418) Convention plugin doesn't exclude packages

Posted by "Jonathan Doklovic (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Doklovic updated WW-3418:
----------------------------------

    Flags: [Patch]

> Convention plugin doesn't exclude packages
> ------------------------------------------
>
>                 Key: WW-3418
>                 URL: https://issues.apache.org/jira/browse/WW-3418
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.2.x
>            Reporter: Jonathan Doklovic
>         Attachments: WW-3418-convention-exclude-package.patch
>
>
> The convention plugin has the struts.convention.exclude.packages option which is supposed to exclude the list of packages defined from the search for actions.
> Currently, you can set this value, but the PackageBasedActionConfigBuilder doesn't actually use it anywhere.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-3418) Convention plugin doesn't exclude packages

Posted by "Jonathan Doklovic (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Doklovic updated WW-3418:
----------------------------------

    Attachment: WW-3418-convention-exclude-package.patch

Attached is a patch that fixes this issue.

Added a check against the excludedPackages list in PackageBasedActionConfigBuilder.includeClassNameInActionScan



> Convention plugin doesn't exclude packages
> ------------------------------------------
>
>                 Key: WW-3418
>                 URL: https://issues.apache.org/jira/browse/WW-3418
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.2.x
>            Reporter: Jonathan Doklovic
>         Attachments: WW-3418-convention-exclude-package.patch
>
>
> The convention plugin has the struts.convention.exclude.packages option which is supposed to exclude the list of packages defined from the search for actions.
> Currently, you can set this value, but the PackageBasedActionConfigBuilder doesn't actually use it anywhere.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.