[
http://www.stripesframework.org/jira/browse/STS-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11730#action_11730
]
Tony Dalbrekt commented on STS-666:
-----------------------------------
I managed to get it to work as well (WAS 6.1.x). What encounter though was that
the end dot only works for ActionBeans located in jar files in WEB-INF/lib/.
ActionBeans located in WEB-inf/classes/ are not found.
Here is my setup. com.example.commons.web.stripes is the name of the package
from where to scan for ActionBeans in my jar (WEB-INF/lib/common-stripes.jar).
and com.example.myproject.web is where I want Stripes to scan for ActionBeans
in my current project (WEB-INF/classes/). To get it to work I have to put a
trailing dot at the end av my jar package name but not my project package name.
<init-param>
<param-name>ActionResolver.Packages</param-name>
<param-value>
com.example.commons.web.stripes.,
com.example.myproject.web
</param-value>
</init-param>
Anyone else who can confirm this behavior?
My suggestion is to make the ResolverUtil append a dot (or slash, regarding to
Jan Novotnýs comment) if looking for ActionBeans in a jar and remove it (if
there is one) when looking for ActionBeans in WEB-INF/classes/.
> ActionBeans, Converters etc. in jars not scanned in WebSphere Application
> Server
> --------------------------------------------------------------------------------
>
> Key: STS-666
> URL: http://www.stripesframework.org/jira/browse/STS-666
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5, Release 1.5.1
> Environment: WebSphere express 6.1
> Reporter: Tony Dalbrekt
> Priority: Blocker
> Fix For: Release 1.5.2
>
> Attachments: stripes-branch-1.5.x.patch
>
>
> ActionBeans, Converters etc. bundled in jars and located in WEB-INF/lib are
> not found by the resolvers. For some reason ResolverUtil does not seem to be
> able to find any classes located in jars in the WebSphere environment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development