Friday, September 05, 2008

Php + Grannymade Ganymede Packages (based on Eclipse 3.4) on Ubuntu

Download eclipse distro that you need
http://www.eclipse.org/downloads/

In my case i choose eclipse classic on amd64/x64
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4-200806172000/eclipse-SDK-3.4-linux-gtk-x86_64.tar.gz

and i unziped it in /opt

Install phpeclipse for it
http://www.phpeclipse.de/wiki/Installation

Install subclipse
http://subclipse.tigris.org/install.html

I have modified in eclipse.ini the max memory used by jvm to be 2048M
-Xmx2048m

And added this for native subversion library used by subclipse
-Djava.library.path=/usr/lib/jni


And is better to use the JAVAHL - JNI interface for subclipse
otherwise you can have troubles with the pure java implementation (locks and other things)

install Java bindings for Subversion

$sudo apt-get install libsvn-java

and from Eclipse
Window -> Preferences ->Team -> SVN
Be shure to be JAVAHL - JNI interface for subclipse selected



Here is my final setup


Next is to install egit

http://git.or.cz/gitwiki/EclipsePlugin

http://cho.hapgoods.com/wordpress/?p=159

No comments: