- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
mvn jetty:run autoscan for war+jar subprojects
Tue, 2009-07-14, 05:00
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?