Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 39428 invoked from network); 20 Oct 2004 19:01:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Oct 2004 19:01:38 -0000 Received: (qmail 82005 invoked by uid 500); 20 Oct 2004 19:01:38 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 81968 invoked by uid 500); 20 Oct 2004 19:01:37 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 81957 invoked by uid 99); 20 Oct 2004 19:01:37 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_NJABL_PROXY X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [192.115.104.18] (HELO sa4.bezeqint.net) (192.115.104.18) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 20 Oct 2004 12:01:35 -0700 Received: from localhost (unknown [127.0.0.1]) by sa4.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP id 7DFDE33EBB for ; Wed, 20 Oct 2004 20:58:51 +0200 (IST) Received: from sa4.bezeqint.net ([127.0.0.1]) by localhost (sa4 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32596-02 for ; Wed, 20 Oct 2004 20:58:50 +0200 (IST) Received: from [127.0.0.1] (unknown [212.179.233.23]) by sa4.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP for ; Wed, 20 Oct 2004 20:58:50 +0200 (IST) Message-ID: <4176B672.1070608@users.sourceforge.net> Date: Wed, 20 Oct 2004 21:03:14 +0200 From: Arik Kfir User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Forrest Mailing List Subject: Using a project XML catalog without an absolute path Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at bezeqint.net X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello everybody, I'm new to this mailing list, so I'll state right off - I'm a new user, very much enjoying the use of Apache Forrest - a great product! Can't wait until it becomes the de-facto standard for sites in the Apache foundation... What I'm trying to do is define a new DTD+stylesheet for my site. The problem: everything works fine, but *only* when I enter the FULL PATH of the XML catalog (my xcat file) in the CatalogManager.properties file, under the "classes" directory. This, however, creates a problem, since we have multiple developers working on this site, and each one uses a different location for the site on his hard-drive, and even worst - we can't move it to the server without modifying it (since the site location on the server is different that on the workstations). Is there a way to specify a relative location for the xcat file, rather than an absolute path? I've read somewhere that I can use the cocoon.xconf file, but in the comments there it also states that it must receive an absolute path name, which is no good as well. For reference, here are the steps I've performed (followed by the great how-to in the Forrest site for adding a new "downloads" DTD): 1. Created a catalog.xcat file under src/documentation/resources/schema with a new public-id and Uri for my new DTD 2. Put my DTD under src/documentation/resources/schema/dtd directory 3. Put my stylesheet under src/documentation/resources/stylesheets I'd very much appreciate any help for the professionals here since I'm pretty much stuck, and my next step is to patch Forrest, which is something I'd like to avoid... Thanks! Arik.