-
Notifications
You must be signed in to change notification settings - Fork 0
BuildingRaplaWithEclipse
mgeuer edited this page Aug 20, 2015
·
4 revisions
Steps to build rapla in Eclipse (4.2 or higher recommended)
This build instructions refer to the latest version of rapla 1.8.x
- right click in the "perspective" and choose new/repository location url:
https://github.com/rapla/rapla
- open repository and right-click on trunk
- select "checkout"
- click finish, wait for svn and continue with 2.
- You can run/debug Rapla with the run button: select java-application and select the main-class
org.rapla.bootstrap.RaplaStandaloneLoader.
- You can test Rapla by selecting junit and a test from the test-src directory.
- select
org.rapla.bootstrap.RaplaServerLoader - Right click and choose
run asand thenrun configurations - Click on the new icon
- Choose run or debug to start the server.
- Browse to http://localhost:8051 to check if the server is running
- The applet and webstart doesnt work here (you need to perform 4 to build a binary-distribution)
- If you want to test the client start a second procces
org.rapla.bootstrap.RaplaClientLoader - You can stop the server by switching to the debug perspective and terminating the process (server and client)
- For debugging choose debug as instead of run as
- Switch to the Java Perspective, right click on the build.xml and select
Run As/Ant Build(The second one)
- Click on the Refresh-Tab and select
Refresh resource upon completionandthe project containing the selected resource - Click on JRE-Tab and choose run in same JRE as Workspace
- Now you can press Run to start the build. You find the version in the dist/rapla-binary-{version} folder.
- Eclipse will create a shortcut to the build process in the toolbar (The green arrow with toolbox). So you can just click
Rapla build.xmlto start the build a second time.
- See BuildGuide for more information regarding the build process
- Build a distribution so so you can test the applet and webstart mode.