Re: forrest 0.7 build a plugin Warning: catalogpath listing external catalogs will be ignored in the index.xml template

2005-06-30 Thread David Crossley
[EMAIL PROTECTED] wrote:
 hi,
 
 I following the How to build in plugin to the point 
 
 ant test 
 in the plugin directory.
 
 I did not modify the index.xml template.
 
 the result is the folowing.
 
 validate-xdocs:
 Warning: catalogpath listing external catalogs will be ignored
 
 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\validate.xml:146: Could not 
 validate document D:\DATA\apache\apache-forrest-0.7\plu
 gins\divine.paul.forrest.plugin.input.csv\src\documentation\content\xdocs\index.xml
 
 
 any suggestion.

Please follow the instructions explicitly. It is so important
that i will repeat it here:
http://forrest.apache.org/howto/howto-buildPlugin.html#ant
quote
The following instructions rely heavily on Apache Ant to automate some
steps in the process. Since ant is distributed as part of Forrest,
all you need to do is add the ant executable directory to your system path.
The name of this directory is tools/ant/bin in your Forrest program
directory. (Alternatively you can prefix all calls to ant in the following
instructions with the full path of the ant binary directory.) Also clear
the ANT_HOME environment variable.

If instead you really want to use your own version of Ant, then you
will need to copy forrest/lib/core/xml-commons-resolver.jar to
$ANT_HOME/lib directory, otherwise your plugins will go across the
network to get the DTDs on every parse. 
/quote


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