Or check out the docs at:
http://jettylauncher.sourceforge.net/docs/index.html
Eelco Hillenius wrote:
This is what you should do to use Jetty Launcher:
1. download Jetty:
http://sourceforge.net/project/showfiles.php?group_id=7322, and unpack
it somewhere
2. in Eclipse select: Help -> Software Updates -> Find and install...
-> Search for new features to install -> New Remote Site with URL:
http://jettylauncher.sourceforge.net/updates and selected the latest
version here.
3. create an Eclipse launcher configuration (select debug... or
run...). Here fill in the options you want; start with selecting the
directory where you unpacked Jetty. Now, you can either just use the
options (be sure to fill in src/webapp in the webapp root dir field)
or a configuration file. That file is not really needed, but I just
checked in one under src/etc/jetty-config.xml).
4. Run/ Debug like you would normally do in Eclipse. Addidationally
there is a help chapter in Eclipse help called 'Jetty Launcher Guide'.
Eelco
Jonathan Locke wrote:
i meant jetty launcher...
don't we have a jetty config file (for using jetty launcher)
somewhere? or is there some other easy way to get jetty launcher
working?
*DOH*
Jonathan Locke wrote:
i don't seem to have jetty installed and haven't run the examples in
a while... is there a note on how to do this somewhere? things have
changed a bunch in the past few months...
i'm pretty sure this would be the result of a change i made recently
to check that components are attached to pages.
i could back it out. but it was hopefully going to reveal some
problems... maybe this is one... i'd like to look into it, but
i've got to get jetty going so i can debug the example.
Juergen Donnerstag wrote:
Jonathan,
linkomatic throws the following exception on my machine. Is that
reproducable on yours?
Juergen
Unexpected RuntimeException:
java.lang.IllegalStateException: No Page found for component
[path = page1]
at wicket.Component.getPage(Component.java:401)
at wicket.Component.getSession(Component.java:579)
at wicket.Component.getRequestCycle(Component.java:459)
at
wicket.markup.html.link.BookmarkablePageLink.getURL(BookmarkablePageLink.java:86)
at
wicket.markup.html.link.ImageMap$ShapeLink.toString(ImageMap.java:181)
at
wicket.markup.html.link.ImageMap.handleRender(ImageMap.java:81)
at wicket.Component.render(Component.java:674)
at wicket.Container.renderNext(Container.java:881)
at wicket.Container.renderAll(Container.java:710)
at wicket.Page.handleRender(Page.java:229)
at wicket.Component.render(Component.java:674)
at wicket.Page.render(Page.java:176)
at
wicket.protocol.http.HttpRequestCycle.handleRender(HttpRequestCycle.java:180)
at wicket.RequestCycle.render(RequestCycle.java:306)
at
wicket.protocol.http.HttpApplication.doGet(HttpApplication.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501)
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop