runtests.bat
Hi guys, I have a very simple problem and appreciate any help ! I get the error messages below when I try to run the script runtests.bat under 0.20.5rc . With the 0.20.4 version there is no problem !! am I missing something ? do I have to modify the script ? Thanks... D:\fop-0.20.5rc\docs\examplesruntests Fop Test D:\j2sdk1.4.1\lib\tools.jar;D:\j2sdk1.4.1\lib\classes.zip;..\..\lib\ant-1.5.1.jar;..\..\lib\xml-apis.jar;..\..\lib\xercesImpl-2.2.1.jar;..\..\lib\xala n-2.4.1.jar;..\..\lib\batik.jar;..\..\lib\avalon-framework-cvs-20020806.jar;..\..\lib\bsf.jar;..\..\lib\jimi-1.0.jar;..\..\lib\jai_core.jar;..\..\lib\ jai_codec.jar;..\..\build\fop.jar Starting Tests ... ECHO is off. Exception in thread main java.lang.NoClassDefFoundError: and - D:\fop-0.20.5rc\docs\examplesant Buildfile: build.xml init: BUILD FAILED Total time: 1 second D:\fop-0.20.5rc\docs\examples\build.xml:13: taskdef class org.apache.fop.tools.anttasks.Fop cannot be found - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: runtests.bat
Make sure you build FOP before running runtests.bat. It looks like fop.jar isn't available. On 14.01.2003 16:16:37 Toufic Nehme wrote: Hi guys, I have a very simple problem and appreciate any help ! I get the error messages below when I try to run the script runtests.bat under 0.20.5rc . With the 0.20.4 version there is no problem !! am I missing something ? do I have to modify the script ? Thanks... D:\fop-0.20.5rc\docs\examplesruntests Fop Test D:\j2sdk1.4.1\lib\tools.jar;D:\j2sdk1.4.1\lib\classes.zip;..\..\lib\ant-1.5.1.jar;..\..\lib\xml-apis.jar;..\..\lib\xercesImpl-2.2.1.jar;..\..\lib\xala n-2.4.1.jar;..\..\lib\batik.jar;..\..\lib\avalon-framework-cvs-20020806.jar;..\..\lib\bsf.jar;..\..\lib\jimi-1.0.jar;..\..\lib\jai_core.jar;..\..\lib\ jai_codec.jar;..\..\build\fop.jar Starting Tests ... ECHO is off. Exception in thread main java.lang.NoClassDefFoundError: and - D:\fop-0.20.5rc\docs\examplesant Buildfile: build.xml init: BUILD FAILED Total time: 1 second D:\fop-0.20.5rc\docs\examples\build.xml:13: taskdef class org.apache.fop.tools.anttasks.Fop cannot be found Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: runtests.bat
ok, perfect ! the original classpath was causing the problem. Thanks for the hint J.Pietschmann wrote: Toufic Nehme wrote: Exception in thread main java.lang.NoClassDefFoundError: and Looks like there is a Documents and settings in the Windows CLASSPATH. Edit the file and plase double quotes () around %LOCALCLASSPATH%;%CLASSPATH% in line 25: %LOCALCLASSPATH%;%CLASSPATH% Alternatively, clear the CLASSPATH environment variable. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]