http://en.wikipedia.org/wiki/JRebel
Step 1:
How to install JRebel plugin on your IDE (Intellij as example)?
http://zeroturnaround.com/software/jrebel/download/using-jrebel-with-intellij/
Step 2:
Configure JRebel for your maven project.
Add the following snippet to your parent pom.xml. The rebel.xml configuration file will be generated
for each individual sub-module of your maven project.
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
This will generate JRebel configuration file rebel.xml
automatically on every build. If you want to generate the rebel.xml
manually run mvn jrebel:generate -Drebel.xml.dir=OUTPUT_DIRECTORY
(by default OUTPUT_DIRECTORY
is target/classes
).
Adding -Drebel.generate.show=true
will print out generated rebel.xml
at info level, so you can immediately see what was generated.
By default, the generated rebel.xml
contains absolute paths
to your workspace. However if you want to deploy the artifacts for your
team to use, you will need to make sure that the paths are relative
using a configurable custom property.
Step 3:
Set up JRebel for you tomcat.
Create a file startup-jrebel.sh in the dir of you TOMCAT_HOME/bin
and add following content into it.
#!/bin/bash
export CATALINA_OPTS="-javaagent:/home/seaxio/.IdeaIC11/config/plugins/jr-ide-idea/lib/jrebel/jrebel.jar $CATALINA_OPTS"
`dirname $0`/catalina.sh $@
Step 4:
Start debugging.
Run sh startup-jrebel.sh jpda start
Done. compaile your project (Itellij: ctrl + f9) after every code change.
Do not to redeploy your project and you can see the changes in the fly.
I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
ReplyDeleteVery interesting blog.visit my wepsite https://vstking.net/
JetBrains PhpStorm crack
PhpStorm 2021.3 Crack
Many thanks for sharing such incredible knowledge Of TagSpaces Crack. It's really good for your Website.
ReplyDeleteThe info on your website inspires me greatly. This website I'm bookmarked. Maintain it and thanks again.
I'm really impressed with your writing skills, as smart as the structure of your weblog.
JetBrains PhpStorm
After looking through a few blog articles on your website,
ReplyDeletewe sincerely appreciate the way you blogged.
PDF XChange Editor Plus Crack
Maxon Cinema 4D Studio Crack
REAPER Crack
PhpStorm Crack
AVS Video Editor Crack
HMA Pro VPN Crack
Wow, amazing block structure! How long
ReplyDeleteHave you written a blog before? Working on a blog seems easy.
The overview of your website is pretty good, not to mention what it does.
In the content!
vstkey.com
PhpStorm Crack
ReplyDeleteI guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost
the past 6 years, but I had no idea of solving some basic issues. I do not know how to
Download Cracked Pro Softwares But thankfully, I recently visited a website named Crack Software Free Download
All Pro Cracked Softwares Download
PhpStorm Crack
Wow.. Very informative article thanks for sharing please keep it up because there is no limit of information so I'm waiting for an awesome article just like that.
ReplyDeleteCrackjin
IDM Crack
TeamViewer Crack
PhpStorm Crack
Tenorshare iCareFone Crack