Re: Using Cocoon from the command

2002-11-13 Thread Alessio Sangalli
boris wrote: I had to put all this jar to the classpath to work with the cli, without java-errors. (win98) I think a sidemap with minimum components don't needs all that stuff to compile correctly. A good trick to look into the jar-files is to rename it to a zip-file and to open it with winzip.

Re: Using Cocoon from the command

2002-11-13 Thread Bertrand Delacretaz
On Wednesday 13 November 2002 15:17, Alessio Sangalli wrote: >. . . > I promise when I'll get this working I will prepare a website with the > instructions, >. . . Cool! A nice place to do this is the CocoonDocoWiki at http://outerthought.net/wiki/Wiki.jsp, you're much welcome to create a page

Re: Using Cocoon from the command

2002-11-13 Thread Alessio Sangalli
much simplier using Cocoon from the command line than through a server bye! thank you as - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/in

Re: Using Cocoon from the command

2002-11-13 Thread Darren Petrie
Looks like you need to add more to your classpath. (logkit-20020529.jar) Try adding all the .jar files in cocoon/WEB-INF/lib to your classpath. Darren On Tuesday, November 12, 2002, at 07:08 PM, Alessio Sangalli wrote: unfortunately, I've talked too early. Althought an invocation with a simpl

Re: Using Cocoon from the command

2002-11-12 Thread Alessio Sangalli
Darren Petrie wrote: unfortunately, I've talked too early. Althought an invocation with a simple --help parameter works, when I try it with all the arguments: $ java org.apache.cocoon.Main -c ~/java/jakarta-tomcat-4.1.12-LE-jdk14/webapps -d ~/lirc/cocoon/ -w /tmp/ -l ~/lirc/cocoon-log.txt -u

Re: Using Cocoon from the command

2002-11-12 Thread Alessio Sangalli
Darren Petrie wrote: [alesan@valkyrie lib]$ pwd /home/alesan/java/jakarta-tomcat-4.1.12-LE-jdk14/webapps/cocoon/WEB-INF/lib [alesan@valkyrie lib]$ export CLASSPATH=".:/home/alesan/java/cocoon-2.0. .3/build/cocoon/classes/:avalon-framework-20020627.jar:avalon-excalibur-vm1 4-20020705.jar" [ales

Re: Using Cocoon from the command

2002-11-12 Thread Darren Petrie
I too had the same problems getting the command line to run. The jar files needed can be found in webapps/cocoon/WEB-INF/lib. I ran the class files from the build directory cocoon-2.0.3/build/cocoon/classes. The following worked for me. Maybe this will help. cd /usr/local/jakarta-tomcat-

Re: Using Cocoon from the command

2002-11-11 Thread Alessio Sangalli
Ugo Cei wrote: It SHOULD be possible to just unpack the cocoon.war file from the binary distribution, cd to WEB-INF/lib and run: java -jar cocoon-2.0.3.jar However, the Manifest in the JAR is wrong, since it contains: Class-Path: avalon-framework-4.1.2.jar avalon-excalibur-4.1.jar batik-

Re: Using Cocoon from the command

2002-11-11 Thread Ugo Cei
Sylvain Wallez wrote: Alessio Sangalli wrote: I tried to unzip the jar, to go directly inside and call Main.class from its own dir, etc what can I do...! You should set the correct class path ;-) Look at the stack trace : one of the first classes loaded from Avalon by Cocoon can't be found. Th

Re: Using Cocoon from the command

2002-11-10 Thread Sylvain Wallez
Alessio Sangalli wrote: $ java -classpath . org.apache.cocoon.Main Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/CascadingException at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.jav

Using Cocoon from the command

2002-11-10 Thread Alessio Sangalli
For the first time in a year and a half I want to use Cocoon from the command line. I will be able to use the results in an environment without Cocoon or Java and I won't have to generate every time the data etc etc. I use Sun's JDK 1.4.1_01, Cocoon 2.0.3, on Linux. I've found at least of info