- Added onos update logging and timestamp. 55/2755/1
authorAshlee Young <ashlee@onosfw.com>
Fri, 23 Oct 2015 15:42:37 +0000 (08:42 -0700)
committerAshlee Young <ashlee@onosfw.com>
Fri, 23 Oct 2015 15:42:37 +0000 (08:42 -0700)
- Took java check out of test mode by updating version to actual

Change-Id: Ic4507968fd203e6c84b5866e9abb07ca5a89d4f6
Signed-off-by: Ashlee Young <ashlee@onosfw.com>
build.sh

index f4731d4..ad03a6d 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -20,7 +20,7 @@
 ##### Settings #####
 VERSION=1.0.0
 AUTHOR="Ashlee Young"
-MODIFIED="October 23, 2015"
+MODIFIED="October 18, 2015"
 GERRITURL="git clone ssh://im2bz2pee@gerrit.opnfv.org:29418/onosfw"
 ONOSURL="https://github.com/opennetworkinglab/onos"
 SURICATAURL="https://github.com/inliniac/suricata"
@@ -28,7 +28,7 @@ ONOSGIT="git clone --recursive $ONOSURL"
 GERRITROOT="$(pwd)"
 ONOSROOT=$GERRITROOT/framework/src/onos/
 BUILDROOT=$GERRITROOT/framework/build
-JAVA_VERSION=1.9
+JAVA_VERSION=1.8
 ANT_VERSION=1.9.6
 MAVEN_VERSION=3.3.3
 ##### End Settings #####
@@ -89,6 +89,9 @@ updateONOS()
         cd $BUILDROOT
         git clone $ONOSURL onosproject
         rsync -arvP --delete --exclude=.git --exclude=.gitignore --exclude=.gitreview onosproject/ ../src/onos/
+        cd onosproject
+        git log > ../onos_update.$(date +%s)
+        cd ../
         rm -rf onosproject
         cd $GERRITROOT
     fi