Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 51484 invoked by uid 500); 27 Jan 2002 23:23:22 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 51473 invoked from network); 27 Jan 2002 23:23:22 -0000 From: "Laurent CAPRANI" To: Subject: bug? extra-classpath under Windows Date: Sun, 27 Jan 2002 18:27:23 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: ------ extra-classpath C:\extra-classes ------ 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: ------ extra-classpath extra-classes ------ A directory is apparently added to the classpath: (cocoon.log) DEBUG (2002-01-27) 17:55.48:739 [cocoon ] (Unknown-URI) Unknown-thread/Cocoon: Classpath = ...;%tomcat%\webapps\cocoon\WEB-INF\extra-classes 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 problem: http://www.mail-archive.com/cocoon-users@xml.apache.org/msg05691.html --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: