Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 56160 invoked from network); 24 Aug 2010 11:14:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Aug 2010 11:14:15 -0000 Received: (qmail 89839 invoked by uid 500); 24 Aug 2010 11:14:15 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 89705 invoked by uid 500); 24 Aug 2010 11:14:12 -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 89690 invoked by uid 99); 24 Aug 2010 11:14:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 11:14:11 +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 (athena.apache.org: domain of scherler@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 11:14:06 +0000 Received: by wyf23 with SMTP id 23so629876wyf.21 for ; Tue, 24 Aug 2010 04:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=I1WS1GHu/HArV8H+86y9YD+XiesCEWaW4Q966c6Vi4k=; b=SrmlHHKnQUZXnG1Wz3wrqqnvLZJB/RaekH2RVFFYvBK+MznZYFLEDsWOc4jdI8olJh j+5+4PRcB9u8qrcaC1PFvt3hpzqLEj9sOw1wVLMjktuFs3FGhb8jwEcJpk013EoEFJYh 4B3d8QDzO0VGTIW4WFpfAd+b759CRizSHWkoY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=Rklzk3wje0OS8cdf2gmd/ZzOP3SqfqhqfpD5DYzh7pKbHx99OFZ6ilbtWaz2OcnWSn LSoN+25j1O+E0rwbDKz+fGfunFuXElIl8GF6iMlAb+C+BgmMocNYDoVxM70zCaH6NLXv KpzJ5isUv+VowgBpKckKWaCXblwGXBeSjX4qw= Received: by 10.227.155.139 with SMTP id s11mr5703905wbw.221.1282648314443; Tue, 24 Aug 2010 04:11:54 -0700 (PDT) Received: from [10.0.0.15] (202.Red-195-57-78.staticIP.rima-tde.net [195.57.78.202]) by mx.google.com with ESMTPS id a1sm6478311wbb.20.2010.08.24.04.11.52 (version=SSLv3 cipher=RC4-MD5); Tue, 24 Aug 2010 04:11:53 -0700 (PDT) Subject: Re: building a sample site with dispatcher fails From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: References: <1281459348.19314679@192.168.2.229> Content-Type: text/plain; charset="UTF-8" Date: Tue, 24 Aug 2010 13:11:50 +0200 Message-ID: <1282648310.2454.18.camel@mcKenny> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: quoted-printable On Thu, 2010-08-19 at 11:06 +0200, Vicent Mas wrote: > Hi all, >=20 Hmm, I cannot reproduce your problem. I did cd $FORREST_HOME svn up -> At revision 988481. cd main ./build.sh clean ;./build.sh cd ../whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ forrest run http://localhost:8888/index.html -> Dispatcher based site. You do not have to deploy by hand (local deploy) since using the dispatcher plugin to test will automatically deploy the plugin. thorsten@mcKenny:~/src/apache/forrest$ find . -name *.dispatcher.jar ./whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build/or= g.apache.forrest.plugin.internal.dispatcher.jar ./build/plugins/lib/org.apache.forrest.plugin.internal.dispatcher.jar That is under ubuntu 10.04. I tried with forrest but that resulted in=20 linkmap.html Never saw that before. salu2 > after some holyday I'm here again, trying to fix my problems with the > dispatcher plugin. I've started again > from scratch: unset FORREST_HOME, removed my local repository of > forrest, checked it out again, > built forrest, set FORREST_HOME, added FORREST_HOME/bin to PATH and > built a dispatcher sample > site. It failed as usual. Coming back to the dispatcher local-deploy > thing I've repeated it, but the result is > the same i.e. no dispatcher.jar file is created anywhere. Simply > $FORREST_HOME/build/plugins/org.apache.forrest.plugin.internal.dispatcher > contains now a copy of > $FORREST_HOME/whiteboard/plugins/org.apache.forrest.plugin.internal.dispa= tcher$. > In fact, the following search via find command returns nothing: >=20 > $ cd $FORREST_HOME > $ find . -name *.dispatcher.jar > $ >=20 > Executing $ forrest diagnostics in my seed site directory returns the fol= lowing: >=20 > vmas@rachael:~/tmp/test_af1$ forrest diagnostics > Apache Forrest. Run 'forrest -projecthelp' to list options >=20 > Buildfile: /home/vmas/repositoris.nobackup/forrest/main/forrest.build.xml >=20 > check-java-version: > This is apache-forrest-0.9-dev > Using Java 1.6 from /usr/lib/jvm/java-6-sun-1.6.0.21/jre > Using Apache Ant version 1.7.1 compiled on September 26 2008 from > /home/vmas/repositoris.nobackup/forrest/tools/ant >=20 > init-props: >=20 > echo-settings-condition: >=20 > echo-settings: >=20 > check-skin: >=20 > init-proxy: >=20 > fetch-skins-descriptors: >=20 > fetch-skin: >=20 > unpack-skins: >=20 > init-skins: >=20 > fetch-plugins-descriptors: > Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xm= l > Getting: http://forrest.apache.org/plugins/plugins.xml > To: /home/vmas/tmp/test_af1/build/tmp/plugins-1.xml > local file date : Thu Aug 19 09:54:20 CEST 2010 > Error getting http://forrest.apache.org/plugins/plugins.xml to > /home/vmas/tmp/test_af1/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/tmp/test_af1/build/tmp/plugins-2.xml > local file date : Thu Aug 19 09:58:17 CEST 2010 > Error getting http://forrest.apache.org/plugins/whiteboard-plugins.xml > to /home/vmas/tmp/test_af1/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. >=20 > init-plugins: > Copying 1 file to /home/vmas/tmp/test_af1/build/tmp > Copying 1 file to /home/vmas/tmp/test_af1/build/tmp > Copying 1 file to /home/vmas/tmp/test_af1/build/tmp > Copying 1 file to /home/vmas/tmp/test_af1/build/tmp > Copying 1 file to /home/vmas/tmp/test_af1/build/tmp >=20 > -------------------------------------------------------------- > Installing plugin: org.apache.forrest.plugin.output.pdf > -------------------------------------------------------------- >=20 >=20 > check-plugin: > org.apache.forrest.plugin.output.pdf is available in the build dir. > Trying to update it... >=20 > init-props: >=20 > echo-settings-condition: >=20 > echo-settings: >=20 > init-proxy: >=20 > fetch-plugins-descriptors: >=20 > fetch-plugin: > Trying to find the description of org.apache.forrest.plugin.output.pdf > in the different descriptor files > Using the descriptor file /home/vmas/tmp/test_af1/build/tmp/plugins-1.xml= ... > Processing /home/vmas/tmp/test_af1/build/tmp/plugins-1.xml to > /home/vmas/tmp/test_af1/build/tmp/pluginlist2fetchbuild.xml > Loading stylesheet > /home/vmas/repositoris.nobackup/forrest/main/var/pluginlist2fetch.xsl >=20 > fetch-local-unversioned-plugin: >=20 > get-local: > Trying to locally get org.apache.forrest.plugin.output.pdf > Looking in local /home/vmas/repositoris.nobackup/forrest/plugins > Found ! >=20 > init-build-compiler: >=20 > echo-init: >=20 > init: >=20 > compile: >=20 > jar: >=20 > local-deploy: > Locally deploying org.apache.forrest.plugin.output.pdf >=20 > build: > Plugin org.apache.forrest.plugin.output.pdf deployed ! Ready to configure >=20 > fetch-remote-unversioned-plugin-version-forrest: >=20 > fetch-remote-unversioned-plugin-unversion-forrest: >=20 > has-been-downloaded: >=20 > downloaded-message: >=20 > uptodate-message: >=20 > not-found-message: > Fetch-plugin Ok, installing ! >=20 > unpack-plugin: >=20 > install-plugin: >=20 > configure-plugin: >=20 > configure-output-plugin: > Mounting output plugin: org.apache.forrest.plugin.output.pdf > Processing /home/vmas/tmp/test_af1/build/tmp/output.xmap to > /home/vmas/tmp/test_af1/build/tmp/output.xmap.new > Loading stylesheet > /home/vmas/repositoris.nobackup/forrest/main/var/pluginMountSnippet.xsl > Moving 1 file to /home/vmas/tmp/test_af1/build/tmp >=20 > configure-plugin-locationmap: > Mounting plugin locationmap for org.apache.forrest.plugin.output.pdf > Processing /home/vmas/tmp/test_af1/build/tmp/locationmap.xml to > /home/vmas/tmp/test_af1/build/tmp/locationmap.xml.new > Loading stylesheet > /home/vmas/repositoris.nobackup/forrest/main/var/pluginLmMountSnippet.xsl > Moving 1 file to /home/vmas/tmp/test_af1/build/tmp >=20 > -------------------------------------------------------------- > Installing plugin: org.apache.forrest.plugin.internal.dispatcher > -------------------------------------------------------------- >=20 >=20 > check-plugin: > org.apache.forrest.plugin.internal.dispatcher is available in the > build dir. Trying to update it... >=20 > init-props: >=20 > echo-settings-condition: >=20 > echo-settings: >=20 > init-proxy: >=20 > fetch-plugins-descriptors: >=20 > fetch-plugin: > Trying to find the description of > org.apache.forrest.plugin.internal.dispatcher in the different > descriptor files > Using the descriptor file /home/vmas/tmp/test_af1/build/tmp/plugins-1.xml= ... > Processing /home/vmas/tmp/test_af1/build/tmp/plugins-1.xml to > /home/vmas/tmp/test_af1/build/tmp/pluginlist2fetchbuild.xml > Loading stylesheet > /home/vmas/repositoris.nobackup/forrest/main/var/pluginlist2fetch.xsl >=20 > findPlugin: > Using the descriptor file /home/vmas/tmp/test_af1/build/tmp/plugins-2.xml= ... > Processing /home/vmas/tmp/test_af1/build/tmp/plugins-2.xml to > /home/vmas/tmp/test_af1/build/tmp/pluginlist2fetchbuild.xml > Loading stylesheet > /home/vmas/repositoris.nobackup/forrest/main/var/pluginlist2fetch.xsl >=20 > fetch-local-unversioned-plugin: >=20 > get-local: > Trying to locally get org.apache.forrest.plugin.internal.dispatcher > Looking in local /home/vmas/repositoris.nobackup/forrest/plugins > Looking in local /home/vmas/repositoris.nobackup/forrest/whiteboard/plugi= ns > Found ! >=20 > init-build-compiler: >=20 > echo-init: >=20 > init: >=20 > compile: >=20 > jar: >=20 > local-deploy: > Locally deploying org.apache.forrest.plugin.internal.dispatcher >=20 > build: > Plugin org.apache.forrest.plugin.internal.dispatcher deployed ! Ready > to configure >=20 > fetch-remote-unversioned-plugin-version-forrest: >=20 > fetch-remote-unversioned-plugin-unversion-forrest: >=20 > has-been-downloaded: >=20 > downloaded-message: >=20 > uptodate-message: >=20 > not-found-message: > Fetch-plugin Ok, installing ! >=20 > unpack-plugin: >=20 > install-plugin: >=20 > configure-plugin: >=20 > configure-internal-plugin: > Mounting internal plugin: org.apache.forrest.plugin.internal.dispatcher > Processing /home/vmas/tmp/test_af1/build/tmp/internal.xmap to > /home/vmas/tmp/test_af1/build/tmp/internal.xmap.new > Loading stylesheet > /home/vmas/repositoris.nobackup/forrest/main/var/pluginMountSnippet.xsl > Moving 1 file to /home/vmas/tmp/test_af1/build/tmp >=20 > configure-plugin-locationmap: > Mounting plugin locationmap for org.apache.forrest.plugin.internal.dispat= cher > Processing /home/vmas/tmp/test_af1/build/tmp/locationmap.xml to > /home/vmas/tmp/test_af1/build/tmp/locationmap.xml.new > Loading stylesheet > /home/vmas/repositoris.nobackup/forrest/main/var/pluginLmMountSnippet.xsl > Moving 1 file to /home/vmas/tmp/test_af1/build/tmp >=20 > init: >=20 > diagnostics: > ------- Ant diagnostics report ------- > Apache Ant version 1.7.1 compiled on September 26 2008 >=20 > ------------------------------------------- > Implementation Version > ------------------------------------------- > core tasks : 1.7.1 > optional tasks : not available >=20 > ------------------------------------------- > ANT PROPERTIES > ------------------------------------------- > ant.version: Apache Ant version 1.7.1 compiled on September 26 2008 > ant.java.version: 1.6 > ant.core.lib: /home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant.j= ar > ant.home: /home/vmas/repositoris.nobackup/forrest/tools/ant >=20 > ------------------------------------------- > ANT_HOME/lib jar listing > ------------------------------------------- > ant.home: /home/vmas/repositoris.nobackup/forrest/tools/ant > xml-commons-resolver-1.1.jar (60047 bytes) > ant-jsch.jar (30804 bytes) > ant-nodeps.jar (431053 bytes) > jsch-0.1.39.jar (177987 bytes) > ant-commons-net.jar (47169 bytes) > ant-launcher.jar (12148 bytes) > ant.jar (1322915 bytes) > apache-jakarta-commons-net-1.4.1.jar (180792 bytes) > apache-jakarta-oro-2.0.8.jar (64638 bytes) > ant-testutil.jar (14945 bytes) > ant-trax.jar (6887 bytes) > ant-apache-oro.jar (39656 bytes) > ant-contrib-1.0b2.jar (194050 bytes) > ant-apache-resolver.jar (4077 bytes) >=20 > ------------------------------------------- > USER_HOME/.ant/lib jar listing > ------------------------------------------- > user.home: /home/vmas > No such directory. >=20 > ------------------------------------------- > Tasks availability > ------------------------------------------- > image : Not Available (the implementation class is not present) > wlrun : Not Available (the implementation class is not present) > stlist : Not Available (the implementation class is not present) > antlr : Not Available (the implementation class is not present) > netrexxc : Not Available (the implementation class is not present) > starteam : Not Available (the implementation class is not present) > stylebook : Not Available (the implementation class is not present) > stlabel : Not Available (the implementation class is not present) > splash : Not Available (the implementation class is not present) > jdepend : Not Available (the implementation class is not present) > stcheckin : Not Available (the implementation class is not present) > junit : Not Available (the implementation class is not present) > stcheckout : Not Available (the implementation class is not present) > ejbc : Not Available (the implementation class is not present) > junitreport : Not Available (the implementation class is not present) > wlstop : Not Available (the implementation class is not present) > sound : Not Available (the implementation class is not present) > ddcreator : Not Available (the implementation class is not present) > A task being missing/unavailable should only matter if you are trying to = use it >=20 > ------------------------------------------- > org.apache.env.Which diagnostics > ------------------------------------------- > Not available. > Download it at http://xml.apache.org/commons/ >=20 > ------------------------------------------- > XML Parser information > ------------------------------------------- > XML Parser : org.apache.xerces.jaxp.SAXParserImpl > XML Parser Location: > /home/vmas/repositoris.nobackup/forrest/lib/endorsed/xercesImpl-2.9.1.jar > Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXPars= er > Namespace-aware parser Location: > /home/vmas/repositoris.nobackup/forrest/lib/endorsed/xercesImpl-2.9.1.jar >=20 > ------------------------------------------- > System properties > ------------------------------------------- > java.runtime.name : Java(TM) SE Runtime Environment > sun.boot.library.path : /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386 > java.vm.version : 17.0-b16 > ant.library.dir : /home/vmas/repositoris.nobackup/forrest/tools/ant/lib > java.vm.vendor : Sun Microsystems Inc. > java.vendor.url : http://java.sun.com/ > path.separator : : > java.vm.name : Java HotSpot(TM) Client VM > file.encoding.pkg : sun.io > user.country : ES > sun.java.launcher : SUN_STANDARD > sun.os.patch.level : unknown > java.vm.specification.name : Java Virtual Machine Specification > user.dir : /home/vmas/tmp/test_af1 > java.runtime.version : 1.6.0_21-b06 > java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment > java.endorsed.dirs : /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/endorsed > os.arch : i386 > java.io.tmpdir : /tmp > line.separator : >=20 > java.vm.specification.vendor : Sun Microsystems Inc. > os.name : Linux > ant.home : /home/vmas/repositoris.nobackup/forrest/tools/ant > sun.jnu.encoding : UTF-8 > java.library.path : > /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/i386/client:/usr/lib/jvm/java-6-= sun-1.6.0.21/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/../lib/i386:= /usr/java/packages/lib/i386:/lib:/usr/lib > java.specification.name : Java Platform API Specification > java.class.version : 50.0 > sun.management.compiler : HotSpot Client Compiler > os.version : 2.6.32-5-686 > user.home : /home/vmas > user.timezone : Europe/Madrid > java.awt.printerjob : sun.print.PSPrinterJob > file.encoding : UTF-8 > java.specification.version : 1.6 > user.name : vmas > java.class.path : > /home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-launcher.jar:/h= ome/vmas/repositoris.nobackup/forrest/lib/endorsed/jakarta-bcel-20040329.ja= r:/home/vmas/repositoris.nobackup/forrest/lib/endorsed/jakarta-regexp-1.5.j= ar:/home/vmas/repositoris.nobackup/forrest/lib/endorsed/xalan-2.7.1.jar:/ho= me/vmas/repositoris.nobackup/forrest/lib/endorsed/xercesImpl-2.9.1.jar:/hom= e/vmas/repositoris.nobackup/forrest/lib/endorsed/xml-apis-1.3.04.jar:/home/= vmas/repositoris.nobackup/forrest/tools/ant/lib/xml-commons-resolver-1.1.ja= r:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-jsch.jar:/home/= vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-nodeps.jar:/home/vmas/r= epositoris.nobackup/forrest/tools/ant/lib/jsch-0.1.39.jar:/home/vmas/reposi= toris.nobackup/forrest/tools/ant/lib/ant-commons-net.jar:/home/vmas/reposit= oris.nobackup/forrest/tools/ant/lib/ant-launcher.jar:/home/vmas/repositoris= .nobackup/forrest/tools/ant/lib/ant.jar:/home/vmas/repositoris.nobackup/for= rest/tools/ant/lib/apache-jakarta-commons-net-1.4.1.jar:/home/vmas/reposito= ris.nobackup/forrest/tools/ant/lib/apache-jakarta-oro-2.0.8.jar:/home/vmas/= repositoris.nobackup/forrest/tools/ant/lib/ant-testutil.jar:/home/vmas/repo= sitoris.nobackup/forrest/tools/ant/lib/ant-trax.jar:/home/vmas/repositoris.= nobackup/forrest/tools/ant/lib/ant-apache-oro.jar:/home/vmas/repositoris.no= backup/forrest/tools/ant/lib/ant-contrib-1.0b2.jar:/home/vmas/repositoris.n= obackup/forrest/tools/ant/lib/ant-apache-resolver.jar:/usr/lib/jvm/java-6-s= un-1.6.0.21/lib/tools.jar > java.vm.specification.version : 1.0 > sun.arch.data.model : 32 > java.home : /usr/lib/jvm/java-6-sun-1.6.0.21/jre > java.specification.vendor : Sun Microsystems Inc. > user.language : ca > java.vm.info : mixed mode, sharing > java.version : 1.6.0_21 > java.ext.dirs : > /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/ext:/usr/java/packages/lib/ext > sun.boot.class.path : > /usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/resources.jar:/usr/lib/jvm/java-= 6-sun-1.6.0.21/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/sunr= sasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/jsse.jar:/usr/lib/jvm/j= ava-6-sun-1.6.0.21/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib= /charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/classes > java.vendor : Sun Microsystems Inc. > file.separator : / > java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi > sun.cpu.endian : little > sun.io.unicode.encoding : UnicodeLittle > sun.cpu.isalist : >=20 > ------------------------------------------- > Temp dir > ------------------------------------------- > Temp dir is /tmp > Temp dir is writeable > Temp dir alignment with system clock is -899 ms >=20 > ------------------------------------------- > Locale information > ------------------------------------------- > Timezone Central European Time offset=3D7200000 >=20 > ------------------------------------------- > Proxy information > ------------------------------------------- > Java1.5+ proxy settings: > Direct connection >=20 >=20 >=20 > BUILD SUCCESSFUL > Total time: 4 seconds >=20 > I'm already a little bit desperate to solve this issue. If you see > something wrong or strange in the > diagnostics, please tell me. As usual your suggestions are welcome. >=20 > TIA >=20 > Vicent --=20 Thorsten Scherler Open Source Java