Hi Justin,

Thanks for sharing your approach, it is indeed easier for developers not
wanting to use the Ant build script. In any case, it allows to do everything
from within Eclipse, without an additional SVN client.

I've updated the Wiki page to add steps for your approach while keeping
information for those wanting to use Ant or preferring to rely of
TortoiseSVN.

Best regards,
Jerome  

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Justin C. 
> van Vorst
> Envoyé : mardi 14 novembre 2006 18:26
> À : [email protected]
> Objet : Using Subclipse to contribute/use trunk code
> 
> 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