There are lack documentation how to install Subeclipse in Aptana Studio 3. Also, I recommend you choose subeclipse than subversive because I have bad experience with subversive in Aptana before. So, here are steps you need to make SVN in Aptana :
1. Install lib-svn Java in Ubuntu
1 | sudo apt-get install libsvn-java |
2. Edit AptanaStudio3.ini to load JAVA-LIB SVN
I have Aptana Studio installed in “/opt”. Then you should add “-Djava.library.path=/usr/lib/jni” into the file. Eg:
1 2 3 4 5 6 7 8 9 10 11 12 | –launcher.XXMaxPermSize 256m –launcher.defaultAction openFile -vmargs -Xms40m -Xmx512m -Djava.library.path=/usr/lib/jni -Declipse.p2.unsignedPolicy=allow -Declipse.log.size.max=10000 -Declipse.log.backup.max=5 -Djava.awt.headless=true |
Restart your Aptana.
3. Install Subeclipse
Go to Help -> Install New Software and add this :
1 | http://subclipse.tigris.org/update_1.4.x |
Then you will see the packages that will installed. Install Subeclipse and Subeclipse SVN Kit.
4. Edit vim “~/.subversion/config” to prevent GNOME KEYRING SVN Pop-up
Un-comment “password-stores =” and just left with no value.
1 | password-stores = |
5. Restart your Aptana and start checkout SVN
Note:
Problem may happen if you not follow this steps :
1 | install javahl subeclipse |
Still got error ? It said “JNI JAVAHL not available” in Window -> Preferences -> SVN ?
1. You should un-install all subeclipse packages in Eclipse.
2. Re-install eclipse without “JAVAHL Client” and install SVNKIT
You should have subeclipse works now! 🙂