Skip to content
pja35 edited this page Oct 23, 2012 · 39 revisions

Everything should work on all platforms but we only give step by step instructions for Ubuntu.

Setting up your programming environment

  • Sign-up with Github
  • Install the Git client from Debian packages: sudo apt-get install git
  • Install Java7 from Debian packages: sudo apt-get install openjdk-7-source openjdk-7-source
  • Correct Java7 installation: sudo apt-get --reinstall install tzdata-java
  • Install Eclipse with Git from Debian packages: sudo apt-get install eclipse-egit
  • Install C# from Debian packages: sudo apt-get install mono-gmcs
  • Install C++ from Debian packages: sudo apt-get install g++
  • Install C++/Boost libraries from Debian packages: sudo apt-get install libboost-all-dev

Import the project

  • Eclipse > Window > Open perspective > Java
  • Eclipse > Import project > Project from Git > Clone, URI: git://github.com/librecoop/GOOL.git and Import existing project.
  • Eclipse > GOOL > src > Build path > Use as source
  • Eclipse > GOOL > Build path > Configure Build Path... > Add Library > JRE System: /usr/lib/jvm/java-7-openjdk-xxxx
  • Eclipse > GOOL > Build path > Configure Build Path... > Add Library > JUnit > Junit4
  • Eclipse > GOOL > Build path > Configure Build Path... > Add ext. JARs: /usr/lib/jvm/java-7-openjdk-xxxx/lib/tools.jar
  • Eclipse > GOOL > lib, Select all > Build path > Add to build path
  • Eclipse > gool.parser.classes > Export... Java > JAR file: GOOL/gool.jar

Setting up paths to external compilers

  • ...

Test the project

  • Eclipse > gool.test > Run as... JUnit Test
  • Hopefully this should not yet any error, nor red text in the console.

Clone this wiki locally