I hava come accross the same question.
And now I have fixed it:
in fop,change the (Line 189):
LCP_TEMP=`cygpath --path --unix $LOCALCLASSPATH`
to:
#LCP_TEMP=`cygpath --path --unix $LOCALCLASSPATH`
LCP_TEMP=`cygpath --path --$format $LOCALCLASSPATH`
LCP_TEMP=`cygpath --path --unix
I figured it out. The start of the classpath (LOCALCLASSPATH) is:
C:/ava/fop-2007/lib...
It should be
C:/cygwin/java/fop-2007/lib...
Changing the text at the start of the path fixes the error. In my case, I
inserted these lines in the script:
echo $LOCALCLASSPATH
exit 0
then ran:
Actually, a better fix just involves setting the CLASSPATH variable in
bash. So:
1. First put the following in the script, almost at the end of the file,
just before the line that starts with fop_exec_command:
echo $LOCALCLASSPATH
exit 0
If you don't write access to the script, copy it
I had an unexpected problem running fop at work today. I run fop under
windows using cygwin and have used it for months with no problem. I
installed something else on cygwin, and when I ran FOP today (using the
bash script), I got a no classfound error.
Exception in thread main