cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent CAPRANI" <>
Subject bug? extra-classpath under Windows
Date Sun, 27 Jan 2002 23:27:58 GMT
The extra-classpath feature in web.xml does not seem to work under Windows.

1. Absolute path
Cocoon uses a non portable method when guessing whether the path is absolute
or not.

If I add the following to web.xml:
This path is not recognized as absolute. The resulting classpath is
(according to cocoon.log) "%tomcat%\webapps\cocoon\WEB-INF\C:\extra-classes"

Putting an extra \ in front of the path makes turns it to
"\C:\extra-classes" (which is not a valid path).

2. Relative path
Relative path do not seem to work either.
When I put this in web.xml:
A directory is apparently added to the classpath:
DEBUG   (2002-01-27) 17:55.48:739   [cocoon  ] (Unknown-URI)
Unknown-thread/Cocoon: Classpath =

But my component.class is found by Cocoon under
%tomcat%\webapps\cocoon\WEB-INF\classes, but not under ...\extra-classes.

By browsing the archives, it seems some people allready experienced the

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message