You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2004/01/19 12:00:03 UTC

[WIKI-UPDATE] EndorsedLibsProblem Mon Jan 19 12:00:02 2004

Page: http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem , version: 16 on Mon Jan 19 10:38:42 2004 by ReinhardPoetz

+ You can also specify a servlet parameter pointing to a file containing explicit classpath information:
+ {{{...
+ <web-app>
+  ...
+     <init-param>
+       <param-name>paranoid-classpath</param-name>
+       <param-value>user.classpath</param-value>
+     </init-param>    
+  ...
+ </web-app>}}}
+ 
+ The file user.classpath may look like this (before 2.1.4 or the 2004/01/20 ''context:/'' 
+ and ''#'' are not supported):
+ {{{
+ #lib-dir: all JAR and ZIP files within this directory are added to
+ #         the classpath
+ lib-dir:context:/WEB-INF/lib
+ #class-dir: all Java classes in this directory (or any subdirectory) are added to the classpath
+ class-dir:context:/WEB-INF/classes
+ #this entry is considered as URL
+ file:/C:\\lib\core\javacApi.jar
+ #this entry is an URL too but uses the context pseudo protocol which is resolved as the root 
+ #directory of the servlet context
+ context:/WEB-INF/lib/javacApi.jar
+ }}}