JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi
+
+########################
+# Experimental code
+########################
+
+if [ "$OS" = "Windows_NT" ] ; then
+ pathSepChar=";"
+else
+ pathSepChar=":"
+fi
+echo Path Sep Char set to ${pathSepChar}
+
+########################
+########################
+
+
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
fi
# add fop.jar, fop-sandbox and fop-hyph.jar, which reside in $FOP_HOME/build
-LOCALCLASSPATH=${FOP_HOME}/build/fop.jar:${FOP_HOME}/build/fop-sandbox.jar:${FOP_HOME}/build/fop-hyph.jar:$LOCALCLASSPATH
+LOCALCLASSPATH=${FOP_HOME}/build/fop.jar${pathSepChar}${FOP_HOME}/build/fop-sandbox.jar${pathSepChar}${FOP_HOME}/build/fop-hyph.jar${pathSepChar}$LOCALCLASSPATH
# add in the dependency .jar files, which reside in $FOP_HOME/lib
DIRLIBS=${FOP_HOME}/lib/*.jar
if [ -z "$LOCALCLASSPATH" ] ; then
LOCALCLASSPATH=$i
else
- LOCALCLASSPATH="$i":$LOCALCLASSPATH
+ LOCALCLASSPATH="$i"${pathSepChar}$LOCALCLASSPATH
fi
fi
done
# add in user-defined hyphenation JARs
if [ -n "$FOP_HYPHENATION_PATH" ] ; then
- LOCALCLASSPATH=$LOCALCLASSPATH:$FOP_HYPHENATION_PATH
+ LOCALCLASSPATH=$LOCALCLASSPATH${pathSepChar}$FOP_HYPHENATION_PATH
fi
# For Cygwin, switch paths to appropriate format before running java
fi
CYGHOME=`cygpath --$format "$HOME"`
fi
+echo local class path: $LOCALCLASSPATH
# Show script help if requested
if $show_help ; then