aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshlee Young <ashlee@onosfw.com>2015-10-23 07:30:04 -0700
committerAshlee Young <ashlee@onosfw.com>2015-10-23 07:30:53 -0700
commit5bad7a578160f5a5f5dbb4c2812f612420c9361c (patch)
treea2707c6cac846c90bbbf889c486c05202a3c35b0
parent8d4aa0004791ff5290bae63a20839063338ea651 (diff)
Sets build environments for manually building components without the
build.sh script Change-Id: I19e83961fdeaa8705d6ed4676ecc08d2c4216b7c Signed-off-by: Ashlee Young <ashlee@onosfw.com>
-rwxr-xr-xsetenv.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/setenv.sh b/setenv.sh
new file mode 100755
index 00000000..7900ebaf
--- /dev/null
+++ b/setenv.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+export GERRITROOT="$(pwd)"
+export ANT_HOME=$GERRITROOT/framework/src/ant/apache-ant-1.9.6
+export M2_HOME=$GERRITROOT/framework/build/maven
+export M2=$M2_HOME/bin
+export PATH=$PATH:$ANT_HOME/bin:$M2