I posted this earlier to an internal list, and it was suggested that it might be of help to some if I reposted here. Apologies in advance if its not....

How to setup Eclipse + Subclipse + JavaHL for use with svn+ssh repositories via macports on OSX
-------------------------------------------------------------------------------------------------------------------------------------

After again breaking a build for the umpteenth time by forgetting to svn add a directory, I finally knuckled down and got subclipse working with javaHL for svn+ssh authentication. In hopes it's of use to anyone else, here's how:

1.Install subclipse + java HL

Help -> Software Updates and Add-ons -> Available Software -> Add Site -> "http://subclipse.tigris.org/update_1.4.x";

Select Subclipse + Java HL Adaptor

2. Install JavaHL bindings via macports:

sudo port install subversion-javahlbindings

3.  Add the jar it builds to your default classpath:

mkdir -p ~/Libaray/Java/Extensions
ln -s /opt/local/share/java/svn-javahl.jar ~/Library/Java/Extensions/ svn-javahl.jar

4. Restart, configure Eclipse:

Preferences -> Team SVN ->  Client -> "Java HL (JNI) Not Available"

Yes, it still says "Not Available", but this is eclipse, and it's lying

Window -> Open Perspective -> SVN Repositories

New -> Repository Location -> "svn+ssh://blahblah.repository.url

4.  Check out projects directly from subclipse

File -> Import -> SVN -> Checkout Projects from SVN -> existing repository-> svn+ssh://blahblah.repository.url



~ Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to