Last modified by Markus Ruggiero on 2017/02/20 21:13

From version 14.1
edited by bogo
on 2011/11/07 12:55
Change comment: Migrated to Confluence 5.3
To version 16.1
edited by Kieran Kelleher
on 2011/07/25 20:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.bogo
1 +XWiki.kieran
Content
... ... @@ -1,20 +1,20 @@
1 -[[JRebel>>url:http://jrebel.com||shape="rect"]] is a tool from [[ZeroTurnaround>>url:http://www.zeroturnaround.com||shape="rect"]] that makes it possible for Java developers to instantly see any code change made to an appĀ //without// redeploying. JRebel lets you see code changes instantly, versioning classes and resources individually and updating one at a time instead of as a lump application redeploy.
1 +JRebel is a tool from [[ZeroTurnaround>>http://www.zeroturnaround.com]] that hotswaps compiled java classes on the fily while your application is running. This will greatly reduce the number of times your must restart your app as your make changes during development and thus save you time and productivity interruptions.
2 2  
3 3  === How to install and use JRebel ===
4 4  
5 -* Get a free 30-day license, a[[open source developer license>>url:http://sales.zeroturnaround.com||shape="rect"]] (Get JRebel for free section) or a paid license from [[ZeroTurnaround>>url:http://www.zeroturnaround.com||shape="rect"]]
6 -* Put the license file (jrebel.lic) into a directory named .jrebel in your home directory. ( ~~/.jrebel/jrebel.lic )
7 -* Get the JRebel plugin. Go to Eclipse->Preferences->Available Software Sites, add [[http:~~/~~/www.zeroturnaround.com/update-site/>>url:http://www.zeroturnaround.com/update-site/||shape="rect"]]
5 +* Get a free 30-day license, a open source developer license or a paid license from [[ZeroTurnaround>>http://www.zeroturnaround.com]]
6 +* Put the license file (jrebel.lic) into a directory named .jrebel in your home directory. ( /.jrebel/jrebel.lic )
7 +* Get the JRebel plugin. Go to Eclipse->Preferences->Available Software Sites, add [[http://www.zeroturnaround.com/update-site/]]
8 8  
9 -[[image:attach:AddZeroTurnAround.png]]
9 +[[image:AddZeroTurnAround.png]]
10 10  
11 11  * Download the Jrebel Eclipse Integration and perhaps the JRebel Eclipse Debugger Integration from install new Software
12 12  
13 -[[image:attach:InstallSoftware.png]]
13 +[[image:InstallSoftware.png]]
14 14  
15 15  * Make sure you have checked the JRebel Plugin in WOLips if you download the newest version.
16 16  
17 -[[image:attach:UpdateWOLipsWithJRebel.png]]
17 +[[image:UpdateWOLipsWithJRebel.png]]
18 18  
19 19  * Restart Eclipse. You will now have a Jrebel preference item in your eclipse preferences and JRebel is ready for use with your projects.
20 20  
... ... @@ -30,7 +30,7 @@
30 30  
31 31  Select the tab, and check the check boxes to enable JRebel Agent and (eventually) Enable debug logging.
32 32  
33 -[[image:attach:EnableJRebel.png]]
33 +[[image:EnableJRebel.png]]
34 34  
35 35  Start you project from the Run Configuration.
36 36  
... ... @@ -37,17 +37,19 @@
37 37  Suddenly, you will get messages about jrebel being loaded, and some extra information about what settings are available as extra arguments.
38 38  
39 39  {{info}}
40 +
40 40  If you get out of memory error with respect to "Perm Gen space", just allocate more Perm Gen memory in command line launch args in your launch configuration. For example:
41 41  
42 --XX:MaxPermSize=384m
43 +\-XX:MaxPermSize=384m
44 +
43 43  {{/info}}
44 44  
45 45  Start changing your java code on the fly: watch and start saving time.
46 46  
47 -[[image:attach:JRebelWOLipsLog.png]]
49 +[[image:JRebelWOLipsLog.png]]
48 48  
49 -* Profit! (for the europeans: Extra Time Off!)
51 +* Profit (for the europeans: Extra Time Off)
50 50  
51 51  == More information ==
52 52  
53 -[[Old screencast from David Avendasora about using JRebel with Eclipse 3.4>>url:http://www.wocommunity.org/podcasts/WOJavaRebel_Setup.mov||shape="rect"]].
55 +[[Old screencast from David Avendasora about using JRebel with Eclipse 3.4>>http://www.wocommunity.org/podcasts/WOJavaRebel_Setup.mov]].