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: Still in pain; upgrade from 0.5 to 0.6
Date Wed, 03 Nov 2004 19:56:54 GMT
Updated my forrest.properties to:

project.name=Tapestry

forrest.echo=on
project.debuglevel=DEBUG

project.bugtracking-url=http://nagoya.apache.org/jira/browse/

project.configfile=${project.home}/src/documentation/conf/cli.xconf


project.build-dir=${project.home}/target/forrest
project.site-dir=${project.home}/target/docs
project.temp-dir=${project.home}/target/forrest
project.content-dir=target/forrest-composite

And ran Forrest:

C:\workspace\jakarta-tapestry>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-tapestry\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-tapestry
      ------------------------------------------------
      | //where to put the result
      | project.site-dir    = C:\workspace\jakarta-tapestry/target/docs
      | //uri to start crawling/generation process
      | project.start-uri   = linkmap.html
      | //cocoon cli.xconf location
      | project.configfile  =
C:\workspace\jakarta-tapestry/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-tapestry/target/forrest
      | //temp working directory for generation process
      | project.cocoon-work-dir    =
C:\workspace\jakarta-tapestry\target\forrest\cocoon-work
      | //temp context directory for generation process
      | project.webapp    = C:\workspace\jakarta-tapestry\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-tapestry\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-tapestry\target\forrest-composite
      ------------------------------------------------

