forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <cle...@medata.com>
Subject Re: Broken linkmap
Date Fri, 29 Oct 2004 15:17:04 GMT
On Oct 29, 2004, at 6:49 AM, Ross Gardler wrote:
> Clay Leeds wrote:
>> Whole site capability was still in there. I disabled it, and I still   
>> get:
>> ====
>> X [0]                                     linkmap.html  BROKEN: No   
>> pipeline matched request: linkmap-linkmap.html
>> Total time: 0 minutes 18 seconds,  Site size: 0 Site pages: 0
>> BUILD FAILED
>> /Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/targets/  
>> site.xml:43: Java returned: 1
>> Total time: 37 seconds
>> ====
>
> Do you have a project sitemap? It may be that that is causing the  
> problem. You can test this by deleting the  
> forrestcore/plugins/sitemap.xmap file. This will prevent Forrest from  
> using any plugins. If there error goes away then the problem is with  
> your projects sitemap.xmap, if it doesn't it is with the plugins. Let  
> me know which way around it is.

FWIW:
[clay@Clay-Leeds-Computer medata_docs]$ find . -iname *sitemap*
./build/webapp/WEB-INF/logs/sitemap.log
[clay@Clay-Leeds-Computer medata_docs]$

I just deleted forrestcore/plugins/sitemap.xmap and ran /forrest/:

X [0]                                     linkmap.html  BROKEN: No  
pipeline matched request: linkmap-linkmap.html
Total time: 0 minutes 22 seconds,  Site size: 0 Site pages: 0

BUILD FAILED
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/targets/ 
site.xml:43: Java returned: 1

Total time: 41 seconds
[clay@Clay-Leeds-Computer medata_docs]$

so I'm assuming it's with the plugins...

> [NB, in once this test is done you will need to delete the whole  
> forrestcore/plugins directory and rebuild Forrest to re-enable the  
> plugins functionality]

BTW, before I deleted it, I ls'd my plugins/ directory and got:

[clay@Clay-Leeds-Computer plugins]$ ls
openOffice.org  plugins-1.xml  simplified-docbook  sitemap.xmap.old

OpenOffice.org should have an initial cap 'OpenOffice.org'

[OT I just ran 'NB' through my nifty little 'wtf' utility (nice,  
huh!?), and didn't come up with anything... At first I though NB was  
short for Nikola Ken Barozzi (sp?)]

[clay@Clay-Leeds-Computer plugins]$ wtf NB
Gee...  I don't know what NB means...
[clay@Clay-Leeds-Computer plugins]$ wtf AFAIK
AFAIK: as far as I know
[clay@Clay-Leeds-Computer plugins]$

>> One thing I should mention (and this is almost certainly related to  
>> the  problem :-)) is that this site consists almost exclusively of   
>> OpenOffice.org sxw files (except for the 'index.html' pages), and I   
>> have not done anything to configure the plugins yet (other than /svn   
>> up/ I have not installed any plugins).
>
> I don't think this is related since the error has nothing to do with  
> openOffice documents.

Well... I've got a different error now. I'll post it below...

>> I'm still a bit unclear on how  to do that (I'll dig through my ML  
>> archives for clues...).
>
> I'd recommend reading the docs, it's more efficient ;-). see "How to  
> install plugins" -  
> http://forrest.apache.org/docs/ 
> plugins.html#How+is+a+Plugin+Installed%3F
>
> Since it is only two lines (and the other job I have this morning is  
> building furniture), I'll be nice and copy the relevant bit here:
>
> "If a site requires a plugin then it will be named in the  
> project.required.plugins property in the projects forrest.properties  
> file. When Forrest builds the site it will automatically discover the  
> plugin and install it. In other words, the user need do nothing."

Unfortunately, it doesn't indicate what the actual line should look  
like in forrest.properties:

project.required.plugins=openOffice.org

[OT forrest.properties example]
(IMO, every time a forrest.properties 'property' is discussed in the  
Forrest Docs, there should be an example showing possible 'known'  
values and an example of the proper way to add the line--also, I don't  
know if it matters 'where' a property is placed, but if so, there  
should be a mention of this.)

