I think I've managed to get all the steps written down: http://portletwork.blogspot.com/2007/07/mvnjetty-and-portlets.html
Also, I took a struts 2 portlet archetype project and added the necessary files and configurations and put it on my site for download. You can find the link in the blog. Please let me know if you find any errors. Nils-H On 7/29/07, Don Brown <[EMAIL PROTECTED]> wrote: > Very cool! That has been one of those things I keep meaning to work > on. If nothing else, add the lines (commented out, of course) to our > portlet archetype. > > Don > > On 7/29/07, Nils-Helge Garli <[EMAIL PROTECTED]> wrote: > > Good tutorial, and a nice way to get started with portlet development! > > > > Maybe not entirely on topic, but inspired by your tutorial and some > > information I found earlier in the pluto FAQ about embedding pluto, I > > started playing around with making the maven-jetty-plugin work with a > > portlet project. The goal was to be able to start up and test my > > portlet just by typing "mvn jetty:run". After collecting information > > from various sources, and looking through the pluto-portal-driver and > > the pluto-portal sources, I have finally managed to run my portlet > > with pluto embedded in jetty, as a real portlet, avoiding the need to > > run it emulated as a servlet. It wasn't really that hard (just had to > > add a filter and a listener to the web.xml), and the overhead is > > hardly noticeable. > > > > I'll try to write a tutorial and/or package it as a maven plugin, but > > until then, if anybody is interested in the details, just let me know. > > > > Nils-H > > > > On 7/27/07, Don Brown <[EMAIL PROTECTED]> wrote: > > > I wrote up a simple tutorial showing how to start developing portlets > > > using Struts 2 and Eclipse. It takes advantage of the fact that > > > Struts 2 portlets can be deployed as normal web applications, the > > > tutorial is more how to use a Maven 2 archetype with Eclipse, but with > > > portlet-specific bits. > > > > > > I'm a newbie with Eclipse, so I'd appreciate any corrections, > > > suggestions, etc. Or better yet, submit a CLA and get write access to > > > fix it yourself ;) > > > > > > http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html > > > > > > Don > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]