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. So you can find, that 'org/apache/log/Priority' belongs
to logkit-20020529.jar.
I don't have window but for the tests I used:
for i in `ls *.jar`; do echo "~~~~~~~~~$i~~~~~~~~"; jar tvf $i | grep KEYWORD; done
to find where needed classes are located.
I've also patched the sources, writing the needed classes inside the Manifest file _*IN ONLY ONE ROW*_ and not in that ugly way + updating all the filenames, etc (and yes, I've also commented out a lot of stuff from sitemap - cocoon.xconf), but I was stopped when I got the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletConfig
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
at java.lang.Class.getConstructor0(Class.java:1762)
at java.lang.Class.newInstance0(Class.java:276)
at java.lang.Class.newInstance(Class.java:259)
at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:102)
at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:158)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:270)
at org.apache.cocoon.Main.main(Main.java:397)
ps I've included in CLASSPATH servlet.jar from common/lib directory of tomcat..........
I'm frustrated, I don't know what to do. Luckily I have a lot of spare time, on the train when I come back from Milan, ... any other suggestion? Where can I find this class or whatever it can't find?
bye
as
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>