This project contains configuration for using a dockerized tomcat server instead of OOTB cargo.run profile
From inside an archetype project:
$ docker run --rm --mount type=bind,source=$(pwd),target=/home/myhippoproject bcanvural/hotswap-prepper:v1
Then run
$ ./deploy_local_tomcat.sh
$ ./deploy_local_tomcat.sh
Compile code in IDE, classes will be hot-swapped within container
For cases where hotswap operation is not supported, repackage and redeploy site module:
$ ./redeploy-site.sh
Attach remote debugger at port 8000 (by default) or pass JAVA_DEBUG_PORT env variable in dockerfile