This page is no longer maintained — Please continue to the home page at www.scala-lang.org

mvn jetty:run autoscan for war+jar subprojects

No replies
Dmitry Grigoriev
Joined: 2009-07-12,
User offline. Last seen 42 years 45 weeks ago.

Hello everyone! :)

I'm working on stateless strictly typed Scala web framework which I
announced yesterday on scala mailing list:
http://article.gmane.org/gmane.comp.lang.scala/16636

Currently I have the single Maven (and Eclipse) project containing both
library and examples. It is convenient for editing and debugging because
I just start `mvn jetty:run` with automatic rescan every 5 seconds, and
Jetty catches up any changes I make in library or examples code.

But for deployment needs, I'll have to separate examples from library. I
tried making parent pom.xml with list and two subprojects:
library jar and examples war. Packaging works ok, but I could not make
Jetty to instantly redeploy examples when I change code in library.

Is that possible? Are there any workarounds? Maybe this feature is
announced for some future Jetty version?

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland