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

2005-07-01 Thread Ross Gardler

David Crossley wrote:

[EMAIL PROTECTED] wrote:



...


Then I reduced the site.xml to a minimum ...



But you reduced the site.xml to a completely empty file.



...but I still have

index.htmlBROKEN: The string -- is not permitted within 
comments.


Forrest has to start indexing from somewhere, by default that is 
index.html, reducing site.xml to nothing will make no difference if you 
have an error in index.xml.


I believe your index.xml file is not valid due to an edit you have made.


I will try to find time to following the procedure myself.


David, to save you some time, I built a test plugin yesterday when I 
first saw this report. I followed the How_To and it all worked fine for me.


Paul, please start again, but before editing anything do 'ant test' it 
should (and does on my system) work without any problems. Once you know 
you have a working plugin then try copying your index.html file from the 
broken one into the new one. Does it still work?


This will at least confirm or disprove my suspicions.

Ross


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

2005-06-30 Thread Thorsten Scherler
On Thu, 2005-06-30 at 16:26 +0200, [EMAIL PROTECTED] wrote:
 
 Thanks for the reponse, the ANT_HOME variable was not cleared. 
 
 Now I have the following result. 
 
 index.htmlBROKEN: 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.csvset ANT_HOME= 
 
 D:\DATA\apache\apache-forrest-0.7\plugins
 \divine.paul.forrest.plugin.input.csvD:\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:
 

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

2005-06-30 Thread David Crossley
[EMAIL PROTECTED] wrote:
 Thanks for the reponse, the ANT_HOME variable was not cleared.
 
 Now I have the following result.
 
 index.htmlBROKEN: The string -- is not permitted within 
 comments.
 changes.html
 todo.html
 
 In the given plugin I did find any changes.xml or todo.xml files to serve 
 as exemple.

If you want to use the projectInfo plugin then you would need to copy
an example status.xml from the projectInfo plugin to your plugin.

 Then I reduced the site.xml to a minimum ...

But you reduced the site.xml to a completely empty file.

 ...but I still have
 
 index.htmlBROKEN: The string -- is not permitted within 
 comments.

Don't know what that problem is sorry.
I will try to find time to following the procedure myself.

-David