cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: missing classes ?
Date Thu, 30 May 2002 13:53:31 GMT
> From: Sebastien SACARD [mailto:sebastien.sacard@kelkoo.com]
> 
> Hi,
> 
> I'm trying to run cocoon from the command line, like this :
> /usr/java/jdk/bin/java -classpath ../WEB-INF/lib/cocoon-2.0.2.jar
> org.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work
-l/work/cocoon.log
> -uINFO index.html
> 
> and it appears that classes are missing fromt the packages extracted
> from the cocoon.war I just downloaded (cocoon-2.0.2) . So I added them
> in the classpath :
> ../WEB-INF/lib/avalon-excalibur-scratchpad-
> 20020212.jar:/opt/public/jserv/libexec/servlet-2.0-plus.jar
> (for excalibur/xml/Parser and javax classes)
> 
> questions :
>  - why do I need to add them in the classpath whereas the packages are
> defined in the context directory (-c attribute ?). It seems that
adding
> in the context is not enough. According to the Main class code, Cocoon
> load all the classes present in the context directory.

Main does *not* load any classes. These lines in the run.bat are for
reason:

set CP=%JAVA_HOME%\lib\tools.jar;%COCOON_WORK%
for %%i in (%COCOON_LIB%\core\*.jar) do call appendcp.bat %%i
for %%i in (%COCOON_LIB%\optional\*.jar) do call appendcp.bat %%i
for %%i in (.\build\cocoon\*.jar) do call appendcp.bat %%i


> - I can't find this class in any package :
> org/apache/xml/resolver/tools/CatalogResolver. Can someone tell me in
> which package  I can access it ?

xml-cocoon203\lib\optional\resolver-20020130.jar

Vadim


> Thanks
> 
> --
> #############################################################
> S├ębastien Sacard
> Kelkoo.com - R&D team
> Phone: +(33) 4 76 29 73 51
> Email: Sebastien.Sacard@kelkoo.com
> Aim : KelkooXIII
> #############################################################
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message