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

[email protected]
Newsgroups gmane.comp.jakarta.pluto.user,gmane.spam.detected
Message-ID <OFEFDEB381.97908E7F-ON8525732A.0062DF58-8525732A.0062F11C@hannaford.com>
Hi Nils-Helge,

Thanks for all your hard work. Please go ahead and update the wiki page.

/Craig




"Nils-Helge Garli" <[email protected]> 
08/01/2007 01:10 PM
Please respond to
[email protected]


To
[email protected]
cc

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






I'm using the latest released maven-jetty-plugin which starts a jetty 
6.1.4rc0 server.

I've actually managed to get a bit further, by adding the 
ToolTips.properties file to the pluto-portal-driver jar file. Not a good 
solution, but at least now it works. Also, I had to add some images and 
stylesheets to get the mode- and window state buttons rendered. It's 
starting to add up to almost the entire pluto webapp... This really needs 
to be packaged as a plugin somehow... 

Do you want to update the wiki page yourself, or should I do it?

Nils-H

On 8/1/07, [email protected] <[email protected]> wrote:

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.