Guys,
I found the problem leading to this error message
when running merlin.sh within the Cygwin shell
environment on Windows platforms:
Exception in thread "main" java.util.zip.ZipException: The system cannot find th
e path specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
Basically this is due to the fact that the -jar switch
does not have the right argument which should be the
Windows form of the path to the jar file. So I corrected
this if Cygwin is used by adding a line to the if $cygwin
block here in the script:
if $cygwin; then
echo Detected cygwin shell ...
JAVA_HOME=`cygpath --windows "$JAVA_HOME"`
MERLIN_HOME=`cygpath --windows "$MERLIN_HOME"`
MERLIN_BOOTSTRAP_JAR=$MERLIN_HOME'\'bin'\'lib'\'merlin-cli-3.2.jar
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
fi
The line I added was:
MERLIN_BOOTSTRAP_JAR=$MERLIN_HOME'\'bin'\'lib'\'merlin-cli-3.2.jar
you probably can see this from the committed update diff
from the cvs mail sent out anyway. But let me know if
this fixes the cygwin problem with this script or not. It
did so for me.
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]