-
Notifications
You must be signed in to change notification settings - Fork 0
Prepare Development Environment in Ubuntu 12.04
-
Install Git in Ubuntu: http://help.github.com/linux-set-up-git/
-
Change fonts in GUI: Run GUI by command "git gui", If you do not like ugly font apply following
sudo aptitude install tk8.5
sudo update-alternatives --config wish
and pick /usr/bin/wish8.5
1 Follow instructions from, chapter "Usage": https://github.com/flexiondotorg/oab-java6 after Update repository
sudo apt-get update
2 Install Sun Java6 JDK from Synaptic Package Manager.
sudo apt-get install sun-java6-jdk sun-java6-source sun-java6-plugin
3 Add to ~/.profile (execute the same, to define these variables in terminal)
export JAVA_HOME=/usr/lib/jvm/java-6-sun
export PATH=$PATH:$JAVA_HOME
make sure that ls -la /etc/alternatives/java
point to your Sun 6 JDK "/usr/lib/jvm/java-6-sun/jre/bin/java". If you have openJDK please expect problems with compilation in Eclispe for "artifact com.sun.tools 1.5.0 is missing"
It will be necessary for compilation
- Install
sudo apt-get install maven
- add to ~/.profile
export PATH=/usr/share/maven/bin:$PATH
It will be necessary for downloading main Checkstyle project and preparing patch.
sudo apt-get install mercurial
It will be necessary for downloading Checkstyle Eclipse plugin Checkstyle-cs project and preparing patch.
sudo apt-get install cvs
- Unpack Eclipse and launch
- So if you do not like the new look of Eclipse, select Window -> Preferences -> General -> Appearance and select “Classic” as the theme. And restart afterwards. Afterwards Eclipse should very similar to what you are used to.
- Install eclipse-cs plugin from http://eclipse-cs.sourceforge.net/downloads.html it is necessary for our plugin compilation, this will help you testing, ... .
- Install EclEmma plugin for Eclipse to check that UTs are completely cover code.
- "Open Terminal" for Nautilus file manager. You will be able to open terminal from any folder(see it in context menu) in file-manager.
sudo apt-get install nautilus-open-terminal
- File and Folder compare tool - Meld
sudo apt-get install meld