开发者

Recommended way to develop using Jetty and Eclipse

I am currently developing a J2EE application and I would like to use Jetty. I would like to have iot integrated with Eclipse, so I could debug the appliaction.

I've tried out couple of plugins (including WT开发者_运维百科P) but nothing works well enough. Run Jetty Run plugin is the best, but I cannot specify context-root in it, which makes it unusable for me.

What would you recommend?


but I cannot specify context-root in it, which makes it unusable for me

You normally specify the context root in the project's properties, not in the server plugin. Rightclick the web project and navigate to Web Project Settings. There you can set the context root.

By the way, if you really want to get the most out of Eclipse to develop Java EE applications, you really should get "Eclipse for Java EE developers", and thus not "Eclipse for Java developers".


you could set a context in the run configuration.

I am not sure what you mean for context-root , you have a context for your application , and you want a root-context for static files?

If you have any question or feature request , please feel free to post in our issue tracker.

If that's a reasonable use-case , i will try to support in the next version. http://code.google.com/p/run-jetty-run/issues/list

And also in the latest nightly version (will be official 1.3.2 version later) , we allow you to setup a jetty.xml , that could extend your jetty as you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