MAVEN Configuration omitted
jrebel configuration Jrebel do not need cumbersome configuration, the jrebel-5.6.3-crack.zip decompression in the disk folder can be. (The author path is:D:\coding-life\IDE\jrebel\jrebel-5.6.3-crack) The path might need to refer to the
Eclipse Configuration
- Open menu Run > Debug configurations ...
- Find the Maven Build. Create a new MAVEN command configuration.
The new related panel configuration such as the following (name can be defined by itself, I named Insurance-jetty):
${project_loc} is a configuration parameter for Eclipse. The Jetty:run command that runs maven on the path to the currently selected project
Skip Test indicates that the startup project is skipping test instance testing
Resolve Workspace artifacts is expressed in the dependence of POM. Assume that there is a dependency on the workspace. Dependencies are found from the workspace without the need to find or download a dependency package from the MAVEN library (a configuration that supports hot deployment of project-dependent project class changes in the workspace)
JRE Configuration
Configuration Description:-noverify
-javaagent:d:\coding-life\ide\jrebel\jrebel-5.6.3-crack\jrebel.jar
-drebel.spring_plugin=true
-drebel.struts2-plugin=true
-xms256m-xmx512m-xx:maxpermsize=256m
-drebel.profile_logfile=d:/jrebel-profile.log
-drebel.dirs=d:\coding-life\workspace\insuranceservice\target\classes
Drebel.dirs is a subproject dependency that Maven relies on.
-javaagent: followed by Jrebel.jar's storage path. The path does not agree to include Chinese, space, decimal points and other special symbols
-drebel.spring_plugin=true indicates that to initiate support for spring hot deployment, the default is True
-drebel.struts2-plugin=true represents support for initiating a struts2 hot deployment. I feel false. Assuming that SPRINGMVC is used, the item can be configured
The last memory configuration needs to be configured according to the respective configuration
Common Configuration
Selecting Debug means that you can select the configuration button directly in the Debugbutton drop-down of the toolbar, assuming you need to see the button in run, or tick run. Effects such as:
start the project and change a Java file. Save, see Representative configuration succeeded
Eclipse+maven (WebApp) +jetty+jrebel configuration method