Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 76305 invoked from network); 10 Jun 2006 08:12:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jun 2006 08:12:07 -0000 Received: (qmail 74977 invoked by uid 500); 10 Jun 2006 08:12:06 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 74791 invoked by uid 500); 10 Jun 2006 08:12:05 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 74739 invoked by uid 99); 10 Jun 2006 08:12:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jun 2006 01:12:04 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jun 2006 01:12:01 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id AEDAC1A9866; Sat, 10 Jun 2006 01:11:16 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r413268 [11/11] - in /forrest/site: ./ docs_0_60/ docs_0_70/ docs_0_80/ Date: Sat, 10 Jun 2006 08:11:11 -0000 To: svn@forrest.apache.org From: crossley@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060610081116.AEDAC1A9866@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Modified: forrest/site/docs_0_80/faq.html URL: http://svn.apache.org/viewvc/forrest/site/docs_0_80/faq.html?rev=413268&r1=413267&r2=413268&view=diff ============================================================================== --- forrest/site/docs_0_80/faq.html (original) +++ forrest/site/docs_0_80/faq.html Sat Jun 10 01:11:09 2006 @@ -442,7 +442,7 @@ 2.18. How can I internationalise (i18n) my content?
  • -2.19. How can I include HTML content that is not to be skinned by Forrest? +2.19. How can I include HTML content that is not to be skinned by Forrest?
  • 2.20. How to include additional Javascript and CSS files? @@ -1129,10 +1129,10 @@ by the Cocoon i18n Transformer. You can see an example of how it works in the above linked issue.

    - +

    2.19. How can I include HTML content that is not to be skinned by Forrest?

    -^ +^

    To serve, for example a legacy HTML site, add something like the following @@ -1165,12 +1165,12 @@

  • forrest
  • -Read the doc +http://localhost:8888/samples/linking.html#no-decoration
  • - +

    2.20. How to include additional Javascript and CSS files?

    ^ @@ -1194,9 +1194,9 @@ <map:resource name="skin-read"> section.

    - +

    3. Technical

    - +

    3.1. Where is the Java code?

    ^ @@ -1219,7 +1219,7 @@ with specialised purpose, e.g. PhotoGallery.

    - +

    3.2. How to enhance the responsiveness of the cache?

    ^ @@ -1245,7 +1245,7 @@

    Responsiveness can be further enhanced by utilising a transparent proxy server, e.g. Apache HTTP Server as a frontend. See CocoonAndApacheModProxy.

    - +

    3.3. I'm behind a proxy and it's preventing Plugins from being downloaded, what should I do?

    @@ -1261,7 +1261,7 @@ To avoid to edit every project forrest.properties files, you can do once in your ${user.home}/forrest.properties !
    - +

    3.4. How can I generate html-pages to show the revision tag of cvs?

    ^ @@ -1274,7 +1274,7 @@

    This technique could also be used for a modification date with $Date: 2004/01/15 08:52:47 $

    - +

    3.5. How to control the processing of URIs by Cocoon, e.g. exclude certain URIs, include other additional ones.

    @@ -1312,7 +1312,7 @@ foo/** to match that.
    - +

    3.6. How do I stop Forrest breaking on links to external files that may not exist, like javadocs?

    @@ -1323,7 +1323,7 @@ cli.xconf Cocoon config file, and defining patterns for URLs to exclude.

    - +

    3.7. Some of my files are not being processed because they use common filenames.

    ^ @@ -1339,7 +1339,7 @@ with this issue (FOR-217).

    - +

    3.8. What do the symbols and numbers mean when Forrest lists each document that it has built?

    @@ -1370,7 +1370,7 @@
    - +

    3.9. When generating PNG images from SVG, I get an error: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

    @@ -1383,7 +1383,7 @@
    forrest -Dforrest.jvmargs=-Djava.awt.headless=true site

    See also Cocoon FAQ.

    - +

    3.10. The project logo that is generated from SVG is truncating my project name.

    @@ -1403,7 +1403,7 @@ SVG resources.

    - +

    3.11. How do i configure my favourite XML editor or parser to find the local Forrest DTDs?

    @@ -1413,7 +1413,7 @@

    Notes are provided for various tools at Using Catalog Entity Resolver for local DTDs.

    - +

    3.12. How to make the site look better and change its skin?

    ^ @@ -1425,7 +1425,7 @@

    See notes about configuration of the skins. Some projects may have special needs and can define their own skin.

    - +

    3.13. How do I enable XSP processing?

    ^ @@ -1473,7 +1473,7 @@

    See also the AddingXSPToForrest Wiki page.

    - +

    3.14. How do breadcrumbs work? Why don't they work locally?

    ^ @@ -1492,7 +1492,7 @@ are viewing the site locally, there is no domain and so there will be no extra breadcrumbs, only the ones that are specified in skinconf.xml.

    - +

    3.15. How do I make forrest run listen on a different port?

    ^ @@ -1508,7 +1508,7 @@

    - +

    3.16. Can I run Forrest with Java debugging turned on?

    ^ @@ -1520,7 +1520,7 @@ to the forrest.jvmargs property in the forrest.properties file. Don't forget to ensure the property is uncommented in that file.

    - +

    3.17. How do I enable Cocoon's document checksum feature?

    ^ @@ -1554,9 +1554,9 @@ installation-wide cli.xconf file.

    - +

    4. Older version: 0.6

    - +

    4.1. Some of my files are not being processed because they use common filenames.

    ^ @@ -1572,9 +1572,9 @@ with this issue (FOR-217).

    - +

    5. General

    - +

    5.1. What is the relationship between site.xml and book.xml?

    ^ @@ -1588,7 +1588,7 @@ site.xml-generated menus aren't appropriate. See Menus and Linking.

    - +

    5.2. How do I use DocBook as the XML documentation format?

    ^ @@ -1684,7 +1684,7 @@ different DTDs, then see Using Forrest for configuration guidance.

    - +

    5.3. How to report which version of Forrest is being used and the properties that are set?

    @@ -1697,7 +1697,7 @@ watch the build messages. Doing 'forrest -v' will provide verbose build messages.

    - +

    5.4. Where are the log files to find more infomation about errors?

    ^ @@ -1716,7 +1716,7 @@

    Doing 'forrest -v' will provide verbose build messages to the standard output.

    - +

    5.5. How to help?

    ^ @@ -1727,7 +1727,7 @@ particularly from newcomers—often, close proximity blinds software developers to faults that are obvious to everyone else. Don't be shy!

    - +

    5.6. How to contribute a patch?

    ^ @@ -1738,7 +1738,7 @@

    More info about contributing can be found at the Contributing to Forrest page. It is always a good idea to check the Forrest issue tracker before diving in.

    - +

    5.7. How can job positions be advertised?

    ^ Modified: forrest/site/docs_0_80/faq.pdf URL: http://svn.apache.org/viewvc/forrest/site/docs_0_80/faq.pdf?rev=413268&r1=413267&r2=413268&view=diff ============================================================================== Binary files - no diff available. Modified: forrest/site/docs_0_80/faq.xml URL: http://svn.apache.org/viewvc/forrest/site/docs_0_80/faq.xml?rev=413268&r1=413267&r2=413268&view=diff ============================================================================== --- forrest/site/docs_0_80/faq.xml (original) +++ forrest/site/docs_0_80/faq.xml Sat Jun 10 01:11:09 2006 @@ -395,7 +395,7 @@

    All internationalistation of tokens in, for example, the skins and the menus, is carried out by the Cocoon i18n Transformer. You can see an example of how it works in the above linked issue.

    -
    2.19. How can I include HTML content that is not to be skinned by Forrest? +
    2.19. How can I include HTML content that is not to be skinned by Forrest?

    To serve, for example a legacy HTML site, add something like the following to your project's sitemap and place the source content at the src/documentation/content/xdocs/old_site/ directory.

    @@ -420,7 +420,7 @@
  • cd seed
  • forrest seed-sample
  • forrest
  • -
  • Read the doc
  • +
  • http://localhost:8888/samples/linking.html#no-decoration
  • 2.20. How to include additional Javascript and CSS files?

    Modified: forrest/site/forrest-issues.html URL: http://svn.apache.org/viewvc/forrest/site/forrest-issues.html?rev=413268&r1=413267&r2=413268&view=diff ============================================================================== --- forrest/site/forrest-issues.html (original) +++ forrest/site/forrest-issues.html Sat Jun 10 01:11:09 2006 @@ -192,9 +192,6 @@ [FOR-591] MaxMemory needs increasing for large document sets: Memory Leak with XMLFileModule

  • -[FOR-713] HTML-to-document.xsl no longer generates an XDoc -
  • -
  • [FOR-855] verify the license situation prior to each release
  • @@ -207,9 +204,6 @@ [FOR-865] Add missing entries to status.xml to generate the changes list
  • -[FOR-891] css-validator reports CSS errors and many warnings for pelt skin -
  • -
  • [FOR-572] run a memory profiler while forrest is operating
  • @@ -263,6 +257,12 @@
  • [FOR-726] use locationmap in all of the plugins
  • +
  • +[FOR-721] entries without labels in site.xml are now being crawled and generated +
  • +
  • +[FOR-677] leading slash in gathered URIs causes double the number of links to be processed +
  • @@ -293,23 +293,7 @@ <br/> (NB maxmemory has been increased in our site-author/forrest.properties, if we resolve this issue it should be reduced again)

    - -

    [FOR-713] HTML-to-document.xsl no longer generates an XDoc

    -
    -

    -http://issues.apache.org/jira/browse/FOR-713 -

    -

    html-to-document.xsl no longer converts content to an XDoc. Instead it renders converts documents to XDoc, instead it allows H1, H2 etc. elements to pass through. -<br/> - -<br/> -The result is a page that seems to render correctly and in the single test case I have used it still renders correctly in PDF and Text format. However, this is a backward incompatible change that will break sites that use includes with XPath statements such as /section[@id=&quot;foo&quot;] (sections are no longer created) -<br/> - -<br/> -

    -
    - +

    [FOR-855] verify the license situation prior to each release

    @@ -331,7 +315,7 @@ <br/>

    - +

    [FOR-867] need doc to explain status of skins and dispatcher

    @@ -343,7 +327,7 @@ <br/> I have already commenced this xdoc.

    - +

    [FOR-868] add relevant notes to the "Upgrading" xdoc

    @@ -351,7 +335,7 @@

    We need to add some notes to the upgrading_0*.html doc for the upcoming release. This would most easily be done after attending to <a href="http://issues.apache.org/jira/browse/FOR-865" title="Add missing entries to status.xml to generate the changes list">FOR-865</a> &quot;Add missing entries to status.xml to generate the changes list&quot;.

    - +

    [FOR-865] Add missing entries to status.xml to generate the changes list

    @@ -369,17 +353,7 @@ <br/> <a href="http://marc.theaimsgroup.com/?t=114274836600001">http://marc.theaimsgroup.com/?t=114274836600001</a>

    - -

    [FOR-891] css-validator reports CSS errors and many warnings for pelt skin

    -
    -

    -http://issues.apache.org/jira/browse/FOR-891 -

    -

    Our home page does not pass CSS validation with <a href="http://jigsaw.w3.org/css-validator/">http://jigsaw.w3.org/css-validator/</a> -<br/> -

    -
    - +

    [FOR-572] run a memory profiler while forrest is operating

    @@ -387,7 +361,7 @@

    We need to run a memory profiler while forrest is operating.

    - +

    [FOR-533] Auto Generate plugins.xml entry

    @@ -403,7 +377,7 @@ <br/> This change will require that the plugins.xml file be retrieved from the build directory rather than the plugins directory when building the plugin documentation pages. We will therefore need a fall back to retrieve this file from the network if it is not currently available - this can be done with the locationmap

    - +

    [FOR-639] define terminology for the various aspects of Dispatcher

    @@ -415,7 +389,7 @@ <br/>

    - +

    [FOR-735] Plugins are not correctly deployed in webapp mode

    @@ -431,7 +405,7 @@ <br/> - the pdf links give an error &quot;Resource Not Found&quot;

    - +

    [FOR-711] Cache results from the Locationmap

    @@ -447,7 +421,7 @@ <br/> If we test all locationmaps and find no result we should record that tere is no result in this hashmap. This will also be a good place to throw an exception so that Cocoon can better report such errors (see <a href="http://issues.apache.org/jira/browse/FOR-701" title="Missing locationmap entry gives poor error">FOR-701</a>)

    - +

    [FOR-742] trouble accessing unversioned plugin for a released version of Forrest, e.g. projectInfo

    @@ -461,7 +435,7 @@ <br/> <a href="http://marc.theaimsgroup.com/?t=113176328300002">http://marc.theaimsgroup.com/?t=113176328300002</a>

    - +

    [FOR-876] locationmap demo in fresh-site is broken

    @@ -473,7 +447,7 @@ <br/> <a href="http://marc.theaimsgroup.com/?t=114681865100003">http://marc.theaimsgroup.com/?t=114681865100003</a>

    - +

    [FOR-241] character entities (e.g. ampersand) are expanded again for href or src attributes

    @@ -519,7 +493,7 @@ <br/> the ampersand in the link href attribute is not.

    - +

    [FOR-210] whole-site html and pdf: broken link faq, broken image links

    @@ -529,7 +503,7 @@ <br/>

    - +

    [FOR-209] First level selected tab is not highlighted when containing 2nd level tabs

    @@ -543,7 +517,7 @@ <br/>

    - +

    [FOR-211] whole-site html and pdf: broken ext links

    @@ -551,7 +525,7 @@

    In the the generated site.html all of the external links are broken (i.e. the href attributes are like ... error:#ext:forrest).

    - +

    [FOR-203] 2nd level tabs are not selected appropriately

    @@ -573,7 +547,7 @@ <br/> &nbsp;&nbsp;Lorenz Froihofer.

    - +

    [FOR-200] Locationmap for Forrest and Users

    @@ -585,7 +559,7 @@ <br/> Beware that it will not work for raw files that are not linked, as this &quot;feature&quot; currently uses a fixed dir being being copied by Ant.

    - +

    [FOR-546] Sitemap reference doc should be updated to reflect plugin architecture

    @@ -617,7 +591,7 @@ <br/> I found out about this because my sitemap uses the fo2pdf too (docbook to PDF), and had to add the serializer.

    - +

    [FOR-560] Remove duplicate jars from eclipse plugins

    @@ -625,7 +599,7 @@

    tools/eclipse/plugins/org.apache.forrest.eclipse.servletEngine/lib contains some duplicate jars to those in the main Forrest trunk. We should find a way of reusing the jars from their existing location.

    - +

    [FOR-644] code-style cleanup for xml files

    @@ -635,7 +609,7 @@ <br/>

    - +

    [FOR-666] clarify the sitemap matches etc. in FAQ about non-skinned html

    @@ -651,7 +625,7 @@ <br/> &lt;map:match pattern=&quot;old_site/**.html&quot;&gt;

    - +

    [FOR-726] use locationmap in all of the plugins

    @@ -662,6 +636,38 @@ <br/> (Perhaps we need Jira sub-tasks for each plugin.)

    +
    + +

    [FOR-721] entries without labels in site.xml are now being crawled and generated

    +
    +

    +http://issues.apache.org/jira/browse/FOR-721 +

    +

    In our forrest/site-author/content/xdocs/site.xml there are two entries without &quot;label&quot; attributes. Previously these documents were not being generated. Not sure if this change in behaviour is good or bad. Needs investigation. +<br/> + +<br/> +This is most likely a side-effect of the workaround for issue <a href="http://issues.apache.org/jira/browse/FOR-675" title="upgrading to commons-jxpath-1.2.jar causes failures with linkrewriter protocols site: etc.">FOR-675</a>

    +
    + +

    [FOR-677] leading slash in gathered URIs causes double the number of links to be processed

    +
    +

    +http://issues.apache.org/jira/browse/FOR-677 +

    +

    Doing 'forrest' starts at the virtual document called linkmap.html where the Cocoon crawler gathers the initial set of links, then starts crawling and generating pages. Any new links are pushed onto the linkmap. However, for some sites, such as our own &quot;seed-sample&quot; and our &quot;site-author&quot;, there is a sudden jump in the number of URIs remaining to be processed. +<br/> + +<br/> +This is due to a URI with a leading slash (e.g. /samples/faq.html). When that URI is processed, it gains a whole new set of links all with leading slashes, and so the list of URIs is potentially doubled. +<br/> + +<br/> +This issue could be due to a user error, i.e. adding a link that deliberately begins with a slash. Sometimes, that is unavoidable. +<br/> + +<br/> +However, we do have a sitemap transformer to &quot;relativize&quot; and &quot;absolutize&quot; the links. Should it always trim the leading slash? Or are there cases where that should not happen, so cannot generalise?