Hello everyone,

is anyone able to give me a little hint about what I can do to
automatically deploy changes made in java files to an embedded tomcat? (hot
code replacement). Maybe it is a m2e related topic, but I just try to
figure out.

Currently I am starting a Runner class in test scope to publish a Wicket
Application which also uses CSS files generated with nodejs / npm / grunt:

https://github.com/klopfdreh/fluentsquare/blob/master/com.fluentsquare.web/src/test/java/com/fluentsquare/web/Runner.java

What actually works is that when the Runner has been started up and I
execute a "mvn package -Pwatch" and I change something in a sass file - it
is reflected back to the tomcat.

This does not work for java files. The context is not reloaded in that
case, even if I set the following options:

ctx.setReloadable(true);
ctx.setAntiResourceLocking(true);

kind regards and thanks in advance

Tobias

Reply via email to