forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: Upgrade to 0.6: validation issues
Date Thu, 21 Oct 2004 14:23:50 GMT
I'm getting closer, but still no dice.

The HiveMind site is multiple levels; it has subdirectories for each module.

What I'm seeing is that the index.html in the subdirectories ends up
with the exact same content (that is, byte-for-byte the same file) as
the root index.html.  Not only is the content wrong, but the relative
URLs are broken (to the skin directory, to pick up images and
stylesheets).

I actually re-ran the build using Forrest command line:

C:\workspace\jakarta-hivemind>forrest

Apache Forrest.  Run 'forrest -projecthelp' to list options


Buildfile: C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core\forrest.build.xml

init-props:
Loading project specific properties from
C:\workspace\jakarta-hivemind\forrest.properties
Loading user specific properties from C:\Documents and
Settings\Howard\forrest.properties
Loading default properties from
C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core\context\default-forrest.properties

echo-settings:
      ------------------------------------------------
      | Forrest template run.
      | Running from ${forrest.home} =
C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core
      | Working on   ${project.home} = C:\workspace\jakarta-hivemind
      ------------------------------------------------
      | //where to put the result
      | project.site-dir    = C:\workspace\jakarta-hivemind/target/docs
      | //uri to start crawling/generation process
      | project.start-uri   = linkmap.html
      | //cocoon cli.xconf location
      | project.configfile  =
C:\workspace\jakarta-hivemind/src/documentation/conf/cli.xconf
      | //logkit.xconf location
      | project.logkitfile  =
C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core/context/WEB-INF/logkit.xconf
      | //temp dir to throw stuff in (i.e. work and ctxt)
      | project.temp-dir    = C:\workspace\jakarta-hivemind/target/forrest
      | //temp working directory for generation process
      | project.cocoon-work-dir    =
C:\workspace\jakarta-hivemind\target\forrest\cocoon-work
      | //temp context directory for generation process
      | project.webapp    = C:\workspace\jakarta-hivemind\target\forrest\webapp
      | //debuglevel for logging (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
      | project.debuglevel  = DEBUG
      | //file for list of broken links
      | project.brokenlinkfile =
C:\workspace\jakarta-hivemind\target\forrest\brokenlinks.xml
      | //check if you have tools.jar installed
      | tools.jar.present   = true
      ------------------------------------------------
      | The following properties could be removed from future builds:
      | //which skin to apply
      | project.skin        = pelt
      | //where your documentation xml is
      | project.content-dir =
C:\workspace\jakarta-hivemind\target\forrest-composite
      ------------------------------------------------

validate-xdocs:
45 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
1 file(s) have been successfully validated.
...validated skinconf

validate-sitemap:
...validated sitemap

validate-skinchoice:
...validated existence of skin 'pelt'

site:
Deleting directory C:\workspace\jakarta-hivemind\target\forrest\cocoon-work
Created dir: C:\workspace\jakarta-hivemind\target\forrest\cocoon-work

Copying the various non-generated resources to site.
Warnings will be issued if the optional project resources are not found.
This is often the case, because they are optional and so may not be available.
Copying project resources and images to site ...
Warning: C:\workspace\jakarta-hivemind\target\forrest\webapp\resources
not found.
Copying 1 file to C:\workspace\jakarta-hivemind\target\docs
Copying main skin images to site ...
Copying 22 files to C:\workspace\jakarta-hivemind\target\docs\skin\images
Copying 14 files to C:\workspace\jakarta-hivemind\target\docs\skin\images
Copying project skin images to site ...
Warning: C:\workspace\jakarta-hivemind\target\forrest-composite\skins\common\images
not found.
Warning: C:\workspace\jakarta-hivemind\target\forrest-composite\skins\pelt\images
not found.
Copying main skin css and js files to site ...
Copying 8 files to C:\workspace\jakarta-hivemind\target\docs\skin
Copying 6 files to C:\workspace\jakarta-hivemind\target\docs\skin
Copying project skin css and js files to site ...
Warning: C:\workspace\jakarta-hivemind\target\forrest-composite\skins\common
not found.
Warning: C:\workspace\jakarta-hivemind\target\forrest-composite\skins\pelt
not found.
Finished copying the non-generated resources.
Now Cocoon will generate the rest ...

Static site will be generated at:
C:\workspace\jakarta-hivemind/target/docs

Note that there are various reasons for "build failed" messages.
* Cocoon will report the status of each document:
  - in column 1: *=okay X=brokenLink ^=pageSkipped (see FAQ).
