Open haraleib opened 1 week ago
What version of Wildfly are you using? What is your tech stack? JbossModules + Undertow plugin have not been updated for long time.
I am using the following.
Do you need some information?
Thanks, it should be enough.
The most important thing for me is to watch resources in my multi maven module project. I want to watch resources of all my module dependencies (jars) so I tried to add the following to my main war artifact
watchResources=/src/main/resources
In the logs this in then resolved to c:/wildfly/src/main/resources and not to my project resources. So I am confused how this should be configured. Do I need multiple hotswap-agent.properties ? Do I have to point the absolute path to my resources (this would be more than 100 entries, as I have a lot of modules)
How should this be configured. I have looked at lots of examples from the examples on github.
Hello,
I am currently trying to set up Hotswapagent on a Maven Multimodule/Java EE/Wildfly project. Hotswapping of Java classes works very well out of the box. For resources like xhtml/html/css/js files it doesn't work yet.
I'm a bit confused, on the plugin page it says that webappDir property is currently only supported for Jetty and Tomcat (https://hotswapagent.org/mydoc_configuration.html#webappdir), but according to https://github.com/HotswapProjects/HotswapAgent/issues/277#issuecomment-479058486 it should also be possible for JBOSS/Wildfly.
What exactly do I have to do to make hotswaping of resources like xhtml/css/js files work? I have created a hotswap-agent.properties file and placed it in the resouces folder of my .war module.
There I tried to point to the webappDir with the following attempts. webappDir=${basedir}/src/main/webapp webappDir=/src/main/webapp
Neither of the two worked. Since I work in a Maven multi-module project, there are other modules that contain resources, which are then located as .jar in the WEB-INF/lib directory of the .war.
Does the .war have to be exploded for this to work? Does the .jars have to be exploded for this to work? Is it enough to have a hotswap-agent.properties or do I need one for each Maven module that contains resources?
Can you help me here please? This feature is really import for my company :-)
Also the disabledPlugins property did not work, the log shows that all plugins are loaded.
Best regards