Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 14472 invoked from network); 3 Feb 2011 12:20:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 12:20:49 -0000 Received: (qmail 14547 invoked by uid 500); 3 Feb 2011 12:20:49 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 14498 invoked by uid 500); 3 Feb 2011 12:20:47 -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 14491 invoked by uid 99); 3 Feb 2011 12:20:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:20:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.111.4.25] (HELO out1.smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 12:20:40 +0000 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 6F5E92093F for ; Thu, 3 Feb 2011 07:20:18 -0500 (EST) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute3.internal (MEProxy); Thu, 03 Feb 2011 07:20:18 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; s=smtpout; bh=DEezkgNsRj3r54YT+WPNJriPK6Y=; b=dB66D6MPnhr/oE5Rzjc40CZYcZ7CJZXbiqjhPy5iIdIRe7ReUhzd6/RQBOQgpz4+LICyY4LoIleRp9H01tDGoOROB8HnH/rY5bDywwc/QfncamUCONOUOgrjbllq6mQKh75dCpHjPvTGmzdb4pTO+aau6NQW06OQMmQ4MhK6W4Y= X-Sasl-enc: TCTpPG1vdhhXhJiK/8JIr6gVXDq2hwii4fGdeoxo97lJ 1296735617 Received: from localhost (125-168-41-216.wbroadband.net.au [125.168.41.216]) by mail.messagingengine.com (Postfix) with ESMTPSA id 58301401C52 for ; Thu, 3 Feb 2011 07:20:17 -0500 (EST) Date: Thu, 3 Feb 2011 23:20:14 +1100 From: David Crossley To: dev@forrest.apache.org Subject: site-author and project.content-dir FOR-1048 Message-ID: <20110203122014.GH16802@igg.local> References: <20110201034707.GA8197@igg.local> <20110201113951.GD8197@igg.local> <20110203012503.GD16802@igg.local> <20110203111416.GG16802@igg.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110203111416.GG16802@igg.local> User-Agent: Mutt/1.4.2.3i David Crossley wrote: > > However, the "site-author" war does not work. > > The reason is that it cannot find the project locationmap > and even if it did there would be no content. > > It seems that the packing up of the WAR file does not like > the layout of our "site-author" space. In its forrest.properties > we configure "project.content-dir=." and it seems that anything > using that property does not get packed into the war file, > e.g. > project.xdocs-dir=${project.content-dir}/content/xdocs > project.skinconf=${project.content-dir}/skinconf.xml > and content/locationmap.xml > ... none of those get packed into the war file and so > are not available at runtime. > > Moving that stuff into a sub-directory, and setting the > property "project.content-dir" does fix the problem. This is something that we missed putting on the roadmap: https://issues.apache.org/jira/browse/FOR-1048 "project.content-dir is getting ignored if "." in forrest war" -David