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

From version 22.1
edited by Kieran Kelleher
on 2011/07/25 20:06
Change comment: There is no comment for this version
To version 25.1
edited by Johan Henselmans
on 2010/02/12 09:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kieran
1 +XWiki.johanhenselmans
Content
... ... @@ -1,16 +1,16 @@
1 -JRebel is a tool from [[ZeroTurnaround>>http://www.zeroturnaround.com]]).
1 +JRebel (previously called javarebel is a tool from [[ZeroTurnaround>>http://www.zeroturnaround.com]]).
2 2  
3 -It is a java library that makes it possible to change java code while running a project in WOLips and see the results without having to restart. It is a great timesaver.
3 +It is a java library that makes it possible to change java code while running a project in WOLips and see the results without having to restart. It is a great timesaver.
4 4  
5 5  If you are running Eclipse 3.4, you should have a look at the screencast from David Avendasora at [[http://www.wocommunity.org/podcasts/WOJavaRebel_Setup.mov]].
6 6  
7 -If you are running WOLips 3.5.1 or bigger, you are lucky: the JRebel plugin is included in the current WOLips for there versions.
7 +If you are running WOLips 3.5.1 or bigger, you are lucky: the JRebel plugin is included in the current WOLips for there versions.
8 8  
9 9  === How to install and use JRebel ===
10 10  
11 -* Get a free 30-day license, a open source developer license or a paid license from [[ZeroTurnaround>>http://www.zeroturnaround.com]]
12 -* Put the license file (jrebel.lic) into a directory named .jrebel in your home directory. ( /.jrebel/jrebel.lic )
13 -* Get the JRebel plugin. Go to Eclipse->Preferences->Available Software Sites, add [[http://www.zeroturnaround.com/update-site/]]
11 +* Download you version from [[ZeroTurnaround>>http://www.zeroturnaround.com]]
12 +* put the jrebel.jar somewhere nice, so you can use it in whatever project you are working
13 +* Go to WOLips->Preferences->Install Software, add http:~/~/www.zeroturnaround.com/update-site/
14 14  
15 15  [[image:AddZeroTurnAround.png]]
16 16  
... ... @@ -17,13 +17,17 @@
17 17  * Download the Jrebel Eclipse Integration and perhaps the JRebel Eclipse Debugger Integration from install new Software
18 18  
19 19  [[image:InstallSoftware.png]]
20 +
20 20  
21 21  * Make sure you have checked the JRebel Plugin in WOLips if you download the newest version.
22 22  
23 23  [[image:UpdateWOLipsWithJRebel.png]]
24 24  
25 -* Restart Eclipse. You will now have a Jrebel preference item in your eclipse preferences and JRebel is ready for use with your projects.
26 +* Restart Eclipse. You will now have a Jrebel preference item in your eclipse preferences
27 +* Goto to Preferences->JRebel, and point the Path to jrebel.jar to the jrebel.jar location from action 2.
26 26  
29 +[[image:PathToJRebel.png]]
30 +
27 27  You have now installed and setup the stuff that WOLips needs to know about the location of JRebel.jar.
28 28  
29 29  == How do you use it? ==
... ... @@ -30,28 +30,20 @@
30 30  
31 31  Well that has become very simple since the inclusion of Quinton Dolan's JRebel plugin in WOLips.
32 32  
33 -For a project in which want to use jrebel to change java code while running, go to the run configuration of the project, under the contextual menu Run As->Run Configurations.
37 +For a project in which want to use jrebel to change java code while running, go to the run configuration of the project, under the contextual menu Run As->Run Configurations.
34 34  
35 35  In the Run Configuration of a WOApplication you will notice an extra Tab, called JRebel.
36 36  
37 -Select the tab, and check the check boxes to enable JRebel Agent and (eventually) Enable debug logging.
41 +Select the tab, and check the check boxes to enable JRebel Agent and (eventually) Enable debug logging.
38 38  
39 39  [[image:EnableJRebel.png]]
40 40  
41 -Start you project from the Run Configuration.
45 +Start you project from the Run Configuration.
42 42  
43 -Suddenly, you will get messages about jrebel being loaded, and some extra information about what settings are available as extra arguments.
47 +Suddenly, you will get messages about jrebel being loaded, and some extra information about what settings are available as extra arguments.
44 44  
45 -{{info}}
49 +Start changing your java code on the fly: watch and start saving time.
46 46  
47 -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:
48 -
49 -\-XX:MaxPermSize=384m
50 -
51 -{{/info}}
52 -
53 -Start changing your java code on the fly: watch and start saving time.
54 -
55 55  [[image:JRebelWOLipsLog.png]]
56 56  
57 -* Profit (for the europeans: Extra Time Off)
53 +Profit! (for the europeans: Extra Time Off!)