On Thu, 21 Aug 2008, Oleg Taranenko wrote:
> Eclipse Ganymede JEE (3.4) + m2eclipse 0.9.5 works perfect!
> 
> I can now under eclipse launch mvn jetty:run and comfortable
> debugging all sources including the wicket core. 
> 
> One suggestion, may establish the maven archetype to generate the
> m2eclipse ready Wicket Quickstart? 
> Thoughts? Doubts?

I don't really see why would you want to have Maven in 
between your IDE and the servlet container. In my latest
projects we have always done something like this

import org.mortbay.jetty.Connector;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.nio.SelectChannelConnector;
import org.mortbay.jetty.webapp.WebAppContext; 

public class Jetty {
    public static void main(String[] args) throws Exception {
        Server server = new Server();
        SelectChannelConnector connector = new  SelectChannelConnector();
        connector.setPort(8080);
        server.setConnectors(new Connector[] { connector });
        WebAppContext web = new WebAppContext();
        web.setContextPath("/foo");
        web.setWar("src/webapp");
        server.addHandler(web);
        server.start();
        server.join();
    }
}

and run it from within the IDE.

But if m2eclipse + Maven provides some added value there, why
not.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to