Hi Guys,
Basically i can add a server such as
Jboss,
Tomcat to eclipse perfectly fine, and if i create a Dynamic Web Project it can be seen by the server and added to it for hot deployments etc, All works great
So heres the prob, I found in order to create a War file with
maven, it expects the project to be in a certain structure eg
src/java/main
src/java/resources
src/java/webapp
And you put all your jsps, WEB_INF ect in the webapp folder.
Which is different to the Dynamic Web Project structure
src/java/main
WebContext
WebContext or what ever you call the folder is basicaly on the same level as src and you can put the jsps here etc.
Now a project with the maven structure can not be seen by the embedded server in eclipse and so the project cant be added for hot deploments through eclipse, instead i need to do builds etc with maven and drop the war into Tomcat myself or with a script, Anyone know how to get a mavinised Web project added as a project to a server added to eclipse
I have tried both tomcat 6.0, Jboss 4.2 and Jetty-Launcher.
best
Mark