# Instructions for building P4Eclipse in a Linux environment ## Prerequisites: * Java 6 or higher * Ant 1.6 or higher * Maven 3.x * Eclipse Luna (4.4) ## To build 1. Environment variables (change according to your own environment): $ export MVN=`which mvn` $ export VER=2013.2 $ export CHANGE=123456 2. Run the script to build an updatesite $ cd src/3.7/build/p4eclipse_parent $ ./build_linux.sh updatesite Location of the build artifact: src/3.7/build/p4eclipse_updatesite/target/p4eclipse-updatesite-***-site.zip 3. Unarchive the new updatesite zip file onto an empty directory (i.e. p4-eclipse-plugin): $ unzip p4eclipse-updatesite-***-site.zip 4. Install from the new updatesite directory: * Eclipse -> Help -> Install New Software * click "Add..." * click "Local..." * browse to the new unarchive p4eclipse updatesite directory * ...and follow the normal installation procedure... *** Note that Eclipse Luna (4.4) is required for this p4-eclipse plugin target build install