On 23/04/2011 23:07, Ross Gardler wrote:
I've finally found the time to checkout the Rave code and I've got it
all working from the command line and Eclipse. However, I'm not sure how
best to set up Eclipse to work with a Maven based project that runs in
tomcat.

I have two main problems:

Firstly, is it possible to configure things so that I don't have to kill
tomcat, rebuild and restart constantly.

Secondly, when I kill Tomcat (CTRL-C in CLI or the Terminate in Eclipse)
there server continues to run. Restarting the app reports that the port
is already in use and I need to kill the process manually.

Can someone point me to a decent intro to developing a Maven app in
Eclipse.

I found a tutorial at [1] but I'm still having problems - in summary:

- checkout rave from SVN as a Java project
- mvn eclipse:clean
- mvn eclipse:eclipse
- refresh project in eclipse
- added Tomcat as a server to Eclipse (it starts up fine)

According to the tutorial I should now be able to add rave-portal to the server, but I get "There are no resources that can be added or removed from the server".

I've tried creating a rave-portal project in the workspace too, but same result.

What am I doing wrong?

Ross

[1] http://joemorrison.org/blog/2008/06/01/developing-web-applications-with-maven-and-eclipse-you-can-have-it-all/

Reply via email to