Re: FWD: XSLT and Cocoon
Brought to you by:
ovidiu
From: Ovidiu P. <ov...@xe...> - 2001-05-09 07:02:31
|
It may happen that Cocoon 1.8.2 is again broken with respect to the command line processing. XSLT-process is invoking Cocoon1 through its command line interface, so if this is broken, XSLT-process will also fail. I only tested with a modified version of 1.8 which contains some fixes for the command line interface. I submitted these fixes to the Cocoon developers, and last time I checked they were integrated in 1.8.1. One way you can check to see whether this is the problem is to run in the command line: java org.apache.cocoon.Cocoon -p <your/property/file> file.xml [output-filename] You should get the result of the processing to the standard output, or into the specified output filename, if one is specified. Let me know what's the result. Regards, Ovidiu On Mon, 7 May 2001 17:49:07 -0400, "Jeremy Cowgar" <jc...@bh...> wrote: > Thank you for the reply. I have added a pointer to my cocoon.properties file > (the same one I use during web development) and recieve the same error, > Could not process file, most probably Cocoon1 could not be found! ... > > You asked for the bsh message window, and after looking at it, I am not sure > that it is getting to that point. Here it is: > > * bsh * > cd c:/DEVELOP/jboss_jetty/jetty/webapps/knopro5/ > javaw -classpath > c:/DEVELOP/emacs/site/jde/java/bsh-commands;c:/DEVELOP/emacs/site/jde/java/l > ib/jde.jar;c:/DEVELOP/emacs/site/jde/java/lib/bsh.jar;c:/develop/emacs/site/ > java/xslt.jar;c:/DEVELOP/jboss_jetty/jetty/webapps/knopro5;c:/DEVELOP/jboss_ > jetty/jetty/lib/cocoon.jar;c:/DEVELOP/jboss_jetty/jetty/lib/xalan_1_2_D02.ja > r;c:/DEVELOP/jboss_jetty/jetty/lib/xerces_1_2.jar;c:/DEVELOP/jboss_jetty/jet > ty/lib/servlet_2_2.jar;c:/DEVELOP/emacs/site/xslt/xslt.jar;c:/DEVELOP/jde-2. > 2.6/java/lib/jde.jar;c:/DEVELOP/jde-2.2.6/java/lib/bsh.jar;c:/DEVELOP/jboss_ > jetty/jetty/lib/bsf.jar;c:/DEVELOP/jboss_jetty/jetty/lib/bsfengines.jar;c:/D > EVELOP/jboss_jetty/jetty/lib/fesi.jar;c:/DEVELOP/jboss_jetty/jetty/lib/fop_0 > _15_0.jar;c:/DEVELOP/jboss_jetty/jetty/lib/sax-bugfix.jar;c:/DEVELOP/jboss_j > etty/jetty/lib/stylebook-1.0-b2.jar;c:/DEVELOP/jboss_jetty/jetty/lib/turbine > -pool.jar;c:/DEVELOP/jboss_jetty/jetty/lib/w3c.jar;c:/DEVELOP/jboss_jetty/je > tty/lib/xml.jar;c:/DEVELOP/jboss_jetty/jetty/lib/xt.jar;c:/DEVELOP/jdk/lib/t > ools.jar bsh.Interpreter > > BeanShell 1.0 beta - by Pat Niemeyer (pa...@pa...) > bsh % > > Here are a few more screens that might be revelant. > > *Messages* > Loading xslt-process... > Loading xslt-process...done > Fontifying category_select.xml... > Fontifying category_select.xml... (regexps......................) > Loading xslt-process...done > Updating speedbar to: c:/DEVELOP/jboss_jetty/jetty/webapps/knopro5/... > Updating speedbar to: c:/DEVELOP/jboss_jetty/jetty/webapps/knopro5/...done > Starting the BeanShell. Please wait... > (No files need saving) > Could not process file, most probably Cocoon1 could not be found! > > *xslt output* and *xslt messages* are both blank. > > Here is my classpath (don't laugh at the size, I added everything I could > think of to make this work, I was then going to start removing items until > things broke :) > > SET > CLASSPATH=.;C:\DEVELOP\jboss_jetty\jetty\lib\cocoon.jar;C:\DEVELOP\jboss_jet > ty\jetty\lib\xalan_1_2_D02.jar;C:\DEVELOP\jboss_jetty\jetty\lib\xerces_1_2.j > ar;C:\DEVELOP\jboss_jetty\jetty\lib\servlet_2_2.jar;C:\DEVELOP\emacs\site\xs > lt\xslt.jar;C:\DEVELOP\jde-2.2.6\java\lib\jde.jar;C:\DEVELOP\jde-2.2.6\java\ > lib\bsh.jar;C:\DEVELOP\jboss_jetty\jetty\lib\bsf.jar;C:\DEVELOP\jboss_jetty\ > jetty\lib\bsfengines.jar;C:\DEVELOP\jboss_jetty\jetty\lib\fesi.jar;C:\DEVELO > P\jboss_jetty\jetty\lib\fop_0_15_0.jar;C:\DEVELOP\jboss_jetty\jetty\lib\sax- > bugfix.jar;C:\DEVELOP\jboss_jetty\jetty\lib\stylebook-1.0-b2.jar;C:\DEVELOP\ > jboss_jetty\jetty\lib\turbine-pool.jar;C:\DEVELOP\jboss_jetty\jetty\lib\w3c. > jar;C:\DEVELOP\jboss_jetty\jetty\lib\xml.jar;C:\DEVELOP\jboss_jetty\jetty\li > b\xt.jar;C:\DEVELOP\jdk\lib\tools.jar > > Thank you for your help and let me know if there is anything else you > need....Oh, just a quick reminder on my system. I have JDE up and running > (correctly this time), I can process XML files great using Xalan but not > Cocoon1 ... Thanks! > > Jeremy - jc...@bh... --- Work > je...@co... --- Home > > |