From dev-return-31374-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Tue Aug 03 12:22:20 2010 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 79174 invoked from network); 3 Aug 2010 12:22:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Aug 2010 12:22:19 -0000 Received: (qmail 80973 invoked by uid 500); 3 Aug 2010 12:22:19 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 80849 invoked by uid 500); 3 Aug 2010 12:22:18 -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 80841 invoked by uid 99); 3 Aug 2010 12:22:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 12:22:17 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of williamstw@gmail.com designates 209.85.213.176 as permitted sender) Received: from [209.85.213.176] (HELO mail-yx0-f176.google.com) (209.85.213.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 12:22:10 +0000 Received: by yxm34 with SMTP id 34so1816342yxm.21 for ; Tue, 03 Aug 2010 05:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ml3M2f7eyH55JNE5GeUfr3umyqZeTwkqhgT4wv82TPQ=; b=Bj00RBG/lNaCjwLbsfJwVhpsl/ui+Mi2/MKNFmd4uQlxMfogh9HORW8GJfJKiB4BkD m39uXUUr9pJQmhdSGnRo3rrdmDR20sLX5E3omqF0V6oHXGDCv+eTVghqO8+Wp/SvnXoo Y5Y5KWs2zEUQbtjn/qaajQkIkUMFsXSHkH5As= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jmdJe3hmVr1Phmg15JJBOVfXd0r3nhjddojAuMO2DVCvAzxP5+yCkcE1aIlW8hMnhc Kcjbym4v4lnrmX5KluUWUeqEmDUEiYnxknpefzo7IkcYVuVA2W8z0lnWPklod6xibIEw YWm0wMppI/4Kg1/mrL59mQ0mA43yDIx8VyBpw= MIME-Version: 1.0 Received: by 10.151.109.13 with SMTP id l13mr2759152ybm.205.1280838109513; Tue, 03 Aug 2010 05:21:49 -0700 (PDT) Received: by 10.150.186.19 with HTTP; Tue, 3 Aug 2010 05:21:49 -0700 (PDT) In-Reply-To: References: Date: Tue, 3 Aug 2010 08:21:49 -0400 Message-ID: Subject: Re: unable to run forrest From: Tim Williams To: dev@forrest.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Aug 3, 2010 at 8:16 AM, Vicent Mas wrote: > Hi list, > > after =A0a long time (more than one year) without working =A0with compute= rs due to > several problems I'm trying to come back to my normal activity with compu= ters. > One of the first things I'm trying to do is to update my dispatcher websi= te > (www.vitables.org) but I'm unable to do it. I've done a fresh trunk check= out > which built with no problems (just a couple of deprecation warnings): > > rachael:/opt/forrest_trunk/main# ./build.sh > Using classpath: > ../lib/endorsed/jakarta-bcel-20040329.jar:../lib/endorsed/jakarta-regexp-= 1.5.jar:../lib/endorsed/xalan-2.7.1.jar:../lib/endorsed/xercesImpl-2.9.1.ja= r:../lib/endorsed/xml-apis-1.3.04.jar > Buildfile: build.xml > > init: > Created dir: /opt/forrest_trunk/build > > =A0 =A0 =A0-------------------------------------------------------------- > > =A0 =A0 =A0Using Apache Ant version 1.7.1 compiled on September 26 2008 > =A0 =A0 =A0Build file /opt/forrest_trunk/main/build.xml > =A0 =A0 =A0Use 'build.[sh|bat] -projecthelp' to see other options. > =A0 =A0 =A0Build system home /opt/forrest_trunk/tools/ant > =A0 =A0 =A0Build number 0 > =A0 =A0 =A0Project Name Forrest build file > =A0 =A0 =A0Java Version 1.6 > =A0 =A0 =A0Timestamp 201008031357 > =A0 =A0 =A0This is: apache-forrest 0.9-dev > > =A0 =A0 =A0-------------------------------------------------------------- > > > compile: > Created dir: /opt/forrest_trunk/build/classes > Compiling 33 source files to /opt/forrest_trunk/build/classes > /opt/forrest_trunk/main/java/org/apache/forrest/log/ForrestLogTargetFacto= ry.java:22: > warning: [deprecation] org.apache.cocoon.util.log.CocoonTargetFactory > in org.apache.cocoon.util.log has been deprecated > import org.apache.cocoon.util.log.CocoonTargetFactory; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ^ > /opt/forrest_trunk/main/java/org/apache/forrest/log/ForrestLogTargetFacto= ry.java:30: > warning: [deprecation] org.apache.cocoon.util.log.CocoonTargetFactory > in org.apache.cocoon.util.log has been deprecated > =A0 =A0extends CocoonTargetFactory { > =A0 =A0 =A0 =A0 =A0 =A0^ > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 2 warnings > > jar: > Building jar: /opt/forrest_trunk/build/xml-forrest.jar > > =A0*----------------------------------------------------------------- > =A0| Installation notice > =A0*----------------------------------------------------------------- > =A0| You have now built the 0.9-dev version of Forrest. > =A0| Please set the environment variable FORREST_HOME to point to > =A0| =A0/opt/forrest_trunk > =A0| It is recommended to add > =A0| =A0 =A0unix: $FORREST_HOME/bin: to your $PATH > =A0| =A0 =A0win: %FORREST_HOME%\bin; to your %PATH% > =A0| Then do 'forrest -projecthelp' to list options for the 'forrest' com= mand > =A0| More help at http://forrest.apache.org/ > =A0*----------------------------------------------------------------- > > > BUILD SUCCESSFUL > Total time: 4 seconds > > > After that I've created a sample site with $ forrest seed, copied the > forrest.properties* files to my real site folder, and added my required > plugins to the forrest.properties file: > > # project.required.plugins=3Dorg.apache.forrest.plugin.output.pdf > project.required.plugins=3Dorg.apache.forrest.plugin.internal.dispatcher,= org.apache.forrest.plugin.input.feeder,org.apache.forrest.themes.core > > Then I run $ forrest run. It fails. The output is lenghty but the only er= rors I > see are the following: > > [...] > > fetch-plugins-descriptors: > Copying 1 file to /home/vmas/ViTables/website/forrest/build/tmp > Copying 1 file to /home/vmas/ViTables/website/forrest/build/tmp > Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xm= l > Getting: http://forrest.apache.org/plugins/plugins.xml > To: /home/vmas/ViTables/website/forrest/build/tmp/plugins-1.xml > local file date : Tue Aug 03 08:53:46 CEST 2010 > Error getting http://forrest.apache.org/plugins/plugins.xml to > /home/vmas/ViTables/website/forrest/build/tmp/plugins-1.xml > Fetching plugins descriptor: > http://forrest.apache.org/plugins/whiteboard-plugins.xml > Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml > To: /home/vmas/ViTables/website/forrest/build/tmp/plugins-2.xml > local file date : Tue Aug 03 08:53:57 CEST 2010 > Error getting http://forrest.apache.org/plugins/whiteboard-plugins.xml > to /home/vmas/ViTables/website/forrest/build/tmp/plugins-2.xml > Plugin list loaded from http://forrest.apache.org/plugins/plugins.xml. > Plugin list loaded from > http://forrest.apache.org/plugins/whiteboard-plugins.xml. > > [...] > > =A0 =A0 =A0-------------------------------------------------------------- > =A0 =A0 =A0Installing plugin: org.apache.forrest.themes.core > =A0 =A0 =A0-------------------------------------------------------------- > > > check-plugin: > org.apache.forrest.themes.core is not available in the build dir. > Trying to fetch it... > > init-props: > > echo-settings-condition: > > echo-settings: > > init-proxy: > > fetch-plugins-descriptors: > > fetch-plugin: > Trying to find the description of org.apache.forrest.themes.core in > the different descriptor files > Using the descriptor file > /home/vmas/ViTables/website/forrest/build/tmp/plugins-1.xml... > Processing /home/vmas/ViTables/website/forrest/build/tmp/plugins-1.xml > to /home/vmas/ViTables/website/forrest/build/tmp/pluginlist2fetchbuild.xm= l > Loading stylesheet /opt/forrest_trunk/main/var/pluginlist2fetch.xsl > > findPlugin: > Using the descriptor file > /home/vmas/ViTables/website/forrest/build/tmp/plugins-2.xml... > Processing /home/vmas/ViTables/website/forrest/build/tmp/plugins-2.xml > to /home/vmas/ViTables/website/forrest/build/tmp/pluginlist2fetchbuild.xm= l > Loading stylesheet /opt/forrest_trunk/main/var/pluginlist2fetch.xsl > > findPlugin: > > > BUILD FAILED > /opt/forrest_trunk/main/targets/plugins.xml:392: The following error > occurred while executing this line: > /opt/forrest_trunk/main/targets/plugins.xml:413: The following error > occurred while executing this line: > /opt/forrest_trunk/main/targets/plugins.xml:359: STOP GENERATION ! > =A0 =A0WARNING - Cannot find the plugin description > =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =A0 =A0Unable to find the description of org.apache.forrest.themes.core > in the different descriptor files. > =A0 =A0This plugin used by this project (declared in > project.required.plugins variable of the forrest.properties). > =A0 =A0Forrest will stop the generation now. > =A0 =A0To correct this : > =A0 =A0 =A0- Check the name of the plugin and correct it in case it is wr= ong, > =A0 =A0 =A0- Add the missing descriptor file in the list in the > forrest.plugins.descriptors variable (forrest.properties) if > necessary... > > Total time: 8 seconds > > So although in the past I used the plugin org.apache.forrest.themes.core = without > problems it seems I cannot do the same now. Please, could somebody tell m= e how > to fix the problem? Hi Vicent, I suspect your project is defined based on an old version of dispatcher. I think that plugin was merged into dispatcher itself so try removing it from forrest.properties and giving it another go. --tim