Re: Embedding pluto with maven-jetty-plugin - Cannot resolve ToolTips.properties resource bundle

[email protected]
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <OFAAD19FD4.B5CA0143-ON8525732A.0059152D-8525732A.00599167@hannaford.com>
Good work!

We'd like to update this page too: 
http://portals.apache.org/pluto/v11/app-servers.html . We can add a link 
to your blog entry. What version of Jetty are you working with?

TIA
/Craig





"Nils-Helge Garli" <[email protected]> 
08/01/2007 05:52 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Embedding pluto with maven-jetty-plugin - Cannot resolve 
ToolTips.properties resource bundle






Hi!

I'm currently trying to embed pluto with the maven-jetty-plugin to be
able to run my maven portlet projects by simply issuing the command
"mvn jetty:run". I have used the information in the faq about "What's
the easiest way to include a portlet in my webapp" and looking through
the sources, and I've managed to run my portlet with the jetty plugin
(I've compiled a list of the steps I had to go through here:
http://portletwork.blogspot.com/2007/07/mvnjetty-and-portlets.html)

(I'm not sure if this is the correct way to do it, or maybe a solution
for this already exists, so if anybody has any corrections/objections,
please let me know)

But one of the things I have not been able to solve yet is using the
pluto:modeAnchor and pluto:windowStateAnchor tags in the jsp file that
acts as the portal. The problem is that it cannot resolve the
ToolTips.properties resource bundle. I assume this is a classloader
issue. I have tried putting the ToolTips.properties in the
WEB-INF/classes folder (also in various sub folders) without success.
I've even tried putting it in the same jar as the tag classes, but
still no luck. Any ideas where I should put the ToolTips.properties
file, or what I have done wrong since my "embedded pluto" project
cannot resolve it?

Nils-H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.