Changes between Version 4 and Version 5 of RepQuickStart
- Timestamp:
- Oct 7, 2010, 5:32:58 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RepQuickStart
v4 v5 7 7 * Java 6.0 SDK http://java.sun.com/javase/downloads/index.jsp 8 8 * eclipse http://eclipse.org/downloads/ 9 * REP example code: eclipse project 'REP' 10 11 The project makes use of the Java REST framework 'restlet' by http://www.restlet.org/. The required libraries are part of the eclipse project. 9 * Java REST framework 'restlet' by http://www.restlet.org/ 10 * REP example code: eclipse project 'JavaREP' which can be found as an attachment on the bottom of this page 12 11 13 12 == run the Example REP Project == 14 13 In order to run the code samples please follow the steps below: 15 1. Import the eclipse project into your eclipse workspace16 2. fix missing class path errors if required (e.g. if eclipse could not find a Java Sdk)17 3. the project structure should look like this:14 1. extract the zip archive and import the eclipse project into your eclipse workspace 15 2. fix missing class path errors (add the restlet libraries 'org.restlet.jar' and 'org.restlet.ext.xml.jar' to the project classpath 16 3. after that the project structure should look like this: 18 17 19 18 [[Image(projectStructure.png)]] 20 19 21 4. run uk.ac.surrey.sensei.rep.test.REPTest.java 20 4. run uk.ac.surrey.sensei.rep.REPTest.java 21 22 [[Image(runTest.png)]] 22 23 23 24 The REPTest class provides a couple of test cases. Please uncomment the sections you want to have tested.