I have two projects, both using WildFly 14.0.1.Final as deployment server build using maven. One is a very simple test project that produces .war file. If I deploy the exploded file hot-swap works if I change the .xhtml file or a .java file. Changed .java file needs to be rebuild, while .xhtml files doesn't need anything, just a refresh of a browser.
However I can't seem to get the above description to work with a more complex project with an .ear file. Surprisingly the .java changes after rebuild on already running server take effect but I can't figure out how to make the .xhtml changes appear on a browser without re-deploying everything, which obviously takes way to long for a normal developing (20-30 seconds).
Things I've tried:
- Deployed .ear:exploded
- Tried all On 'Update' and On frame deactivation combinations
- Enable in 'Registry' compiler.automake.allow.when.app.running
- Enabled auto-deploy-exploded=true in standalone.xml (i think this file is overwritten by the idea tho)
Update: Looking at the .war containing the .xhtml file, the change isn't recorded. Looks like .war file isn't recreated?
Any help would be greatly appreciated. Thank you!