You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Thorsten Scherler <th...@apache.org> on 2005/06/30 16:52:27 UTC

Re: user@forrest.apache.org forrest 0.7 build a plugin problem index.html BROKEN: The string "--" is not permitted within comments.

On Thu, 2005-06-30 at 16:26 +0200, Paul.Divine@alcatel.fr wrote:
> 
> Thanks for the reponse, the ANT_HOME variable was not cleared. 
> 
> Now I have the following result. 
> 
> index.html        BROKEN: The string "--" is not permitted within
> comments. 
> changes.html 
> todo.html 
> 

you *cannot* use something like:
<!--comment -- bla -->

Please look in your files and find '--'/replace '-'. 

HTH

> 
> In the given plugin I did find any changes.xml or todo.xml files to
> serve as exemple. 
> 
> 
> D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv>set ANT_HOME= 
> 
> D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv>D:\DATA\apache
> \apache-forrest-0.7\tools\ant\bin\ant 
>  test 
> Buildfile: build.xml 
> 
> init: 
>      [echo] 
>      [echo]
> -------------------------------------------------------------- 
>      [echo] 
>      [echo]       Using Apache Ant version 1.6.2 compiled on July 16
> 2004 
>      [echo]       Build file D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build.xml 
>      [echo]       Use 'build.[sh|bat] -projecthelp' to see other
> options. 
>      [echo]       Build system home D:\DATA\apache\apache-forrest-0.7
> \tools\ant\bin\.. 
>      [echo]       Build number 2 
>      [echo]       Project Name Forrest
> divine.paul.forrest.plugin.input.csv build file 
>      [echo]       Java Version 1.4 
>      [echo]       Timestamp 200506301331 
>      [echo] 
>      [echo]
> -------------------------------------------------------------- 
>      [echo] 
> 
> clean: 
>    [delete] Deleting directory D:\DATA\apache\apache-forrest-0.7\build
> \plugins\divine.paul.forrest.plugin.input.csv 
> 
> compile: 
> 
> jar: 
>       [jar] Building jar: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\divine.paul.forrest 
> .plugin.input.csv.jar 
> 
> local-deploy: 
>      [echo] Locally deploying divine.paul.forrest.plugin.input.csv 
>      [copy] Copying 24 files to D:\DATA\apache\apache-forrest-0.7
> \build\plugins\divine.paul.forrest.plugin.input.csv 
>      [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7\build
> \plugins\lib 
> 
> build: 
> 
> docs: 
>      [echo] Building Docs for divine.paul.forrest.plugin.input.csv 
> 
> check-java-version: 
>      [echo] This is apache-forrest-0.8 
>      [echo] Using Java 1.4 from D:\Documents and Settings\divine1\My
> Documents\j2sdk1.4.2_03\jre 
> 
> init-props: 
> 
> echo-settings: 
> 
> check-skin: 
> 
> init-proxy: 
>      [echo] Using proxy : 155.132.205.135:3128 
> 
> fetch-skins-descriptors: 
> 
> fetch-skin: 
> 
> unpack-skins: 
> 
> init-skins: 
> 
> init-plugins: 
>      [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
>      [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
>      [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
>      [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
>      [echo] Installing plugin: divine.paul.forrest.plugin.input.csv 
> 
> check-plugin: 
>      [echo] divine.paul.forrest.plugin.input.csv is available in the
> build dir 
> 
> init-props: 
> 
> echo-settings: 
> 
> init-proxy: 
>      [echo] Using proxy : 155.132.205.135:3128 
> 
> fetch-plugins-descriptors: 
> 
> fetch-plugin: 
> 
> unpack-plugin: 
> 
> install-plugin: 
> 
> configure-plugin: 
> 
> configure-input-plugin: 
>      [echo] Mounting input plugin:
> divine.paul.forrest.plugin.input.csv 
>      [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\input.xmap to D:\D 
> ATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\input.xmap.new 
>      [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main
> \var\pluginMountSnippet.xsl 
>      [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
>      [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\resources.xmap to 
> D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\resources.xmap.new 
>      [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main
> \var\pluginMountSnippet.xsl 
>      [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
>      [echo] Installing plugin:
> org.apache.forrest.plugin.input.projectInfo 
> 
> check-plugin: 
>      [echo] org.apache.forrest.plugin.input.projectInfo is available
> in the build dir 
> 
> init-props: 
> 
> echo-settings: 
> 
> init-proxy: 
>      [echo] Using proxy : 155.132.205.135:3128 
> 
> fetch-plugins-descriptors: 
> 
> fetch-plugin: 
> 
> unpack-plugin: 
> 
> install-plugin: 
> 
> configure-plugin: 
> 
> configure-input-plugin: 
>      [echo] Mounting input plugin:
> org.apache.forrest.plugin.input.projectInfo 
>      [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\input.xmap to D:\D 
> ATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\input.xmap.new 
>      [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main
> \var\pluginMountSnippet.xsl 
>      [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
>      [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\resources.xmap to 
> D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\resources.xmap.new 
>      [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main
> \var\pluginMountSnippet.xsl 
>      [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
>      [echo] Installing plugin: org.apache.forrest.plugin.output.pdf 
> 
> check-plugin: 
>      [echo] org.apache.forrest.plugin.output.pdf is available in the
> build dir 
> 
> init-props: 
> 
> echo-settings: 
> 
> init-proxy: 
>      [echo] Using proxy : 155.132.205.135:3128 
> 
> fetch-plugins-descriptors: 
> 
> fetch-plugin: 
> 
> unpack-plugin: 
> 
> install-plugin: 
> 
> configure-plugin: 
> 
> configure-output-plugin: 
>      [echo] Mounting output plugin:
> org.apache.forrest.plugin.output.pdf 
>      [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\output.xmap to D:\ 
> DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\output.xmap.new 
>      [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main
> \var\pluginMountSnippet.xsl 
>      [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\tmp 
> 
> init: 
> 
> -prepare-classpath: 
> 
> check-contentdir: 
> 
> examine-proj: 
> 
> validation-props: 
> 
> validate-xdocs: 
> [xmlvalidate] 2 file(s) have been successfully validated. 
>      [echo] ...validated xdocs 
> 
> validate-skinconf: 
> [xmlvalidate] 1 file(s) have been successfully validated. 
>      [echo] ...validated skinconf 
> 
> validate-sitemap: 
>      [echo] ...validated project sitemap 
> 
> validate-skins-stylesheets: 
> 
> validate-skins: 
> 
> validate-skinchoice: 
>      [echo] ...validated existence of skin 'pelt' 
> 
> validate-stylesheets: 
> 
> validate: 
> 
> site: 
>      [echo] 
>      [echo] Copying the various non-generated resources to site. 
>      [echo] Warnings will be issued if the optional project resources
> are not found. 
>      [echo] This is often the case, because they are optional and so
> may not be available. 
>      [echo] Copying project resources and images to site ... 
>      [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\webapp\resources not fou 
> nd. 
>      [copy] Copied 1 empty directory to 1 empty directory under D:
> \DATA\apache\apache-forrest-0.7\plugins\divine.paul.forrest.plug 
> in.input.csv\build\site 
>      [echo] Copying main skin images to site ... 
>     [mkdir] Created dir: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\site\skin\images 
>      [copy] Copying 23 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\site\skin\ima 
> ges 
>      [copy] Copying 14 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\site\skin\ima 
> ges 
>      [echo] Copying project skin images to site ... 
>      [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\src\documentation\skins\common 
> \images not found. 
>      [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\src\documentation\skins\pelt\i 
> mages not found. 
>      [echo] Copying main skin css and js files to site ... 
>      [copy] Copying 12 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\site\skin 
>      [copy] Copied 4 empty directories to 3 empty directories under D:
> \DATA\apache\apache-forrest-0.7\plugins\divine.paul.forrest. 
> plugin.input.csv\build\site\skin 
>      [copy] Copying 6 files to D:\DATA\apache\apache-forrest-0.7
> \plugins\divine.paul.forrest.plugin.input.csv\build\site\skin 
>      [echo] Copying project skin css and js files to site ... 
>      [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\src\documentation\skins\common 
>  not found. 
>      [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\src\documentation\skins\pelt n 
> ot found. 
>      [echo] Finished copying the non-generated resources. 
>      [echo] Now Cocoon will generate the rest ... 
>      [echo] 
>      [echo] Static site will be generated at: 
>      [echo] D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\site 
>      [echo] 
>      [echo] Note that there are various reasons for "build failed"
> messages. 
>      [echo] * Cocoon will report the status of each document: 
>      [echo]   - in column 1: *=okay X=brokenLink ^=pageSkipped (see
> FAQ). 
>      [echo] * Even if only one link is broken, you will still get
> "failed". 
>      [echo] * Your site would still be generated, but some pages would
> be broken. 
>      [echo] * Please check the file: 
>      [echo] D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\brokenlinks.xml 
>      [echo] for any broken links in the generated site. 
>      [java]
> ------------------------------------------------------------------------ 
>      [java] cocoon 2.2.0-dev 
>      [java] Copyright (c) 1999-2005 Apache Software Foundation. All
> rights reserved. 
>      [java]
> ------------------------------------------------------------------------ 
> 
> 
>      [java] Lazy mode: true 
>      [java] Cannot find CatalogManager.properties 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] * [1/16]    [16/16]   4.344s 5.4Kb   linkmap.html 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] * [2/15]    [0/0]     0.328s 2.7Kb   skin/basic.css 
>      [java] * [3/14]    [0/0]     0.047s 1.1Kb   skin/print.css 
>      [java] Lazy mode: true 
>      [java] * [4/13]    [0/0]     2.875s 7.5Kb   images/group.png 
>      [java] * [5/12]    [0/0]     0.156s 376b
>  skin/images/rc-b-l-15-1body-2menu-3menu.png 
>      [java] * [6/11]    [0/0]     0.25s  17.5Kb  images/project.png 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] Lazy mode: true 
>      [java] X [0]                                     changes.html
>    BROKEN: The string "--" is not permitted within comments. 
>      [java] * [10/7]    [0/0]     0.218s 3.9Kb   skin/profile.css 
>      [java] X [0]                                     todo.html
> BROKEN: The string "--" is not permitted within comments. 
>      [java] * [14/3]    [0/0]     1.468s 3.3Kb   linkmap.pdf 
>      [java] X [0]                                     index.html
>    BROKEN: The string "--" is not permitted within comments. 
>      [java] * [17/13]   [13/13]   0.282s 12.7Kb  skin/screen.css 
>      [java] * [19/11]   [0/0]     0.047s 414b
>  skin/images/rc-t-r-15-1body-2menu-3menu.png 
>      [java] * [21/9]    [0/0]     0.062s 242b
>  skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png 
>      [java] * [22/8]    [0/0]     0.063s 228b
>  skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png 
>      [java] * [23/7]    [0/0]     0.062s 345b
>  skin/images/rc-b-r-15-1body-2menu-3menu.png 
>      [java] * [24/6]    [0/0]     0.078s 231b
>  skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png 
>      [java] * [25/5]    [0/0]     0.047s 231b
>  skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png 
>      [java] * [26/4]    [0/0]     0.063s 243b
>  skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png 
>      [java] * [27/3]    [0/0]     0.203s 242b
>  skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png 
>      [java] * [28/2]    [0/0]     0.031s 285b
>  images/instruction_arrow.png 
>      [java] * [30/0]    [0/0]     0.047s 236b
>  skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png 
>      [java] Logging Error: Writing event to closed stream. 
>      [java] Total time: 0 minutes 13 seconds,  Site size: 58á851 Site
> pages: 19 
> 
> BUILD FAILED 
> D:\DATA\apache\apache-forrest-0.7\plugins\build.xml:329: The following
> error occurred while executing this line: 
> D:\DATA\apache\apache-forrest-0.7\main\targets\site.xml:41: Java
> returned: 1 
> 
> Total time: 54 seconds 
> D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Then I reduced the site.xml to a minimum but I still have 
> 
> index.html        BROKEN: The string "--" is not permitted within
> comments. 
> 
> 
> 
> 
> 
> <?xml version="1.0"?> 
> <!-- 
>   Copyright 2002-2005 The Apache Software Foundation or its
> licensors, 
>   as applicable. 
> 
>   Licensed under the Apache License, Version 2.0 (the "License"); 
>   you may not use this file except in compliance with the License. 
>   You may obtain a copy of the License at 
> 
>       http://www.apache.org/licenses/LICENSE-2.0 
> 
>   Unless required by applicable law or agreed to in writing, software 
>   distributed under the License is distributed on an "AS IS" BASIS, 
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied. 
>   See the License for the specific language governing permissions and 
>   limitations under the License. 
> --> 
> <!-- 
> Forrest site.xml 
> 
> This file contains an outline of the site's information content.  It
> is used to: 
> - Generate the website menus (though these can be overridden - see
> docs) 
> - Provide semantic, location-independent aliases for internal 'site:'
> URIs, eg 
> <link href="site:changes"> links to changes.html (or ../changes.html
> if in 
>   subdir). 
> - Provide aliases for external URLs in the external-refs section.  Eg,
> <link 
>   href="ext:cocoon"> links to http://cocoon.apache.org/  
> 
> See http://forrest.apache.org/docs/linking.html for more info 
> --> 
> <site label="divine.paul.forrest.plugin.input.csv" href=""
> xmlns="http://apache.org/forrest/linkmap/1.0" tab=""> 
> <!-- 
>   <about label="About"> 
> 
>     <index label="Index" href="index.html" description="Welcome to
> divine.paul.forrest.plugin.input.csv"/> 
>     <forrestPlugins label="Plugins Index" href="site:forrest/plugins"
> description="Index of Forrest Plugins"/> 
>     <changes label="Changes" href="changes.html" description="History
> of Changes" /> 
>     <todo label="Todo" href="todo.html" description="Todo List" /> 
> 
>   </about> 
> --> 
> <!-- 
>   The href must be wholesite.html/pdf  You can change the labels and
> node names 
>   <all label="All"> 
>     <whole_site_html label="Whole Site HTML" href="wholesite.html"/> 
>     <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/> 
>   </all> 
> --> 
> <!-- 
>   <external-refs> 
>     <forrest href="http://forrest.apache.org/"> 
>       <linking href="docs/linking.html"/> 
>       <validation href="docs/validation.html"/> 
>       <webapp href="docs/your-project.html#webapp"/> 
>       <dtd-docs href="docs/dtd-docs.html"/> 
>       <plugins href="docs/plugins"/> 
>     </forrest> 
>   </external-refs> 
> --> 
> </site> 
> 
> 
> 
> 
> 
> 
> 
> 
> The result is  
> 
> 
> 
> 
> DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv>D:\DATA\apache
> \apache-forrest-0.7\tools\ant\bin\ant 
> st 
> ldfile: build.xml 
> 
> t: 
>   [echo] 
>   [echo]
> -------------------------------------------------------------- 
>   [echo] 
>   [echo]       Using Apache Ant version 1.6.2 compiled on July 16
> 2004 
>   [echo]       Build file D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build.xml 
>   [echo]       Use 'build.[sh|bat] -projecthelp' to see other
> options. 
>   [echo]       Build system home D:\DATA\apache\apache-forrest-0.7
> \tools\ant\bin\.. 
>   [echo]       Build number 12 
>   [echo]       Project Name Forrest
> divine.paul.forrest.plugin.input.csv build file 
>   [echo]       Java Version 1.4 
>   [echo]       Timestamp 200506301601 
>   [echo] 
>   [echo]
> -------------------------------------------------------------- 
>   [echo] 
> 
> an: 
> [delete] Deleting directory D:\DATA\apache\apache-forrest-0.7\build
> \plugins\divine.paul.forrest.plugin.input.csv 
> 
> pile: 
> 
> : 
> 
> al-deploy: 
>   [echo] Locally deploying divine.paul.forrest.plugin.input.csv 
>   [copy] Copying 26 files to D:\DATA\apache\apache-forrest-0.7\build
> \plugins\divine.paul.forrest.plugin.input.csv 
> 
> ld: 
> 
> s: 
>   [echo] Building Docs for divine.paul.forrest.plugin.input.csv 
> 
> ck-java-version: 
>   [echo] This is apache-forrest-0.8 
>   [echo] Using Java 1.4 from D:\Documents and Settings\divine1\My
> Documents\j2sdk1.4.2_03\jre 
> 
> t-props: 
> 
> o-settings: 
> 
> ck-skin: 
> 
> t-proxy: 
>   [echo] Using proxy : 155.132.205.135:3128 
> 
> ch-skins-descriptors: 
> 
> ch-skin: 
> 
> ack-skins: 
> 
> t-skins: 
> 
> t-plugins: 
>   [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
>   [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
>   [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
>   [copy] Copying 1 file to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
>   [echo] Installing plugin: divine.paul.forrest.plugin.input.csv 
> 
> ck-plugin: 
>   [echo] divine.paul.forrest.plugin.input.csv is available in the
> build dir 
> 
> t-props: 
> 
> o-settings: 
> 
> t-proxy: 
>   [echo] Using proxy : 155.132.205.135:3128 
> 
> ch-plugins-descriptors: 
> 
> ch-plugin: 
> 
> ack-plugin: 
> 
> tall-plugin: 
> 
> figure-plugin: 
> 
> figure-input-plugin: 
>   [echo] Mounting input plugin: divine.paul.forrest.plugin.input.csv 
>   [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\input.xmap to D:\D 
> \apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\input.xmap.new 
>   [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main\var
> \pluginMountSnippet.xsl 
>   [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
>   [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\resources.xmap to 
> DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\resources.xmap.new 
>   [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main\var
> \pluginMountSnippet.xsl 
>   [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
>   [echo] Installing plugin:
> org.apache.forrest.plugin.input.projectInfo 
> 
> ck-plugin: 
>   [echo] org.apache.forrest.plugin.input.projectInfo is available in
> the build dir 
> 
> t-props: 
> 
> o-settings: 
> 
> t-proxy: 
>   [echo] Using proxy : 155.132.205.135:3128 
> 
> ch-plugins-descriptors: 
> 
> ch-plugin: 
> 
> ack-plugin: 
> 
> tall-plugin: 
> 
> figure-plugin: 
> 
> figure-input-plugin: 
>   [echo] Mounting input plugin:
> org.apache.forrest.plugin.input.projectInfo 
>   [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\input.xmap to D:\D 
> \apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\input.xmap.new 
>   [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main\var
> \pluginMountSnippet.xsl 
>   [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
>   [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\resources.xmap to 
> DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\resources.xmap.new 
>   [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main\var
> \pluginMountSnippet.xsl 
>   [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
>   [echo] Installing plugin: org.apache.forrest.plugin.output.pdf 
> 
> ck-plugin: 
>   [echo] org.apache.forrest.plugin.output.pdf is available in the
> build dir 
> 
> t-props: 
> 
> o-settings: 
> 
> t-proxy: 
>   [echo] Using proxy : 155.132.205.135:3128 
> 
> ch-plugins-descriptors: 
> 
> ch-plugin: 
> 
> ack-plugin: 
> 
> tall-plugin: 
> 
> figure-plugin: 
> 
> figure-output-plugin: 
>   [echo] Mounting output plugin: org.apache.forrest.plugin.output.pdf 
>   [xslt] Processing D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\output.xmap to D:\ 
> A\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\output.xmap.new 
>   [xslt] Loading stylesheet D:\DATA\apache\apache-forrest-0.7\main\var
> \pluginMountSnippet.xsl 
>   [move] Moving 1 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp 
> 
> t: 
> 
> epare-classpath: 
> 
> ck-contentdir: 
> 
> mine-proj: 
> 
> idation-props: 
> 
> idate-xdocs: 
> lvalidate] 2 file(s) have been successfully validated. 
>   [echo] ...validated xdocs 
> 
> idate-skinconf: 
> lvalidate] 1 file(s) have been successfully validated. 
>   [echo] ...validated skinconf 
> 
> idate-sitemap: 
>   [echo] ...validated project sitemap 
> 
> idate-skins-stylesheets: 
> 
> idate-skins: 
> 
> idate-skinchoice: 
>   [echo] ...validated existence of skin 'pelt' 
> 
> idate-stylesheets: 
> 
> idate: 
> 
> e: 
>   [echo] 
>   [echo] Copying the various non-generated resources to site. 
>   [echo] Warnings will be issued if the optional project resources are
> not found. 
>   [echo] This is often the case, because they are optional and so may
> not be available. 
>   [echo] Copying project resources and images to site ... 
>   [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\webapp\resources not fou 
> 
>   [echo] Copying main skin images to site ... 
>   [copy] Copying 23 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\site\skin\ima 
> 
>   [copy] Copying 14 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\site\skin\ima 
> 
>   [echo] Copying project skin images to site ... 
>   [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\src\documentation\skins\common 
> ages not found. 
>   [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\src\documentation\skins\pelt\i 
> es not found. 
>   [echo] Copying main skin css and js files to site ... 
>   [copy] Copying 12 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\site\skin 
>   [copy] Copying 6 files to D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\site\skin 
>   [echo] Copying project skin css and js files to site ... 
>   [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\src\documentation\skins\common 
> t found. 
>   [copy] Warning: D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\src\documentation\skins\pelt n 
> found. 
>   [echo] Finished copying the non-generated resources. 
>   [echo] Now Cocoon will generate the rest ... 
>   [echo] 
>   [echo] Static site will be generated at: 
>   [echo] D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\site 
>   [echo] 
>   [echo] Note that there are various reasons for "build failed"
> messages. 
>   [echo] * Cocoon will report the status of each document: 
>   [echo]   - in column 1: *=okay X=brokenLink ^=pageSkipped (see
> FAQ). 
>   [echo] * Even if only one link is broken, you will still get
> "failed". 
>   [echo] * Your site would still be generated, but some pages would be
> broken. 
>   [echo] * Please check the file: 
>   [echo] D:\DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv\build\tmp\brokenlinks.xml 
>   [echo] for any broken links in the generated site. 
>   [java]
> ------------------------------------------------------------------------ 
>   [java] cocoon 2.2.0-dev 
>   [java] Copyright (c) 1999-2005 Apache Software Foundation. All
> rights reserved. 
>   [java]
> ------------------------------------------------------------------------ 
> 
> 
>   [java] Lazy mode: true 
>   [java] Cannot find CatalogManager.properties 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] * [1/13]    [13/13]   2.766s 3.7Kb   linkmap.html 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] * [2/12]    [0/0]     0.265s 2.7Kb   skin/basic.css 
>   [java] * [3/11]    [0/0]     0.047s 1.1Kb   skin/print.css 
>   [java] Lazy mode: true 
>   [java] * [4/10]    [0/0]     1.641s 7.5Kb   images/group.png 
>   [java] * [5/9]     [0/0]     0.25s  17.5Kb  images/project.png 
>   [java] Lazy mode: true 
>   [java] * [7/7]     [0/0]     0.109s 3.9Kb   skin/profile.css 
>   [java] * [11/3]    [0/0]     1.422s 3.1Kb   linkmap.pdf 
>   [java] Lazy mode: true 
>   [java] Lazy mode: true 
>   [java] X [0]                                     index.html
>  BROKEN: The string "--" is not permitted within comments. 
>   [java] * [14/13]   [13/13]   0.218s 12.7Kb  skin/screen.css 
>   [java] * [16/11]   [0/0]     0.109s 414b
>  skin/images/rc-t-r-15-1body-2menu-3menu.png 
>   [java] * [18/9]    [0/0]     0.062s 242b
>  skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png 
>   [java] * [19/8]    [0/0]     0.047s 228b
>  skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png 
>   [java] * [20/7]    [0/0]     0.079s 345b
>  skin/images/rc-b-r-15-1body-2menu-3menu.png 
>   [java] * [21/6]    [0/0]     0.078s 231b
>  skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png 
>   [java] * [22/5]    [0/0]     0.062s 231b
>  skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png 
>   [java] * [23/4]    [0/0]     0.188s 243b
>  skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png 
>   [java] * [24/3]    [0/0]     0.062s 242b
>  skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png 
>   [java] * [27/0]    [0/0]     0.047s 236b
>  skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png 
>   [java] Logging Error: Writing event to closed stream. 
>   [java] Total time: 0 minutes 9 seconds,  Site size: 56á327 Site
> pages: 17 
> 
> LD FAILED 
> DATA\apache\apache-forrest-0.7\plugins\build.xml:329: The following
> error occurred while executing this line: 
> DATA\apache\apache-forrest-0.7\main\targets\site.xml:41: Java
> returned: 1 
> 
> al time: 15 seconds 
> DATA\apache\apache-forrest-0.7\plugins
> \divine.paul.forrest.plugin.input.csv> 
> 
> 
> 
> 
> Any explanation? 
> 
> Paul
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: user@forrest.apache.org forrest 0.7 build a plugin problem index.html BROKEN: The string "--" is not permitted within comments.

Posted by Ross Gardler <rg...@apache.org>.
Thorsten Scherler wrote:
> On Thu, 2005-06-30 at 16:26 +0200, Paul.Divine@alcatel.fr wrote:
> 
>>Thanks for the reponse, the ANT_HOME variable was not cleared. 
>>
>>Now I have the following result. 
>>
>>index.html        BROKEN: The string "--" is not permitted within
>>comments. 
>>changes.html 
>>todo.html 
>>
> 
> 
> you *cannot* use something like:
> <!--comment -- bla -->
> 
> Please look in your files and find '--'/replace '-'. 

This also happens sometimes when you have not propoerly closed a comment 
and so a comment appears in side a comment. For example:

<!-- incorrectly closed comment ->
<anElement>withContent</anElement>
<1-- another comment -->

If you use an XML editor it will spot these errors for you.

>>In the given plugin I did find any changes.xml or todo.xml files to
>>serve as exemple. 

They are generated from status.xml, see the projectINfo plugin for details.

Ross