Changes for page Using JRebel (previously called JavaRebel) with WOLips
Last modified by Markus Ruggiero on 2017/02/20 21:13
To version 32.1
edited by Kieran Kelleher
on 2010/09/07 19:39
on 2010/09/07 19:39
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -How-tos - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ruggiero1 +XWiki.kieran - Tags
-
... ... @@ -1,1 +1,0 @@ 1 -devtools - Content
-
... ... @@ -1,25 +1,32 @@ 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 (previously called javarebel is a tool from [[ZeroTurnaround>>http://www.zeroturnaround.com]]). 2 2 3 - ===Alsotakea lookat: [[UsingDCEVMandHotswapforrapidturnaround>>doc:WOL.Home.WOLips.UsingDCEVMandHotswapforrapidturnaround.WebHome||shape="rect"]] ===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 +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 + 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 + 5 5 === How to install and use JRebel === 6 6 7 -* Get a free 30-day license, a[[opensource developer license>>url:http://sales.zeroturnaround.com||shape="rect"]](Get JRebel forfreesection)or a paid licensefrom [[ZeroTurnaround>>url:http://www.zeroturnaround.com||shape="rect"]]8 -* Put thelicense file (jrebel.lic) intoadirectorynamed.jrebelinyourhomedirectory.( ~~/.jrebel/jrebel.lic )9 -* G et the JRebel plugin. Go toEclipse->Preferences->AvailableSoftwareSites, add [[http:~~/~~/www.zeroturnaround.com/update-site/>>url:http://www.zeroturnaround.com/update-site/||shape="rect"]]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/]] 10 10 11 -[[image: attach:AddZeroTurnAround.png]]15 +[[image:AddZeroTurnAround.png]] 12 12 13 13 * Download the Jrebel Eclipse Integration and perhaps the JRebel Eclipse Debugger Integration from install new Software 14 14 15 -[[image: attach:InstallSoftware.png]]19 +[[image:InstallSoftware.png]] 16 16 17 17 * Make sure you have checked the JRebel Plugin in WOLips if you download the newest version. 18 18 19 -[[image: attach:UpdateWOLipsWithJRebel.png]]23 +[[image:UpdateWOLipsWithJRebel.png]] 20 20 21 -* Restart Eclipse. You will now have a Jrebel preference item in your eclipse preferences and JRebel is ready for use with your projects. 25 +* Restart Eclipse. You will now have a Jrebel preference item in your eclipse preferences 26 +* Goto to Preferences->JRebel, and point the Path to jrebel.jar to the jrebel.jar location from action 2. 22 22 28 +[[image:PathToJRebel.png]] 29 + 23 23 You have now installed and setup the stuff that WOLips needs to know about the location of JRebel.jar. 24 24 25 25 == How do you use it? == ... ... @@ -32,7 +32,7 @@ 32 32 33 33 Select the tab, and check the check boxes to enable JRebel Agent and (eventually) Enable debug logging. 34 34 35 -[[image: attach:EnableJRebel.png]]42 +[[image:EnableJRebel.png]] 36 36 37 37 Start you project from the Run Configuration. 38 38 ... ... @@ -39,17 +39,16 @@ 39 39 Suddenly, you will get messages about jrebel being loaded, and some extra information about what settings are available as extra arguments. 40 40 41 41 {{info}} 49 + 42 42 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: 43 43 44 44 -XX:MaxPermSize=384m 53 + 54 + 45 45 {{/info}} 46 46 47 47 Start changing your java code on the fly: watch and start saving time. 48 48 49 -[[image: attach:JRebelWOlipsLog.png]]59 +[[image:JRebelWOLipsLog.png]] 50 50 51 -* Profit! (for the europeans: Extra Time Off!) 52 - 53 -== More information == 54 - 55 -[[Old screencast from David Avendasora about using JRebel with Eclipse 3.4>>url:http://www.wocommunity.org/podcasts/WOJavaRebel_Setup.mov||shape="rect"]]. 61 +* Profit (for the europeans: Extra Time Off)
- AddZeroTurnAround.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -108.0 KB - Content
- EnableJRebel.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -133.7 KB - Content
- InstallSoftware.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -104.9 KB - Content
- JRebelWOlipsLog.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -49.3 KB - Content
- PathToJRebel.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.9 KB - Content
- UpdateWOLipsWithJRebel.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -118.7 KB - Content