Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 34448 invoked from network); 10 Sep 2008 07:50:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 07:50:26 -0000 Received: (qmail 38221 invoked by uid 500); 10 Sep 2008 07:50:24 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 38162 invoked by uid 500); 10 Sep 2008 07:50:24 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 38151 invoked by uid 99); 10 Sep 2008 07:50:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 00:50:23 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [129.67.1.167] (HELO relay7.mail.ox.ac.uk) (129.67.1.167) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 07:49:24 +0000 Received: from smtp2.mail.ox.ac.uk ([163.1.2.205]) by relay7.mail.ox.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KdKSY-0007iD-OU for dev@forrest.apache.org; Wed, 10 Sep 2008 08:49:54 +0100 Received: from host81-154-102-237.range81-154.btcentralplus.com ([81.154.102.237] helo=[192.168.1.74]) by smtp2.mail.ox.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KdKSY-0008Mn-7C for dev@forrest.apache.org; Wed, 10 Sep 2008 08:49:54 +0100 Message-ID: <48C77DBF.3020509@apache.org> Date: Wed, 10 Sep 2008 08:56:47 +0100 From: Ross Gardler User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: Resolving relative locations in the locationmap References: <48C6F7FC.7090704@apache.org> <1221000803.17371.25.camel@cartman> In-Reply-To: <1221000803.17371.25.camel@cartman> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Oxford-Username: oucs0040 X-Virus-Checked: Checked by ClamAV on apache.org Thorsten Scherler wrote: > On Tue, 2008-09-09 at 23:26 +0100, Ross Gardler wrote: ... >> So, my question is. How can I get the location of the locationmap file >> itself for use in these relative matches? > > Have you tried {properties:home}../../../subsiteA ? > > IMO should work as I understand your mail. AhHa - of course, that should work. Sometimes new eyes are what is needed, I spent hours trying to find a way of getting it out of our Java code last night. This is the first time in years I broke my rule of "if struggling for more than 30 mins to figure it out, ask on the list" - good to have it reaffirmed occasionally. Thanks Thorsten. Ross