• Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7, 0.8
    • Fix Version/s: 0.8
    • Labels:


      Working through the docs, I found a few bugs. Fixing these will be especially helpful to beginners who are trying to align instructions and reality. Unless stated otherwise, the bugs below apply to both the v0.7 docs and the v0.8dev docs even if the URL is for v0.7.

      1. [docs, message when running "forrest seed",], section "Seeding a new project": The message that is displayed when running "forrest seed" lists src/documentation/resources/images as one of the generated directories, but this directory does not exist. Instead, there is a src/documentation/content/xdocs/images directory.

      Further, the file generated when running "forrest seed" has this comment line:


      to document the default value used by forrest, but this directory does not exist. Strangely, $FORREST_HOME/main/webapp/ contains:


      Is there yet another place where project.images-dir is ultimately set to ${project.xdocs-dir}/images?

      2. [docs, message when running "forrest seed"], section "Seeding a new project": I think the line that says:

      /src/documentation/content/xdocs # Site content.

      should read:

      /src/documentation/content # Site content.

      (There already is a line for "XML content".)

      3. [docs, message when running "forrest seed",], section "Seeding a new project": Running "forrest seed" no longer generates a "status.xml" file.

      4. [docs], section "Seeding a new project": The output of "tree" given differs slightly from the set of files actually created when running "forrest seed".

      5. [docs] In the "tabs.xml" section, the two-level tab example is nonsensical because the href attribute value of the first-level tab is an external URL: The second-level tabs are never displayed.

      6. [docs] The first section heading should be "forrest.xmap" instead of "sitemap.xmap".

      7. [docs] There is a formatting bug in the last sitemap snippet (bottom of the page): The <strong> markup should not be inside the <pre> section, it shows up verbatim.

      8. [docs] On the same line that has bug (7), the {forrest:stylesheets} variable should be {project:resources.stylesheets}.

      9. [docs] In the "Using sections" section, it still says that the section title is an attribute of the <section> element, but in document-v20, the title is a child element.

      10. [docs] In the "Indirect linking" section, the displayed URL should be "" instead of "". Note: The href attribute is correct.

      11. [docs] In the "TheProject must:" section, in the third bullet, the {projecthome} variable should be {docroot}.

      12. [docs] In the "Prerequisites" section, the "DTD documentation" link in the note box should point to the howto-v20 DTD instead of the howto-v13 DTD. [This one is already fixed in v0.8dev.]

      13. [docs] In the "Workstage Properties" section, the default value for is listed as "work", but it's actually "work/${}" (see tools/forrestbot/core/build.xml, line 20).

      14. [docs] In the "Workstage Properties" section, the description for property "deploy.local.dir" says that relative paths will be relative to ${bot.home}, but they are actually relative to ${basedir}.




            • Assignee:
              rcalmbac Richard Calmbach
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: