forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FOR-1235) Gump cannot find plugins
Date Sun, 15 Jul 2012 03:41:33 GMT

    [ https://issues.apache.org/jira/browse/FOR-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414572#comment-13414572
] 

David Crossley commented on FOR-1235:
-------------------------------------

Comparing the local running of '$FORREST_HOME/main/build.sh test' with Gump output around
the stage where it tries to find the first plugin "output.pdf" for the first test site "skinned".

(Note that need to edit build.sh first to disable the "-logger org.apache.tools.ant.NoBannerLogger"
to get comparable output to Gump which just executes our ant target "test" i.e. no logger
set.)

Here is the snippet from the local build output:
----------
...
fetch-plugin:
Trying to find the description of org.apache.forrest.plugin.output.pdf in the different descriptor
files
Using the descriptor file /Users/me/Documents/svn/asf/forrest/build/test_skinned_site/build/tmp/plugins-1.xml...
Processing /Users/me/Documents/svn/asf/forrest/build/test_skinned_site/build/tmp/plugins-1.xml
to /Users/me/Documents/svn/asf/forrest/build/test_skinned_site/build/tmp/pluginlist2fetchbuild.xml
Loading stylesheet /Users/me/Documents/svn/asf/forrest/main/var/pluginlist2fetch.xsl

fetch-local-unversioned-plugin:

get-local:
Trying to locally get org.apache.forrest.plugin.output.pdf
Looking in local /Users/me/Documents/svn/asf/forrest/plugins
Found !

init-build-compiler:

echo-init:

init:

compile:

jar:

local-deploy:
Locally deploying org.apache.forrest.plugin.output.pdf
Copying 33 files to /Users/me/Documents/svn/asf/forrest/build/plugins/org.apache.forrest.plugin.output.pdf
Copying 1 file to /Users/me/Documents/svn/asf/forrest/build/plugins
Copying 5 files to /Users/me/Documents/svn/asf/forrest/build/plugins/lib

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
...
... and more configuration of that plugin.
----------

So via local build, it finds the plugin in the local "plugins" directory and installs and
configures it properly.

Here is the corresponding snippet from the Gump build output:
----------
...
fetch-plugin:
     [echo] Trying to find the description of org.apache.forrest.plugin.output.pdf in the
different descriptor files
     [echo] Using the descriptor file /srv/gump/public/workspace/forrest/build/test_skinned_site/build/tmp/plugins-1.xml...
     [xslt] Processing /srv/gump/public/workspace/forrest/build/test_skinned_site/build/tmp/plugins-1.xml
to /srv/gump/public/workspace/forrest/build/test_skinned_site/build/tmp/pluginlist2fetchbuild.xml
     [xslt] Loading stylesheet /srv/gump/public/workspace/forrest/main/var/pluginlist2fetch.xsl

fetch-local-unversioned-plugin:
     [echo] Fetch-plugin Ok, installing !

unpack-plugin:

install-plugin:

configure-plugin:
     [echo] No locationmap provided for plugin org.apache.forrest.plugin.output.pdf
...
... and it stops "configuring" there, not realising that it has failed.
----------

So via Gump, it thinks that it has found the plugin (but installed nothing) and goes on to
build the site, failing with the PDFs.
                
> Gump cannot find plugins
> ------------------------
>
>                 Key: FOR-1235
>                 URL: https://issues.apache.org/jira/browse/FOR-1235
>             Project: Forrest
>          Issue Type: Bug
>          Components: Compile, Plugins (general issues)
>    Affects Versions: 0.10-dev
>            Reporter: David Crossley
>
> Apache Gump has trouble finding our plugins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message