8080286: use path separator setting consistently in Nashorn project properties
authormhaupt
Wed, 13 May 2015 15:41:46 +0200
changeset 30515 d76d66d416ed
parent 30514 25583ec3b3a1
child 30516 756ee9b7136e
8080286: use path separator setting consistently in Nashorn project properties Summary: replace uses of ":" with platform-independent path separator property Reviewed-by: hannesw, sundar
nashorn/make/build.xml
nashorn/make/project.properties
--- a/nashorn/make/build.xml	Wed May 13 12:45:14 2015 +0530
+++ b/nashorn/make/build.xml	Wed May 13 15:41:46 2015 +0200
@@ -188,7 +188,7 @@
     <mkdir dir="${fxshell.classes.dir}"/>
     <javac srcdir="${fxshell.dir}"
            destdir="${fxshell.classes.dir}"
-           classpath="${dist.jar}:${javac.classpath}"
+           classpath="${dist.jar}${path.separator}${javac.classpath}"
            debug="${javac.debug}"
            encoding="${javac.encoding}"
            includeantruntime="false">
--- a/nashorn/make/project.properties	Wed May 13 12:45:14 2015 +0530
+++ b/nashorn/make/project.properties	Wed May 13 15:41:46 2015 +0200
@@ -105,8 +105,8 @@
 javac.classpath=\
     ${build.classes.dir}
 javac.test.classpath=\
-    ${build.classes.dir}:\
-    ${build.test.classes.dir}:\
+    ${build.classes.dir}${path.separator}\
+    ${build.test.classes.dir}${path.separator}\
     ${file.reference.testng.jar}
 
 meta.inf.dir=${src.dir}/META-INF
@@ -259,8 +259,8 @@
 testjfx-test-sys-prop.test.fork.jvm.options=${run.test.jvmargs.main} -Xmx${run.test.xmx} -cp ${testjfx.run.test.classpath}
 
 run.test.classpath=\
-    ${file.reference.testng.jar}:\
-    ${nashorn.internal.tests.jar}:\
+    ${file.reference.testng.jar}${path.separator}\
+    ${nashorn.internal.tests.jar}${path.separator}\
     ${nashorn.api.tests.jar}
 
 src.dir=src/jdk.scripting.nashorn/share/classes