Kamis, 03 Februari 2011

Validate Svn Integration With Eclipse

Q: I am using Eclipse on Windows and I'd like to check out SVN project with Eclipse. How the hell do I do it?

MenuCheck Out SVN In Eclipse On Windows
Create An SVN Project On An SVN Server
Download And Install TortoiseSVN
Check Out SVN Project Via TortoiseSVN
Validate SVN Integration With Eclipse
As I mentioned earlier you may not need TortoiseSVN at all if your Eclipse works fine with SVN. Read on to make sure this is the case. Even if this is not the case we've got a fall back solution for you.

To use SVN with Eclipse simply download and install Subclipse. Refer to any web tutorial on this topic if you haven't done so. Now when you use Subclipse to check out code from your SVN repository you may get the following error dialog:

Eclipse Subclipse SVN Operation Failure Dialog

If you do don't panic. This dialog is saying Subclipse fails to create ssh tunnel. A quick solution is simply change SVN interface from 'JavaHL (JNI)' to 'SVNKit (Pure Java) SVNKit' in Window -> Preferences -> Team -> SVN -> SVN Interface as follows:

Eclipse Subclipse SVN Interface Dialog

Once you made the change you should be able to use SVN operations smoothly within Eclipse! If you still don't for some reason, and I've heard cases like that, fall back on using TortoiseSVN to manage SVN checking out, updating, and committing changes to your code in Windows Explorer and use Eclipse to edit your code! It'll still be efficient once you get the hang of it.

◀ Check Out SVN Project Via TortoiseSVN

0 komentar:

 
support by: infomediaku.com