I tried following the instructions from the wiki, but found them a bit less
straight-forward than they could be.  The following are the steps I used to get
Restlet code into Eclipse 3.2:

Setting up SVN:
1) Install Subclipse using the instructions at
http://subclipse.tigris.org/install.html
2) In Eclipse, open the SVN Repository Exploring perspective
3) In the "SVN Repository tab, right-click and select "New" > "Repository
Location..." from the context menu
4) In the dialog enter the following in the URL field:
http://restlet.tigris.org/svn/restlet/trunk
5) When prompted, enter a username of "guest" with a blank password (or some
other cred if you have them)

Getting restlet into Eclipse:
1) In the SVN Repository tab, open the "library" directory
2) Select all the sub-directories (you can be more selective if you know which
to pull down)
3) Right-click the highlighted directories and select "Checkout..."
4) Select "Next" if you want to specifiy a location for the project files, or
"Finish" to use the default workspace.
5) Sit back and wait for everything to be downloaded
6) Repeat steps for the subdirectories of "module"

Misc:
- To clean up the Package Explorer tab, go to Window > Working Sets > Edit.. and
create a new working set containing the projects you want to see (e.g. the stuff
you're working on). Then use Window > Working Sets > [name of set] to show just
those projects.
- If you have a project that is using Restlets (as I am) then simply add the
necessary projects (e.g. "org.restlet") to Project > Properties > Java Build
Path > Projects
- If you want to get the latest changes, highlight the restlet projects,
right-click and select Replace With > Latest From Repository


That's it.  Now you contribute (assuming you have the rights) within Eclipse, as
well as simply develop on top of the latest restlet code. 

Reply via email to