1. Go to http://zeroturnaround.com/software/jrebel/download/download jrebel5.and decompress it to the specified directory.
2. Renewal.
3. Download The jrebel for myeclipse plug-in at http://download.csdn.net/detail/yydcj/4433626. Create the myplugin directory in the root directory of myeclipse and then create the jrebel directory. Decompress features and Plugins in the jrebel for myeclipse plug-in package to the jrebel directory. In myeclipse
Create a TXT file in the dropins folder under the blue edition 8.5 directory.
Path = D :\\ genuitec \ myplugin \ jrebel (absolute path of jrebel for myeclipse plug-in ),
Save and rename it jrebel. Link. Restart myeclipse, window-> preferences, and check whether the jrebel plug-in exists. If yes, the jrebel plug-in is successfully installed.
4. Configure jrebel in myeclipse. Select jrebel under window> preferences, and specify the jrebel. Jar path by clicking "Browse" and selecting jrebel. jar. Then fill in the estimated time for re-deployment.
Window-> preference-> tomcat-> Tomcat 6. x-> JDK page, add the following parameters under optional Java VM arguments
-Noverify
-Javaagent: D: \ Program Files \ jrebel. Jar modify the correct jrebel. Jar path here.
5. Generate jrebel. xml. Right-click the project, select jrebel-> Generate rebel. xml..., and select the Save path,
View the saved rebel. XML format as follows:
<? XML version = "1.0" encoding = "UTF-8"?>
<Application xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns = "http://www.zeroturnaround.com"
Xsi: schemalocation = "http://www.zeroturnaround.comhttp: // www.zeroturnaround.com/alderaan/rebel-2_0.xsd">
<Classpath>
<Dir name = "E:/xxxx/webroot/WEB-INF/classes">
</Dir>
</Classpath>
<Web>
<Link Target = "/">
<Dir name = "E:/xxxx/webroot">
</Dir>
</Link>
</Web>
</Application>
6. Now you can start Tomcat under myeclipse. The following information is printed at startup, indicating that the attack was successful.
[11:22:57] ##################################### #########################
[11:22:57]
[11:22:57] jrebel 5.0.0 (201206080930)
[11:22:57] (c) Copyright zeroturnaround ou, Estonia, Tartu.
[11:22:57]
[11:22:57] Over the last 1 days jrebel prevented
[11:22:57] At least 0 redeploys/restarts saving you about 0 hours.
[11:22:57]
[11:22:57] This product is licensed to unlimited
[11:22:57] for fun! Unlimited! Enjoy!
[11:22:57]
[11:22:57] the following plugins are disabled at the moment:
[11:22:57] * Apache MyFaces plugin (set-drebel. myfaces_plugin = true to enable)
[11:22:57] * click plugin (set-drebel. click_plugin = true to enable)
[11:22:57] * jruby plugin (set-drebel. jruby_plugin = true to enable)
[11:22:57] * Jersey plugin (set-drebel. jersey_plugin = true to enable)
[11:22:57] * Oracle ADF core plugin (set-drebel. adf_core_plugin = true to enable)
[11:22:57] * Oracle ADF faces plugin (set-drebel. adf_faces_plugin = true to enable)
[11:22:57] * seam-wicket plugin (set-drebel. seam_wicket_plugin = true to enable)
[11:22:57] * webobjects plugin (set-drebel. webobjects_plugin = true to enable)
[11:22:57]
[11:22:57] ##################################### #########################