Few changes to CORD GUI for integration:
* Make listen port configurable
* Portability fix so stop.me works on ubuntu
* Force compiling with Java 1.8
Change-Id: I997da28194613631ee287a8679880b313d51addd
diff --git a/apps/demo/cord-gui/src/scripts/stop.me b/apps/demo/cord-gui/src/scripts/stop.me
index 331d9bb..3e34aa7 100644
--- a/apps/demo/cord-gui/src/scripts/stop.me
+++ b/apps/demo/cord-gui/src/scripts/stop.me
@@ -1,6 +1,6 @@
# script to stop the cord gui server
#
-PID=$(ps | grep jetty-runner | grep -v grep | cut -c1-5)
+PID=$(ps -ef | grep jetty-runner | grep -v grep | awk '{print $2}')
if [ -z "$PID" ]
then
echo jetty-runner not running
@@ -9,7 +9,7 @@
kill $PID
sleep 1
-PID=$(ps | grep jetty-runner | grep -v grep | cut -c1-5)
+PID=$(ps -ef | grep jetty-runner | grep -v grep | awk '{print $2}')
if [ ! -z "$PID" ]
then
echo jetty-runner still running ?