I use maven multi-module project like this:
com.user.business (this is for db ORM api)
com.user.member
com.user.platform; com.user.playground
Уvery time I change the logic in ORM which means 'com.user.business' I need to maven install it first. And my other project will call this project API, so I need to compile it.
I use Eclipse Neon.3 Release (4.6.3) and download Jrebel plugin
JRebel works in debug. I sysout
and success, but sometimes it will not print success.
Do I need to set some config for JRebel ?
Maven project pom:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
I use tomcat:run to run the project, I can't find any web.xml and config for Tomcat.
I need to know why JRebel deploy success. Our maven server is using Nexus,
I need to know how to let my JRebel console.
Do I need to set some config for JRebel ?
Make sure that all modules have JRebel enabled for them (Help > JRebel > Configuration > Projects), this will generate a rebel.xml configuration file that is used to map the actual class files to their respective build directories.
You shouldn't need a full mvn install after changing the source, just make sure that the changed class is recompiled in the build directory and JRebel will reload it into the running JVM.