forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <scher...@gmail.com>
Subject Re: building a sample site with dispatcher fails
Date Tue, 24 Aug 2010 11:11:50 GMT
On Thu, 2010-08-19 at 11:06 +0200, Vicent Mas wrote:
> Hi all,
> 

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/org.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 
<link message="net.sf.ehcache.Element; local class incompatible: stream
classdesc serialVersionUID = 3343087714201120157, local class
serialVersionUID = 1098572221246444544">linkmap.html</link>

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.dispatcher$.
> In fact, the following search via find command returns nothing:
> 
> $ cd $FORREST_HOME
> $ find . -name *.dispatcher.jar
> $
> 
> Executing $ forrest diagnostics in my seed site directory returns the following:
> 
> vmas@rachael:~/tmp/test_af1$ forrest diagnostics
> Apache Forrest.  Run 'forrest -projecthelp' to list options
> 
> Buildfile: /home/vmas/repositoris.nobackup/forrest/main/forrest.build.xml
> 
> 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
> 
> init-props:
> 
> echo-settings-condition:
> 
> echo-settings:
> 
> check-skin:
> 
> init-proxy:
> 
> fetch-skins-descriptors:
> 
> fetch-skin:
> 
> unpack-skins:
> 
> init-skins:
> 
> fetch-plugins-descriptors:
> Fetching plugins descriptor: http://forrest.apache.org/plugins/plugins.xml
> 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.
> 
> 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
> 
>       --------------------------------------------------------------
>       Installing plugin: org.apache.forrest.plugin.output.pdf
>       --------------------------------------------------------------
> 
> 
> check-plugin:
> org.apache.forrest.plugin.output.pdf is available in the build dir.
> Trying to update it...
> 
> init-props:
> 
> echo-settings-condition:
> 
> echo-settings:
> 
> init-proxy:
> 
> fetch-plugins-descriptors:
> 
> 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
> 
> fetch-local-unversioned-plugin:
> 
> get-local:
> Trying to locally get org.apache.forrest.plugin.output.pdf
> Looking in local /home/vmas/repositoris.nobackup/forrest/plugins
> Found !
> 
> init-build-compiler:
> 
> echo-init:
> 
> init:
> 
> compile:
> 
> jar:
> 
> local-deploy:
> Locally deploying org.apache.forrest.plugin.output.pdf
> 
> build:
> Plugin org.apache.forrest.plugin.output.pdf deployed ! Ready to configure
> 
> fetch-remote-unversioned-plugin-version-forrest:
> 
> fetch-remote-unversioned-plugin-unversion-forrest:
> 
> has-been-downloaded:
> 
> downloaded-message:
> 
> uptodate-message:
> 
> not-found-message:
> Fetch-plugin Ok, installing !
> 
> unpack-plugin:
> 
> install-plugin:
> 
> configure-plugin:
> 
> 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
> 
> 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
> 
>       --------------------------------------------------------------
>       Installing plugin: org.apache.forrest.plugin.internal.dispatcher
>       --------------------------------------------------------------
> 
> 
> check-plugin:
> org.apache.forrest.plugin.internal.dispatcher is available in the
> build dir. Trying to update it...
> 
> init-props:
> 
> echo-settings-condition:
> 
> echo-settings:
> 
> init-proxy:
> 
> fetch-plugins-descriptors:
> 
> 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
> 
> 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
> 
> fetch-local-unversioned-plugin:
> 
> 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/plugins
> Found !
> 
> init-build-compiler:
> 
> echo-init:
> 
> init:
> 
> compile:
> 
> jar:
> 
> local-deploy:
> Locally deploying org.apache.forrest.plugin.internal.dispatcher
> 
> build:
> Plugin org.apache.forrest.plugin.internal.dispatcher deployed ! Ready
> to configure
> 
> fetch-remote-unversioned-plugin-version-forrest:
> 
> fetch-remote-unversioned-plugin-unversion-forrest:
> 
> has-been-downloaded:
> 
> downloaded-message:
> 
> uptodate-message:
> 
> not-found-message:
> Fetch-plugin Ok, installing !
> 
> unpack-plugin:
> 
> install-plugin:
> 
> configure-plugin:
> 
> 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
> 
> configure-plugin-locationmap:
> Mounting plugin locationmap for org.apache.forrest.plugin.internal.dispatcher
> 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
> 
> init:
> 
> diagnostics:
> ------- Ant diagnostics report -------
> Apache Ant version 1.7.1 compiled on September 26 2008
> 
> -------------------------------------------
>  Implementation Version
> -------------------------------------------
> core tasks     : 1.7.1
> optional tasks : not available
> 
> -------------------------------------------
>  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.jar
> ant.home: /home/vmas/repositoris.nobackup/forrest/tools/ant
> 
> -------------------------------------------
>  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)
> 
> -------------------------------------------
>  USER_HOME/.ant/lib jar listing
> -------------------------------------------
> user.home: /home/vmas
> No such directory.
> 
> -------------------------------------------
>  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
> 
> -------------------------------------------
>  org.apache.env.Which diagnostics
> -------------------------------------------
> Not available.
> Download it at http://xml.apache.org/commons/
> 
> -------------------------------------------
>  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$JAXPSAXParser
> Namespace-aware parser Location:
> /home/vmas/repositoris.nobackup/forrest/lib/endorsed/xercesImpl-2.9.1.jar
> 
> -------------------------------------------
>  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 :
> 
> 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:/home/vmas/repositoris.nobackup/forrest/lib/endorsed/jakarta-bcel-20040329.jar:/home/vmas/repositoris.nobackup/forrest/lib/endorsed/jakarta-regexp-1.5.jar:/home/vmas/repositoris.nobackup/forrest/lib/endorsed/xalan-2.7.1.jar:/home/vmas/repositoris.nobackup/forrest/lib/endorsed/xercesImpl-2.9.1.jar:/home/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.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-jsch.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-nodeps.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/jsch-0.1.39.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-commons-net.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-launcher.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/apache-jakarta-commons-net-1.4.1.jar:/home/vmas/repositoris.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/repositoris.nobackup/forrest/tools/ant/lib/ant-trax.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-apache-oro.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-contrib-1.0b2.jar:/home/vmas/repositoris.nobackup/forrest/tools/ant/lib/ant-apache-resolver.jar:/usr/lib/jvm/java-6-sun-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/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.21/jre/lib/jsse.jar:/usr/lib/jvm/java-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 :
> 
> -------------------------------------------
>  Temp dir
> -------------------------------------------
> Temp dir is /tmp
> Temp dir is writeable
> Temp dir alignment with system clock is -899 ms
> 
> -------------------------------------------
>  Locale information
> -------------------------------------------
> Timezone Central European Time offset=7200000
> 
> -------------------------------------------
>  Proxy information
> -------------------------------------------
> Java1.5+ proxy settings:
> Direct connection
> 
> 
> 
> BUILD SUCCESSFUL
> Total time: 4 seconds
> 
> 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.
> 
> TIA
> 
> Vicent

-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>


Mime
View raw message