aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorAshlee Young <ashlee@wildernessvoice.com>2015-11-05 13:43:13 -0800
committerAshlee Young <ashlee@wildernessvoice.com>2015-11-05 13:43:13 -0800
commit431e0d438516bf1118f4451d35808ac12dd82150 (patch)
tree710bfa261d844cdf82a56f2ce623f3ebe35e5b85 /build.sh
parentc7cbe191f120a34595218621306c3db11c4f4721 (diff)
Backed out DefaultFlowClassifier.java DefaultPortPair.java due to build
errors. Change-Id: Ibac1cbd606f31da59107b5f537b6e5b612c5804b Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index 8d571a50..1674f2bb 100755
--- a/build.sh
+++ b/build.sh
@@ -31,12 +31,6 @@ MAVEN_VERSION=3.3.3
KARAF_VERSION=4.0.2
##### End Settings #####
-##### Patches #####
-PATCHES=$GERRITROOT/framework/patches
-BUILDS=$GERRITROOT/framework/build # Pretty much the same as BUILDROOT.
-PATCH_PATH_1=onos/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/sfc #patches should be labled as #PATCH_PATH_n beginning with 1.
-##### End Patches #####
-
##### Set build environment #####
export GERRITROOT="$(pwd)"
export BUILDROOT=$GERRITROOT/framework/build
@@ -54,6 +48,12 @@ export ONOS_GROUP=root
export ONOS_CELL=sdnds-tw
##### End Set build environment #####
+##### Patches #####
+PATCHES=$GERRITROOT/framework/patches
+BUILDS=$GERRITROOT/framework/build # Pretty much the same as BUILDROOT.
+PATCH_PATH_1=onos/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/sfc #patches should be labled as #PATCH_PATH_n beginning with 1.
+##### End Patches #####
+
##### Ask Function #####
ask()
{
@@ -230,11 +230,13 @@ buildONOS()
if ask "Would you like us to re-run building ONOS?"; then
if ask "Would you like to apply ONOSFW unique patches?"; then
mkdir -p $BUILDROOT/$PATCH_PATH_1 # Begin applying patches
- cp $PATCHES/$PATCH_PATH_1/* $BUILDROOT/$PATCH_PATH_1/
+ cp -v $PATCHES/$PATCH_PATH_1/* $BUILDROOT/$PATCH_PATH_1/
fi
cd $ONOSROOT
mvn clean install
fi
+
+
fi
}
##### End Build ONOS #####