validate-xdocs:
60 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-tapestry\target\forrest\cocoon-work
Created dir: C:\workspace\jakarta-tapestry\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-tapestry\target\forrest\webapp\resources
not found.
Copying main skin images to site ...
Copying 22 files to C:\workspace\jakarta-tapestry\target\docs\skin\images
Copying 14 files to C:\workspace\jakarta-tapestry\target\docs\skin\images
Copying project skin images to site ...
Warning: C:\workspace\jakarta-tapestry\target\forrest-composite\skins\common\images
not found.
Warning: C:\workspace\jakarta-tapestry\target\forrest-composite\skins\pelt\images
not found.
Copying main skin css and js files to site ...
Copying 8 files to C:\workspace\jakarta-tapestry\target\docs\skin
Copying 6 files to C:\workspace\jakarta-tapestry\target\docs\skin
Copying project skin css and js files to site ...
Warning: C:\workspace\jakarta-tapestry\target\forrest-composite\skins\common
not found.
Warning: C:\workspace\jakarta-tapestry\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-tapestry/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-tapestry\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
* [1/63]    [63/63]   4.096s 20.9Kb  linkmap.html
* [2/62]    [0/0]     0.4s   2.6Kb   skin/basic.css
* [3/62]    [1/45]    0.932s 9.0Kb  
tapestry/ComponentReference/Conditional.html
* [4/61]    [0/45]    0.561s 9.0Kb   tapestry/ComponentReference/RadioGroup.html
* [5/60]    [0/45]    1.021s 9.0Kb   tapestry/ComponentReference/TextField.html
^                                   
tapestry/apidocs/org/apache/tapestry/IEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/IPage.html
^                                   
tapestry/apidocs/org/apache/tapestry/IRequestCycle.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/AbstractEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/html/BasePage.html
^                                   
tapestry/apidocs/org/apache/tapestry/AbstractPage.html
^                                   
tapestry/apidocs/org/apache/tapestry/IPageRecorder.html
^                                   
tapestry/apidocs/org/apache/tapestry/Tapestry.html
^                                   
tapestry/apidocs/org/apache/tapestry/event/PageDetachListener.html
^                                   
tapestry/apidocs/org/apache/tapestry/event/PageRenderListener.html
^                                   
tapestry/apidocs/org/apache/tapestry/BaseComponent.html
* [7/58]    [0/44]    0.641s 35.3Kb  UsersGuide/state.html
* [8/59]    [2/23]    0.591s 23.2Kb  quotes.html
* [9/58]    [0/45]    0.601s 9.0Kb   tapestry/ComponentReference/ListEdit.html
* [10/57]   [0/45]    0.46s  9.0Kb   tapestry/ComponentReference/Select.html
^                                   
tapestry/apidocs/org/apache/tapestry/components/Insert.html
^                                   
tapestry/apidocs/org/apache/tapestry/IMarkupWriter.html
^                                   
tapestry/apidocs/org/apache/tapestry/IMarkupWriter.html
* [11/57]   [1/49]    0.651s 13.4Kb  tapestry/ComponentReference/Insert.html
* [13/55]   [0/21]    0.381s 7.9Kb   downloads.html
* [14/54]   [0/45]    0.441s 9.0Kb   tapestry/ComponentReference/Submit.html
^                                   
tapestry/apidocs/org/apache/tapestry/IComponent.html
^                                   
tapestry/apidocs/org/apache/tapestry/IMarkupWriter.html
^                                   
tapestry/apidocs/org/apache/tapestry/IRender.html
^                                   
tapestry/apidocs/org/apache/tapestry/BaseComponent.html
^                                   
tapestry/apidocs/org/apache/tapestry/AbstractComponent.html
^                                   
tapestry/apidocs/org/apache/tapestry/ApplicationServlet.html
^                                   
tapestry/apidocs/org/apache/tapestry/IRequestCycle.html
^                                   
tapestry/apidocs/org/apache/tapestry/IBinding.html
^                                   
tapestry/apidocs/org/apache/tapestry/param/ParameterManager.html
^                                   
tapestry/apidocs/org/apache/tapestry/IAsset.html
^                                   
tapestry/apidocs/org/apache/tapestry/INamespace.html
* [16/59]   [7/64]    0.721s 34.6Kb  UsersGuide/components.html
* [19/56]   [0/61]    0.44s  12.2Kb 
tapestry/ComponentReference/ExternalLink.html
* [21/54]   [0/45]    0.42s  9.0Kb   tapestry/ComponentReference/Checkbox.html
* [22/53]   [0/45]    0.611s 9.0Kb   tapestry/ComponentReference/RenderBody.html
^                                   
tapestry/apidocs/org/apache/tapestry/AbstractComponent.html
^                                   
tapestry/apidocs/org/apache/tapestry/html/BasePage.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/BaseEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/IComponent.html
^                                   
tapestry/apidocs/org/apache/tapestry/IAsset.html
^                                   
tapestry/apidocs/org/apache/tapestry/IBeanProvider.html
^                                   
tapestry/apidocs/org/apache/tapestry/IBinding.html
^                                   
tapestry/apidocs/org/apache/tapestry/IRender.html
^                                   
tapestry/apidocs/org/apache/tapestry/IEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/IComponentClassEnhancer.html
^                                   
tapestry/apidocs/org/apache/tapestry/IPage.html
^                                   
tapestry/apidocs/org/apache/tapestry/event/ChangeObserver.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/IComponentMessagesSource.html
^                                   
tapestry/apidocs/org/apache/tapestry/util/io/DataSqueezer.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/AbstractEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/form/IFormComponent.html
^                                   
tapestry/apidocs/org/apache/tapestry/IForm.html
^                                   
tapestry/apidocs/org/apache/tapestry/listener/ListenerMap.html
^                                   
tapestry/apidocs/org/apache/tapestry/IActionListener.html
^                                   
tapestry/apidocs/org/apache/tapestry/INamespace.html
^                                   
tapestry/apidocs/org/apache/tapestry/AbstractPage.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/IPropertySource.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/IPageSource.html
^                                   
tapestry/apidocs/org/apache/tapestry/util/pool/Pool.html
^                                   
tapestry/apidocs/org/apache/tapestry/IRequestCycle.html
^                                   
tapestry/apidocs/org/apache/tapestry/IResourceResolver.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/IScriptSource.html
^                                   
tapestry/apidocs/org/apache/tapestry/spec/IComponentSpecification.html
^                                   
tapestry/apidocs/org/apache/tapestry/spec/IApplicationSpecification.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/ISpecificationSource.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/ITemplateSource.html
* [23/52]   [0/54]    0.531s 25.6Kb  UsersGuide/properties.html
* [24/51]   [0/61]    0.46s  12.2Kb  tapestry/ComponentReference/Image.html
* [25/50]   [0/0]     1.112s 11.9Kb  tapestry/
* [26/54]   [5/26]    0.811s 26.5Kb  changes.html
* [28/52]   [0/0]     0.731s 1.0Kb   changes.rss
* [30/50]   [0/45]    0.531s 9.0Kb   tapestry/ComponentReference/Upload.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/BaseEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/ApplicationServlet.html
* [32/48]   [0/25]    0.581s 11.2Kb  UsersGuide/hivemind.html
* [33/47]   [0/21]    0.461s 9.4Kb   dev.html
* [34/48]   [2/25]    0.29s  11.9Kb  index.html
* [36/46]   [0/45]    0.401s 9.0Kb  
tapestry/ComponentReference/PropertySelection.html
* [37/45]   [0/21]    0.571s 6.7Kb   cvs.html
* [38/44]   [0/45]    0.44s  9.0Kb  
tapestry/ComponentReference/ServiceLink.html
* [39/43]   [0/45]    0.411s 9.0Kb   tapestry/ComponentReference/DatePicker.html
* [40/42]   [0/45]    0.591s 9.0Kb   tapestry/ComponentReference/Button.html
* [41/41]   [0/45]    0.4s   9.0Kb   tapestry/ComponentReference/DirectLink.html
* [42/40]   [0/45]    0.411s 9.0Kb   tapestry/ComponentReference/InsertText.html
* [43/39]   [0/45]    0.41s  9.0Kb   tapestry/ComponentReference/Radio.html
* [44/38]   [0/45]    0.571s 9.0Kb   tapestry/ComponentReference/Option.html
* [45/37]   [0/0]     0.281s 11.9Kb  tapestry/ComponentReference/
* [47/35]   [0/45]    0.4s   9.0Kb   tapestry/ComponentReference/Any.html
^                                   
tapestry/apidocs/org/apache/tapestry/ApplicationServlet.html
^                                   
tapestry/apidocs/org/apache/tapestry/RedirectFilter.html
^                                   
tapestry/apidocs/org/apache/tapestry/IEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/IPropertySource.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/AbstractEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/html/BasePage.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/BaseEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/spec/IApplicationSpecification.html
^                                   
tapestry/apidocs/org/apache/tapestry/request/IRequestDecoder.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/IMonitorFactory.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/IMonitor.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/DefaultMonitorFactory.html
^                                   
tapestry/apidocs/org/apache/tapestry/resolver/ISpecificationResolverDelegate.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/ITemplateSourceDelegate.html
^                                   
tapestry/apidocs/org/apache/tapestry/multipart/IMultipartDecoder.html
^                                   
tapestry/apidocs/org/apache/tapestry/multipart/DefaultMultipartDecoder.html
* [48/34]   [0/59]    0.641s 31.6Kb  UsersGuide/configuration.html
* [49/33]   [0/61]    0.441s 12.2Kb  tapestry/ComponentReference/Foreach.html
* [50/32]   [0/0]     0.28s  11.9Kb
* [51/31]   [0/46]    0.381s 7.7Kb   tapestry/index.html
* [52/32]   [2/34]    0.591s 21.0Kb  UsersGuide/index.html
* [54/30]   [0/61]    0.43s  12.2Kb  tapestry/ComponentReference/Form.html
* [58/26]   [0/45]    0.411s 9.0Kb   tapestry/ComponentReference/Delegator.html
* [59/25]   [0/45]    0.411s 9.0Kb   tapestry/ComponentReference/Body.html
* [62/22]   [0/45]    0.55s  9.0Kb   tapestry/ComponentReference/LinkSubmit.html
* [63/21]   [0/21]    0.521s 12.1Kb  problems.html
* [64/20]   [0/45]    0.391s 9.0Kb   tapestry/ComponentReference/TextArea.html
^                                   
tapestry/apidocs/org/apache/tapestry/IEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/engine/BaseEngine.html
^                                   
tapestry/apidocs/org/apache/tapestry/IComponent.html
^                                   
tapestry/apidocs/org/apache/tapestry/BaseComponent.html
^                                   
tapestry/apidocs/org/apache/tapestry/IPage.html
^                                   
tapestry/apidocs/org/apache/tapestry/html/BasePage.html
* [65/19]   [0/118]   1.141s 58.1Kb  UsersGuide/spec.html
* [66/18]   [0/21]    0.401s 8.4Kb   todo.html
* [67/17]   [0/0]     0.27s  11.9Kb  UsersGuide/
* [68/16]   [0/0]     2.604s 348b    skin/images/rc-b-l-15-1body-2menu-3menu.png
* [69/15]   [0/45]    0.691s 9.0Kb   tapestry/ComponentReference/Rollover.html
* [70/15]   [1/33]    0.491s 33.6Kb  UsersGuide/template.html
* [73/12]   [0/45]    0.4s   9.0Kb   tapestry/ComponentReference/PageLink.html
* [74/23]   [12/12]   0.261s 11.9Kb  skin/screen.css
* [75/22]   [0/0]     0.08s  390b    skin/images/rc-t-r-15-1body-2menu-3menu.png
* [76/21]   [0/0]     0.07s  207b   
skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png
* [78/19]   [0/0]     0.07s  214b   
skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png
* [79/18]   [0/0]     0.09s  215b   
skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png
* [81/16]   [0/0]     0.07s  207b   
skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png
* [82/15]   [0/0]     0.301s 215b   
skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png
* [83/14]   [0/0]     0.07s  207b   
skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png
* [84/13]   [0/0]     0.07s  201b   
skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png
* [86/11]   [0/0]     0.06s  319b    skin/images/rc-b-r-15-1body-2menu-3menu.png
* [87/10]   [0/21]    0.641s 30.8Kb  faq.html
* [88/9]    [0/45]    0.381s 9.0Kb   tapestry/ComponentReference/Block.html
* [89/8]    [0/0]     0.11s  3.8Kb   skin/profile.css
* [90/7]    [0/45]    0.41s  9.0Kb   tapestry/ComponentReference/ActionLink.html
* [91/6]    [0/45]    0.591s 9.0Kb  
tapestry/ComponentReference/RenderBlock.html
* [93/4]    [0/45]    0.391s 9.0Kb   tapestry/ComponentReference/Script.html
* [94/3]    [0/45]    0.39s  9.0Kb   tapestry/ComponentReference/Shell.html
* [95/2]    [0/0]     0.05s  1.1Kb   skin/print.css
* [96/1]    [0/45]    0.601s 9.0Kb   tapestry/ComponentReference/ValidField.html
Total time: 0 minutes 42 seconds,  Site size: 841,688 Site pages: 73
------------------------------
Static site was successfully generated at:
C:\workspace\jakarta-tapestry/target/docs
------------------------------


