Skip to content

Building eProxy

aneveux edited this page Oct 23, 2012 · 5 revisions

#Building eProxy

Understanding the technologies used for eProxy

eProxy is composed of an Eclipse plugin, but also of a feature and a p2 repository in order to ease its delivery and installation. It can be built directly under Eclipse, but it also uses Tycho, so you can build it through Maven. In this page, I'll explain how to build it using Maven.

Installing Maven

  1. Download Maven > 3 from this website: http://maven.apache.org/download.html
  2. Unzip it somewhere on your filesystem,
  3. Create a new environment variable called M2_HOME and add it to your path: export M2_HOME=/path/to/maven and export PATH=$PATH:$M2_HOME/bin

Cloning the git repository

  1. Ensure git is properly installed on your environment, if not, please install it from here: http://git-scm.com/
  2. Clone the github repository with this command: git clone git://github.com/aneveux/eProxy.git

Building with Maven

  1. Navigate through the root of the project (basically, if you followed this document from the beginning, it's just cd ./eProxy
  2. Use this command: mvn clean package
  3. Wait for Tycho to build the project, you should see something like this:
	[INFO] ------------------------------------------------------------------------
	[INFO] Reactor Summary:
	[INFO] 
	[INFO] eProxy ............................................ SUCCESS [2.793s]
	[INFO] com.github.aneveux.eproxy ......................... SUCCESS [0.187s]
	[INFO] com.github.aneveux.eproxy.feature ................. SUCCESS [0.001s]
	[INFO] com.github.aneveux.eproxy.repository .............. SUCCESS [0.000s]
	[INFO] ------------------------------------------------------------------------
	[INFO] BUILD SUCCESS
	[INFO] ------------------------------------------------------------------------
  1. You'll find the result of the build in the target/ folder of the repository project: cf ./eproxy-repository/target/ the repository folder you'll find in it actually contains the p2 repository you can use in order to install eProxy in Eclipse from the Install menu.

Deploying eProxy's repository

Simply copy the repository folder mentioned previously on an accessible location, and use it in Eclipse in order to install eProxy.

Clone this wiki locally