Making it easier for cygwin users to run OpenDaylight using run.sh. 29/6629/1
authorSrini Seetharaman <srini.seetharaman@gmail.com>
Wed, 30 Apr 2014 23:47:37 +0000 (16:47 -0700)
committerSrini Seetharaman <srini.seetharaman@gmail.com>
Wed, 30 Apr 2014 23:47:37 +0000 (16:47 -0700)
With this change, the users will only have to add the following line
to their .bashrc to make it run: export CLASSPATH=".;lib/*;"

Change-Id: Icc1576ea1c46568d43f11d90eebecb06c74db184
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
opendaylight/distribution/opendaylight/src/main/resources/run.sh

index 21245a0..dba996a 100755 (executable)
@@ -161,7 +161,7 @@ fi
 ########################################
 # Now add to classpath the OSGi JAR
 ########################################
-CLASSPATH="${basedir}"/lib/org.eclipse.osgi-3.8.1.v20120830-144521.jar
+CLASSPATH=${CLASSPATH}:${basedir}/lib/org.eclipse.osgi-3.8.1.v20120830-144521.jar
 FWCLASSPATH=file:"${basedir}"/lib/org.eclipse.osgi-3.8.1.v20120830-144521.jar
 
 ########################################

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.