BUILD SUCCESSFUL
Total time: 48 seconds

C:\workspace\jakarta-tapestry>



With the same results.



C:\workspace\jakarta-tapestry>set FORR
FORREST_HOME=c:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core

C:\workspace\jakarta-tapestry>


There waa some thinking that there an issue with forrest home being in
the same directory ... here I'm building in workspace/jakarta-tapestry
and FORREST_HOME is entirely elsewhere.



On Wed, 3 Nov 2004 13:29:53 -0500, Howard Lewis Ship <hlship@gmail.com> wrote:
> Thanks for looking at my issues.
> 
> I have to focus on client work for a little bit.
> 
> I created a wiki page to describe the Tapestry build a little better:
> 
> http://wiki.apache.org/jakarta-tapestry/BuildingTapestry31
> 
> 
> 
> 
> On Wed, 3 Nov 2004 12:26:25 -0500, Howard Lewis Ship <hlship@gmail.com> wrote:
> > You need to create a build.properties file in jakarta-tapestry/config.
> >
> > It should have hivebuild.dir=full path to jakarta-hivemind/hivebuild
> >
> > So you need jakarta-hivemind as well as jakarta-tapestry
> >
> > The Users Guide is the only problem, currently.
> >
> > The issue is that UsersGuide/index.html is exactly the same as /index.html.
> >
> > I've been down the road on xml element names, I'll try again shortly.
> >
> >
> >
> >
> > On Wed, 03 Nov 2004 02:09:32 +0100, Nicola Ken Barozzi
> > <nicolaken@apache.org> wrote:
> > > Howard Lewis Ship wrote:
> > > > Now I'm trying to get the Tapestry site working with Forrest 0.6.
> > > >
> > > > I'm httting the same problem with my navigation that I did with
> > > > HiveMind.  On *some* tabs, the index.html within a particular
> > > > directory is a verbatim copy of the root index.html (which means it
> > > > not only has the wrong content, but has bad relative links to
> > > > styesheets and images).
> > >
> > > I'm having a hard time trying to replicate things here, as the Tapestry
> > > docs are assembled during the build, and ant complains it cannot find
> > > ${hivebuild.dir}/project.xml.
> > >
> > > Any tips?
> > >
> > > > I've put up a version of the resulting site at
> > > > http://jakarta.apache.org/~hlship/tapestry
> > >
> > > So the problem there is with the Users Guide tab?
> > >
> > > I have done a 'forrest run' in the main jakarta-tapestry dir and the
> > > site, albeit partial, seems to work, with the Users Guide showing.
> > >
> > > Try doing a 'forrest run' on the assembled website and see if it works ok.
> > >
> > > Also try giving a different name to all xml elements, as the resolution
> > > is done also with some wildcard xpaths.
> > >
> > > --
> > > 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
> >
> 
> --
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
> http://howardlewisship.com
> 


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

Mime
View raw message