mvn jetty:run-war doesn't rebuild the project, it only starts jetty and assumes the war under target/whatever.war to be present (or it rebuilds the war, but it definitely does not rebuild the current project's jar). To rebuild, you should include the "package" goal, ie. try this:

mvn package jetty:run-war

That should do the trick.

Alex

Am 25.04.2008 um 18:35 schrieb Christian Schalk:
+2) Build the source and start the server in debug mode
+   cd shindig/java
+   mvn install
+   cd server
+   mvndebug jetty:run-war

However if I make a change to the code.. such as changing a class in the
social-api area,
(ex:social-api/src/main/java/org/apache/shindig/social/ samplecontainer/...) I find that I have to do another "mvn install" at the top level to see my change ... which seems overkill since mvn jetty:run-war repackages the war
anway?

--
Alexander Klimetschek
[EMAIL PROTECTED]

>> Day JCR Cup 08 | Win a MacBook Pro: http://dev.day.com/ <<




Reply via email to