forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cyriaque Dupoirieux <Cyriaque.Dupoiri...@pcotech.fr>
Subject Re: Problem with plugin 'is not available in the build dir'
Date Thu, 20 Apr 2006 07:38:19 GMT
le 20/04/2006 07:38 Web Maestro Clay a écrit :
> I'm having problems getting plugins working. I was able to use it 
> previously, but I can no longer even run `forrest init-plugins`.
>
> Q: If it was working before, what have you done to make it stop working?
> A: I started making modifications to the ODT plugin's stylesheets. 
> While testing I noticed it wasn't working. After searching the 
> archives, I decided to try checking out a fresh copy from svn. 
> Unfortunately (after changing $FORREST_HOME to point to the fresh svn 
> checkout) I receive the same error.
The plugin is not defined in any of plugins descriptor file because it 
have never been deployed in the forrest site.
Two solutions :
First the simple one :

	cd $FORREST_HOME/plugins/org.apache.forrest.plugin.input.odt//
	$FORREST_HOME/tools/ant/bin/ant local-deploy

Second, much more complicated but no need of further local-deployment :
             Define the plugin in a file of your choice (let's say 
MyPluginsDescriptor.xml)
             Add it to the forrest.plugins.descriptors property in 
either your project forrest.properties or your 
${user.hume}/forrest.properties

    * forrest.plugins.descriptors=http://forrest.apache.org/plugins/plugins.xml,http://forrest.apache.org/plugins/whiteboard-plugins.xml,file:///path/path/path/MyPluginsDescriptor.xml

Salutations,
Cyriaque,


>
> Without further ado, here's the error (along w some extra fluff...)
>
> [clay@Clays-PB trafxs]$ echo $FORREST_HOME
> /Users/Shared/_WebDLs/_repos/apache/forrest_0.8/trunk
> [clay@Clays-PB trafxs]$ pwd
> /Users/clay/Sites/trafxs
> [clay@Clays-PB trafxs]$ forrest init-plugins
> Apache Forrest.  Run 'forrest -projecthelp' to list options
>
> Buildfile: 
> /Users/Shared/_WebDLs/_repos/apache/forrest_0.8/trunk/main/forrest.build.xml 
>
>
> init-props:
>
> echo-settings:
>
> init-plugins:
> Created dir: 
> /Users/Shared/_WebDLs/_repos/apache/forrest_0.8/trunk/build/plugins
> Copying 1 file to /Users/clay/Sites/trafxs/build/tmp
> Copying 1 file to /Users/clay/Sites/trafxs/build/tmp
> Copying 1 file to /Users/clay/Sites/trafxs/build/tmp
> Copying 1 file to /Users/clay/Sites/trafxs/build/tmp
> Copying 1 file to /Users/clay/Sites/trafxs/build/tmp
>
>       --------------------------------------------------------------
>       Installing plugin: org.apache.forrest.plugin.input.odt
>       --------------------------------------------------------------
>
>
> check-plugin:
> org.apache.forrest.plugin.input.odt is not available in the build dir
>
> init-props:
>
> echo-settings:
>
> init-proxy:
>
> fetch-plugins-descriptors:
> Deleting 2 files from /Users/clay/Sites/trafxs/build/tmp
> Fetching plugins descriptor: 
> http://forrest.apache.org/plugins/plugins.xml
> Getting: http://forrest.apache.org/plugins/plugins.xml
> ....
> last modified = Fri Feb 24 01:07:16 PST 2006
> Fetching plugins descriptor: 
> http://forrest.apache.org/plugins/whiteboard-plugins.xml
> Getting: http://forrest.apache.org/plugins/whiteboard-plugins.xml
> ....
> last modified = Thu Apr 06 00:54:56 PDT 2006
> Plugin list loaded from http://forrest.apache.org/plugins/plugins.xml.
> Plugin list loaded from 
> http://forrest.apache.org/plugins/whiteboard-plugins.xml.
>
> fetch-plugin:
> Processing /Users/clay/Sites/trafxs/build/tmp/plugins-1.xml to 
> /Users/clay/Sites/trafxs/build/tmp/pluginlist2fetchbuild.xml
> Loading stylesheet 
> /Users/Shared/_WebDLs/_repos/apache/forrest_0.8/trunk/main/var/pluginlist2fetch.xsl 
>
>
> findPlugin:
> Processing /Users/clay/Sites/trafxs/build/tmp/plugins-2.xml to 
> /Users/clay/Sites/trafxs/build/tmp/pluginlist2fetchbuild.xml
> Loading stylesheet 
> /Users/Shared/_WebDLs/_repos/apache/forrest_0.8/trunk/main/var/pluginlist2fetch.xsl 
>
>
> findPlugin:
>
> unpack-plugin:
>
> ERROR
> =====
>
> Unable to retrieve the org.apache.forrest.plugin.input.odt plugin.
> There may be more information about the reason for this in output
> above. The usual cause is that Forrest has been unable to download
> the plugin descriptor file that indicates where this plugin is to be
> downloaded from. If you are behind a firewall then set the proxy.host
> and proxy.port values in the forrest.properties file.
>
> You may also like to check the value of the
> forrest.plugins.descriptors property in the forrest.properties file
> and ensure that the locations indicated by that value are accessible
> (note there should be no spaces in this property).
>
> If all else fails you can can manually install the plugins you need
> by downloading the install bundles (see
> http://forrest.apache.org/pluginDocs/plugins_0_70/index.html) and 
> unpacking
> them into FORREST_HOME/build/plugins.
>
> Note that once the plugins have been installed, they will not need
> to be installed again unless you delete them or wish to upgrade them.
>
>
> BUILD FAILED
> /Users/Shared/_WebDLs/_repos/apache/forrest_0.8/trunk/main/targets/plugins.xml:389: 
> The following error occurred while executing this line:
> /Users/Shared/_WebDLs/_repos/apache/forrest_0.8/trunk/main/targets/plugins.xml:410: 
> The following error occurred while executing this line:
> /Users/Shared/_WebDLs/_repos/apache/forrest_0.8/trunk/main/targets/plugins.xml:110: 
> Unable to install required plugins. See error messages above for more 
> detail.
>
> Total time: 10 seconds
> [clay@Clays-PB trafxs]$
>
>
> Clay Leeds
> the.webmaestro@gmail.com
>
> My religion is simple. My religion is kindness.
> -- HH Dalai Lama of Tibet
>
>
>
>

Mime
View raw message