Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 67342 invoked from network); 11 Apr 2005 08:14:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Apr 2005 08:14:45 -0000 Received: (qmail 4959 invoked by uid 500); 11 Apr 2005 08:14:44 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 4851 invoked by uid 500); 11 Apr 2005 08:14:43 -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 4778 invoked by uid 99); 11 Apr 2005 08:14:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp-vbr7.xs4all.nl (HELO smtp-vbr7.xs4all.nl) (194.109.24.27) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 11 Apr 2005 01:14:41 -0700 Received: from [172.31.1.13] (213-84-106-175.adsl.xs4all.nl [213.84.106.175]) (authenticated bits=0) by smtp-vbr7.xs4all.nl (8.12.11/8.12.11) with ESMTP id j3B8Eb3Z081341 for ; Mon, 11 Apr 2005 10:14:37 +0200 (CEST) (envelope-from pvdhoef@springsite.com) Message-ID: <425A31EF.2070406@springsite.com> Date: Mon, 11 Apr 2005 10:14:39 +0200 From: Peter van de Hoef User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: user@forrest.apache.org Subject: Re: Building site with Ant from Eclipse 3.0 1? References: <425984AD.1030201@gmail.com> In-Reply-To: <425984AD.1030201@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I am using the following ant task to run Forrest from Eclipse, which works fine for me. This task assumes Forrest 0.7 which has not been released yet, but a snapshot version can be downloaded from: http://svn.apache.org/snapshots/forrest. For Forrest 0.6, the directory layout is a little bit different but its quite easy to adapt this script for 0.6. Regards, Peter van de Hoef Audun V. Nes wrote: > Hi > > I am trying to get Forrest to work from within Eclipse 3.0.1 but > are having a few problems and wanted to hear if anyone has succesfully > set that up. Based on the chapter "Invoking Forrest from Ant" in > the Forrest docmentation, I have created the following Ant build file: > > > > > > > > > Building Forrest website > > > > The enviroment variable FORREST_HOME is correctly set in my system > enviroment, > and I can build my site by running "forrest" from command line without > problems. > > I was not sure where to copy xml-commons-resolver-1.1.jar, but I though > eclipse/plugins/org.apache.ant_1.6.2/lib was the right location. > I also added xml-commons-resolver-1.1.jar to the Ant classpath in > Eclipse. > > But when I run the build.xml file from within Eclipse I get the > following problem: > > Buildfile: C:\app\eclipse\workspace\CCCP\forrest\build.xml > init-props: > [echo] Loading project specific properties from > C:\app\eclipse\workspace\CCCP\forrest\forrest.properties > [echo] Loading user specific properties from C:\Documents and > Settings\far2fish\forrest.properties > [echo] Loading default properties from > C:\app\forrest\src\core\context\default-forrest.properties > [mkdir] Created dir: C:\app\eclipse\workspace\CCCP\forrest\build\tmp > echo-settings: > check-skin: > fetch-skins-descriptors: > fetch-skin: > unpack-skins: > init-skins: > init: > -prepare-classpath: > check-contentdir: > examine-proj: > validation-props: > validate-xdocs: > BUILD FAILED: C:\app\forrest\src\core\targets\validate.xml:143: Parser > org.apache.crimson.parser.XMLReaderImpl doesn't recognize feature > http://apache.org/xml/features/validation/dynamic > Total time: 1 second > > best regards > Audun > >