* Even if only one link is broken, you will still get "failed".
* Your site would still be generated, but some pages would be broken.
* Please check the file:
C:\workspace\jakarta-hivemind\target\forrest\brokenlinks.xml
for any broken links in the generated site.
------------------------------------------------------------------------
cocoon 2.2.0-dev
Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
------------------------------------------------------------------------
Cannot find CatalogManager.properties
^                                    hivedocs/index.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                    hivemind-examples/apidocs/index.html
^                                    hivemind-examples/hivedocs/index.html
^                                    hivemind-examples/clover/index.html
* [1/63]    [63/71]   5.217s 24.1Kb  linkmap.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                    hivedocs/config/hivemind.ServiceModels.html
^                                   
hivemind/apidocs/org/apache/hivemind/internal/ServiceModelFactory.html
* [2/63]    [1/32]    1.082s 7.6Kb   hivemind/ServiceModels.html
^                                    hivedocs/index.html
* [3/62]    [0/35]    0.651s 7.9Kb   cvs.html
^                                    hivedocs/index.html
* [4/66]    [5/46]    1.752s 27.0Kb  changes.html
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/test/HiveMindTestCase.html
* [6/64]    [0/37]    0.791s 11.2Kb  dependencies.html
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                    hivedocs/module/hivemind.lib.html
* [7/63]    [0/28]    0.54s  6.0Kb   hivemind-lib/index.html
* [8/62]    [0/0]     0.681s 2.0Kb   changes.rss
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.RemoteExceptionCoordinator.html
^                                   
hivemind/apidocs/org/apache/hivemind/lib/RemoteExceptionCoordinator.html
^                                   
hivemind/apidocs/org/apache/hivemind/lib/RemoteExceptionListener.html
* [9/61]    [0/29]    0.852s 6.8Kb  
hivemind-lib/RemoteExceptionCoordinator.html
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/impl/SystemPropertiesSymbolSource.html
^                                   
hivemind/apidocs/org/apache/hivemind/Element.html
* [10/60]   [0/52]    0.871s 23.2Kb  configurations.html
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/impl/RegistryBuilder.html
^                                   
hivemind/apidocs/org/apache/hivemind/Registry.html
* [11/59]   [0/41]    0.771s 11.4Kb  multithreading.html
* [13/57]   [0/0]     1.152s 24.5Kb  hivemind-lib/
^                                    hivedocs/index.html
* [14/56]   [0/35]    0.521s 8.1Kb   todo.html
^                                    hivedocs/index.html
* [16/54]   [0/41]    0.51s  9.3Kb   hivedoc.html
X [0]                                     wholesite.html       
BROKEN: java.lang.RuntimeException:
org.apache.cocoon.ResourceNotFoundException: Resource not found.:
org.apach
e.excalibur.source.SourceNotFoundException:
file:/C:/workspace/jakarta-hivemind/target/forrest-composite/content/xdocs/HiveMind-QuickReference.xml
doesn't exist.
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.ServicePropertyFactory.html
* [19/51]   [0/28]    0.6s   7.3Kb   hivemind-lib/ServicePropertyFactory.html
* [21/49]   [0/0]     1.673s 348b    skin/images/rc-b-l-15-1body-2menu-3menu.png
^                                    hivedocs/index.html
* [22/48]   [0/35]    0.771s 19.8Kb  license-report.html
^                                    hivedocs/index.html
* [25/45]   [0/35]    0.441s 8.9Kb   downloads.html
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/schema/Rule.html
^                                   
hivemind/apidocs/org/apache/hivemind/schema/Rule.html
^                                   
hivemind/apidocs/org/apache/hivemind/schema/Translator.html
^                                   
hivemind-lib/apidocs/org/apache/hivemind/lib/BeanFactory.html
^                                   
hivemind/apidocs/org/apache/hivemind/Resource.html
^                                   
hivemind/apidocs/org/apache/hivemind/schema/rules/SmartTranslator.html
* [26/44]   [0/54]    1.272s 31.7Kb  rules.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivedocs/config/hivemind.FactoryDefaults.html
* [27/43]   [0/31]    0.881s 7.1Kb   hivemind/FactoryDefaults.html
^                                    hivemind-examples/apidocs/index.html
^                                    hivemind-examples/hivedocs/index.html
^                                    hivemind-examples/clover/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/ServiceInterceptorFactory.html
^                                   
hivemind/apidocs/org/apache/hivemind/InterceptorStack.html
^                                   
hivemind/apidocs/org/apache/hivemind/Module.html
* [28/42]   [0/28]    0.751s 20.7Kb  hivemind-examples/logging.html
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.PipelineFactory.html
* [29/42]   [1/30]    0.931s 11.5Kb  hivemind-lib/PipelineFactory.html
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/impl/RegistryBuilder.html
^                                   
hivemind/apidocs/org/apache/hivemind/Registry.html
* [31/41]   [1/39]    0.631s 20.6Kb  bootstrap.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivedocs/service/hivemind.BuilderFactory.html
^                                   
hivemind/apidocs/org/apache/hivemind/ClassResolver.html
^                                   
hivemind/apidocs/org/apache/hivemind/ErrorHandler.html
^                                   
hivemind/apidocs/org/apache/hivemind/Messages.html
^                                   
hivemind/apidocs/org/apache/hivemind/Resource.html
* [32/40]   [0/35]    0.841s 27.1Kb  hivemind/BuilderFactory.html
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.NameLookup.html
* [33/39]   [0/27]    0.892s 6.7Kb   hivemind-lib/NameLookup.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivemind/apidocs/org/apache/hivemindant/ManifestClassPath.html
* [34/38]   [0/31]    0.53s  9.8Kb   hivemind/ant/ManifestClassPath.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                    hivedocs/config/hivemind.SymbolSources.html
^                                   
hivemind/apidocs/org/apache/hivemind/SymbolSource.html
* [36/36]   [0/32]    0.471s 7.8Kb   hivemind/SymbolSources.html
X [0]                                     wholesite.pdf BROKEN:
org.apache.fop.apps.FOPException: No flow in page-sequence
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.BeanFactoryBuilder.html
^                                   
hivemind-lib/apidocs/org/apache/hivemind/lib/BeanFactory.html
* [39/33]   [0/28]    0.491s 9.1Kb   hivemind-lib/BeanFactoryBuilder.html
^                                    hivedocs/index.html
* [40/32]   [0/38]    0.611s 15.3Kb  override.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/ant/ConstructRegistry.html
* [41/31]   [0/31]    0.52s  9.3Kb   hivemind/ant/ConstructRegistry.html
^                                    hivemind-examples/apidocs/index.html
^                                    hivemind-examples/hivedocs/index.html
^                                    hivemind-examples/clover/index.html
* [42/30]   [0/22]    0.751s 7.3Kb   hivemind-examples/index.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivedocs/service/hivemind.ThreadLocalStorage.html
^                                   
hivemind/apidocs/org/apache/hivemind/service/ThreadLocalStorage.html
* [43/29]   [0/32]    0.481s 7.2Kb   hivemind/ThreadLocalStorage.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                    hivedocs/config/hivemind.Translators.html
^                                   
hivemind/apidocs/org/apache/hivemind/schema/Translator.html
* [44/28]   [0/32]    0.481s 7.5Kb   hivemind/Translators.html
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.EJBProxyFactory.html
^                                   
hivemind/apidocs/org/apache/hivemind/lib/NameLookup.html
* [45/27]   [0/28]    0.871s 7.3Kb   hivemind-lib/EJBProxyFactory.html
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/Messages.html
^                                   
hivemind/apidocs/org/apache/hivemind/Registry.html
^                                   
hivemind/apidocs/org/apache/hivemind/impl/RegistryBuilder.html
* [46/26]   [0/41]    0.461s 10.5Kb  localization.html
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.DefaultImplementationBuilder.html
^                                   
hivemind-lib/apidocs/org/apache/hivemind/lib/DefaultImplementationBuilder.html
* [47/25]   [0/28]    0.46s  6.5Kb  
hivemind-lib/DefaultImplementationBuilder.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivedocs/config/hivemind.ObjectProviders.html
^                                   
hivemind-lib/apidocs/org/apache/hivemind/lib/BeanFactory.html
* [48/24]   [0/32]    0.591s 10.0Kb  hivemind/ObjectProviders.html
^                                    hivedocs/index.html
* [50/22]   [0/36]    0.551s 11.8Kb  ioc.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivedocs/service/hivemind.LoggingInterceptor.html
^                                   
hivemind/apidocs/org/apache/hivemind/methodmatch/MethodMatcher.html
* [51/21]   [0/32]    0.47s  8.2Kb   hivemind/LoggingInterceptor.html
^                                    hivedocs/index.html
* [52/21]   [1/39]    0.481s 24.5Kb  index.html
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/servlet/HiveMindFilter.html
^                                   
hivemind/apidocs/org/apache/hivemind/Registry.html
* [54/19]   [0/37]    0.461s 9.6Kb   filter.html
^                                    hivemind-examples/apidocs/index.html
^                                    hivemind-examples/hivedocs/index.html
^                                    hivemind-examples/clover/index.html
^                                   
hivemind-examples/hivedocs/schema/panorama.startup.Tasks.html
^                                   
hivemind-examples/clover/com/panorama/startup/impl/pkg-summary.html
* [55/18]   [0/25]    1.001s 27.9Kb  hivemind-examples/panorama.html
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/ServiceImplementationFactory.html
^                                   
hivemind/apidocs/org/apache/hivemind/ServiceInterceptorFactory.html
^                                    hivedocs/module/hivemind.html
^                                   
hivemind/apidocs/org/apache/hivemind/Discardable.html
^                                   
hivemind/apidocs/org/apache/hivemind/events/RegistryShutdownListener.html
^                                   
hivemind/apidocs/org/apache/hivemind/PoolManageable.html
^                                   
hivemind/apidocs/org/apache/hivemind/Registry.html
* [56/18]   [1/59]    0.801s 33.4Kb  services.html
* [57/17]   [0/0]     0.391s 24.5Kb  hivemind-examples/
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.SpringLookupFactory.html
^                                   
hivedocs/service/hivemind.lib.DefaultSpringBeanFactoryHolder.html
^                                   
hivemind-lib/apidocs/org/apache/hivemind/lib/SpringBeanFactoryHolder.html
^                                   
hivemind-lib/apidocs/org/apache/hivemind/lib/SpringBeanFactorySource.html
* [58/16]   [0/30]    0.871s 7.6Kb   hivemind-lib/SpringLookupFactory.html
^                                    hivemind-lib/apidocs/index.html
^                                    hivemind-lib/clover/index.html
^                                   
hivedocs/service/hivemind.lib.PlaceholderFactory.html
* [59/15]   [0/27]    0.571s 6.4Kb   hivemind-lib/PlaceholderFactory.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                    hivedocs/module/hivemind.html
* [60/14]   [0/32]    0.491s 6.6Kb   hivemind/index.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivedocs/config/hivemind.ApplicationDefaults.html
* [61/13]   [0/31]    0.61s  7.1Kb   hivemind/ApplicationDefaults.html
* [63/11]   [0/0]     0.56s  2.6Kb   skin/basic.css
* [64/10]   [0/0]     0.441s 24.5Kb  hivemind/
* [67/7]    [0/0]     0.391s 24.5Kb
* [68/18]   [12/12]   0.37s  11.9Kb  skin/screen.css
* [69/17]   [0/0]     0.07s  215b   
skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
* [70/16]   [0/0]     0.09s  215b   
skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png
* [71/15]   [0/0]     0.09s  214b   
skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png
* [73/13]   [0/0]     0.11s  207b   
skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png
* [74/12]   [0/0]     0.08s  207b   
skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
* [76/10]   [0/0]     0.08s  319b    skin/images/rc-b-r-15-1body-2menu-3menu.png
* [77/9]    [0/0]     0.08s  201b   
skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png
* [78/8]    [0/0]     0.07s  207b   
skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
* [79/7]    [0/0]     0.08s  390b    skin/images/rc-t-r-15-1body-2menu-3menu.png
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                    hivedocs/config/hivemind.EagerLoad.html
* [80/6]    [0/31]    0.471s 7.5Kb   hivemind/EagerLoad.html
* [81/5]    [0/0]     0.07s  1.1Kb   skin/print.css
^                                    hivemind-examples/apidocs/index.html
^                                    hivemind-examples/hivedocs/index.html
^                                    hivemind-examples/clover/index.html
* [82/4]    [0/25]    0.881s 11.6Kb  hivemind-examples/calc.html
* [83/3]    [0/0]     0.11s  3.9Kb   skin/profile.css
^                                    hivedocs/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/Registry.html
^                                   
hivemind/apidocs/org/apache/hivemind/Element.html
^                                   
hivemind/apidocs/org/apache/hivemind/ServiceInterceptorFactory.html
^                                   
hivemind/apidocs/org/apache/hivemind/ServiceImplementationFactory.html
* [85/1]    [0/91]    1.091s 40.0Kb  descriptor.html
^                                    hivemind/apidocs/index.html
^                                    hivemind/clover/index.html
^                                   
hivemind/apidocs/org/apache/hivemind/events/RegistryShutdownListener.html
* [86/0]    [0/31]    0.561s 7.0Kb   hivemind/ShutdownCoordinator.html
Total time: 0 minutes 53 seconds,  Site size: 763,285 Site pages: 66

BUILD FAILED
C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core\targets\site.xml:43:
Java returned: 1

Total time: 1 minute 0 seconds

C:\workspace\jakarta-hivemind>


I see that the forrest docs split out across multiple folders, so I
can't figure out what my be different in my environment.

This only affects the index.html in each sub-directory.  The other
files in each sub-directory come out correctly.

Can you think of what might cause a problem like this?  It's as if
Cocoon was saying "index.html? that looks familiar, I'll just write
out the one I just rendered" ... and its ignoring the fact that its a
different directory.


On Thu, 21 Oct 2004 16:04:00 +0200, Nicola Ken Barozzi
<nicolaken@apache.org> wrote:
> Howard Lewis Ship wrote:
> > Sometimes the process of complaining (sorry, folks) leads you to the result.
> >
> > Had to set  project.configfile in my forrest.properties to point at my
> > updated version.
> 
> Does this mean that now it works? :-)
> 
> BTW, consider switching to the new pelt skin. The Hivemind site is
> exactly a type of site (large navigation) that should benefit from the
> smaller font sizes.
> 
> --
> 
> 
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

Mime
View raw message