From user-return-738-apmail-forrest-user-archive=forrest.apache.org@forrest.apache.org Wed Oct 13 14:04:56 2004 Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 68666 invoked from network); 13 Oct 2004 14:04:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Oct 2004 14:04:56 -0000 Received: (qmail 58027 invoked by uid 500); 13 Oct 2004 14:04:49 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 57916 invoked by uid 500); 13 Oct 2004 14:04:47 -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 57842 invoked by uid 99); 13 Oct 2004 14:04:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [213.237.180.162] (HELO dkexchange01.dk.telmore.net) (213.237.180.162) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 13 Oct 2004 07:04:46 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: SV: A couple of deployment questions Date: Wed, 13 Oct 2004 16:04:41 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: A couple of deployment questions Thread-Index: AcSvlaeKwCpbidqfS0y07j2IM4pe2ABl22qA From: "Claus Bech Rasmussen - TELMORE" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > 1. I've moved the xdocs directory to src/xdocs and changed=20 > > forrest.properties accordingly. In the deployed webapp, Forrest=20 > > understands that it should now look in src/xdocs, but the directory=20 > > isn't packaged in the .war file, so no documents are deployed. > > >=20 > Try setting project.content-dir=3Dsrc IIRC, it uses that=20 > property to determine what to package. No luck. I find it strange since I explicitly provide the project.xdocs-dir property... =20 > > 2. When deploying as a webapp the paths are of course all prefixed=20 > > with the webapp name, so instead of requesting=20 > /mydir/myfile.html I'm=20 > > now requesting /myapp/mydir/myfile.xml. This seems to break images=20 > > when creating PDFs? They work fine in HTML but aren't=20 > included in the=20 > > PDFs. I should mention that I also moved the image directory, but=20 > > again, forrest.properties knows this. >=20 > Where are your images located and how are you referencing=20 > them? Our PDF generation can't find images as well as HTML files. This is our structure and how the files reference images. Our-xdocs-dir/ | +-- images/ | | | +-- image.gif | +-- doc1.xml (reference: images/image.gif) | +-- subdir/ | | | +-- doc1.1.xml (reference: ../images/image.gif) | | ... ...