-
Notifications
You must be signed in to change notification settings - Fork 1
Building eProxy
aneveux edited this page Oct 23, 2012
·
5 revisions
#Building 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.
- Download Maven > 3 from this website: http://maven.apache.org/download.html
- Unzip it somewhere on your filesystem,
- Create a new environment variable called
M2_HOMEand add it to your path:export M2_HOME=/path/to/mavenandexport PATH=$PATH:$M2_HOME/bin
- Ensure git is properly installed on your environment, if not, please install it from here: http://git-scm.com/
- Clone the github repository with this command:
git clone git://github.com/aneveux/eProxy.git
- Navigate through the root of the project (basically, if you followed this document from the beginning, it's just
cd ./eProxy - Use this command:
mvn clean package - 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] ------------------------------------------------------------------------
- You'll find the result of the build in the
target/folder of the repository project:cf ./eproxy-repository/target/therepositoryfolder you'll find in it actually contains the p2 repository you can use in order to install eProxy in Eclipse from the Install menu.
Simply copy the repository folder mentioned previously on an accessible location, and use it in Eclipse in order to install eProxy.