> (not in the docs, but relevant - so I'll put in the docs now)
>
> If you have an application that worked in 0.6 you can still use  
> 0.7-dev with no changes to your forrest.properties file since the  
> default behaviour is to include all plugins that contain functionality  
> extracted from the 0.6 release. In other words the developer need do  
> nothing unless they want to use new functionality provided by new  
> plugins.

That would be true, except in my case all of my files are  
OpenOffice.org files...

> [NB if you delete the plugins directory as described above, rebuild  
> forrest and do a forrest run (or site) you should see in the output  
> that Forrest is downloading and installing the required plugins]

Saw that! Bitchin!

>> If that is  the problem (missing OOo plugin), it may make sense to  
>> create some sort  of error which indicates such (something like "No  
>> plugin was found  which supports the '*.sxw' format needed to process  
>> file  'yatayata.sxw'").
>
> If for any reason the plugin was not available Cocoon would complain  
> about no match found for yatayata.sxw.
>
> Ross

====
[clay@Clay-Leeds-Computer medata_docs]$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile:  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/ 
forrest.build.xml

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/_repos/medata_docs/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/context/ 
default-forrest.properties

echo-settings:

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

install-required-plugins:
Installing plugin: openOffice.org

check-plugin:

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/_repos/medata_docs/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/context/ 
default-forrest.properties

echo-settings:

fetch-plugins-descriptors:
fetching descriptor: http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
.
last modified = Fri Oct 29 06:25:12 PDT 2004

fetch-plugin:
Processing  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins/plugins-1.xml  
to  
/Users/Shared/_WebDLs/_repos/medata_docs/build/tmp/ 
pluginlist2fetchbuild.xml
Loading stylesheet  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/var/ 
pluginlist2fetch.xsl

fetch-versioned-plugin:
Trying to get "openOffice.org" plugin version
                   ${version}...
Getting:  
http://www.apache.org/~rgardler/testingGround/forrestPlugins/ 
openOffice.org-${version}.zip
Error opening connection java.io.IOException
Error opening connection java.io.IOException
Error opening connection java.io.IOException
Can't get  
http://www.apache.org/~rgardler/testingGround/forrestPlugins/ 
openOffice.org-${version}.zip to  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins/ 
openOffice.org.zip

fetch-unversioned-plugin:
Versioned plugin unavailable, trying to get versionless plugin...
Getting:  
http://www.apache.org/~rgardler/testingGround/forrestPlugins/ 
openOffice.org.zip
......................................
last modified = Sat Oct 23 19:21:51 PDT 2004

final-check:
Plugin "openOffice.org" correctly installed.

fetchplugin:

unpack-plugin:
Expanding:  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins/ 
openOffice.org.zip into  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins
Deleting 1 files from  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins

configure-plugin:
Processing  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins/sitemap.xmap  
to  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins/ 
sitemap.xmap.new
Loading stylesheet  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/var/ 
pluginMountSnippet.xsl
Moving 1 files to  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins
Moving 1 files to  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins

install-plugin:
Installing plugin: simplified-docbook

check-plugin:

init-props:
Loading project specific properties from  
/Users/Shared/_WebDLs/_repos/medata_docs/forrest.properties
Loading user specific properties from /Users/clay/forrest.properties
Loading default properties from  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/context/ 
default-forrest.properties

echo-settings:

fetch-plugins-descriptors:
Deleting 1 files from  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins
fetching descriptor: http://forrest.apache.org/plugins/plugins.xml
Getting: http://forrest.apache.org/plugins/plugins.xml
.
last modified = Fri Oct 29 06:25:12 PDT 2004

fetch-plugin:
Processing  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/plugins/plugins-1.xml  
to  
/Users/Shared/_WebDLs/_repos/medata_docs/build/tmp/ 
pluginlist2fetchbuild.xml
Loading stylesheet  
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/var/ 
pluginlist2fetch.xsl

fetch-versioned-plugin:
Trying to get "simplified-docbook" plugin version
                   ${version}...

BUILD FAILED
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/targets/ 
plugins.xml:128: The following error occurred while executing this  
line:
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/targets/ 
plugins.xml:131: The following error occurred while executing this  
line:
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/targets/ 
plugins.xml:107: The following error occurred while executing this  
line:
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/targets/ 
plugins.xml:120: The following error occurred while executing this  
line:
/Users/Shared/_WebDLs/_repos/medata_docs/build/tmp/ 
pluginlist2fetchbuild.xml:7: java.net.MalformedURLException: no  
protocol: simplified-docbook-${version}.zip

Total time: 13 seconds
[clay@Clay-Leeds-Computer medata_docs]$
===

Funny thing is, I'm not using anything besides OpenOffice.org files, so  
why is it complaining about simplified-docbook? For that matter, why  
does it download IMSManifest?

NOTE: I added the project.required.plugins=openOffice.org  
[OpenOffice.org! :-p] line to forrest.properties after I ran the above.  
Then I ran another /forrest/ and got another:

X [0]                                     linkmap.html  BROKEN: No  
pipeline matched request: linkmap-linkmap.html
Total time: 0 minutes 19 seconds,  Site size: 0 Site pages: 0

BUILD FAILED
/Users/Shared/_WebDLs/_repos/forrest/forrestcore/src/core/targets/ 
site.xml:43: Java returned: 1

Total time: 35 seconds
[clay@Clay-Leeds-Computer medata_docs]$


Web Maestro Clay
-- 
Clay Leeds - <cleeds@medata.com>
Webmaster/Developer - Medata, Inc. - <http://www.medata.com/>
PGP Public Key: <https://mail.medata.com/pgp/cleeds.asc>


Mime
View raw message