forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Upgrade to 0.6: validation issues
Date Sun, 17 Oct 2004 15:27:13 GMT
I'm trying to upgrade to forrest 0.6.

First off; I had to change all my v1.2 DTD to v1.3, i.e.

<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN"


to
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN"


I would have through Forrest 0.6 would have been gracious enough to
support v1.2?  Perhaps it is related to my second problem:

Doesn't seem to be recognizing/using local catalogs and DTDs.  Thus I
have to set my system identifier to
	"http://xml.apache.org/forrest/dtd/document-v13.dtd"
for validation to work ... and validation is slow!


Here's how I run forrest:

		<property name="forrest-package-dir"
value="${external.package.dir}/apache-forrest-0.6"/>
    <property name="forrest.home" location="${forrest-package-dir}/src/core"/>
    <import file="${forrest.home}/forrest.build.xml"/>

		<target name="run-forrest" description="Runs Forrest to generate
final site documentation.">
			<announce message="Invoking Forrest ..."/>
			
      <antcall target="site.site"/>

		</target>


Here's what it looks like at runtime:

bash-2.05b$ ant fast-site
Buildfile: build.xml

copy-documentation-to-composite:

fast-site:

copy-documentation-to-composite:

copy-documentation-to-composite:

copy-documentation-to-composite:

run-forrest:
     [echo]
     [echo]
     [echo] *** Invoking Forrest ...
     [echo]

init-props:
     [echo] Loading project specific properties from
C:\workspace\jakarta-hivemind\forrest.properties
     [echo] Loading user specific properties from C:\Documents and
Settings\Howard\forrest.properties
     [echo] Loading default properties from
C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core\context\default-forrest.properties

echo-settings:
     [echo]       ------------------------------------------------
     [echo]       | Forrest template run.
     [echo]       | Running from ${forrest.home} =
C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core
     [echo]       | Working on   ${project.home} = C:\workspace\jakarta-hivemind
     [echo]       ------------------------------------------------
     [echo]       | //where to put the result
     [echo]       | project.site-dir    =
C:\workspace\jakarta-hivemind/target/docs
     [echo]       | //uri to start crawling/generation process
     [echo]       | project.start-uri   = linkmap.html
     [echo]       | //cocoon cli.xconf location
     [echo]       | project.configfile  =
C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core/context/WEB-INF/cli.xconf
     [echo]       | //logkit.xconf location
     [echo]       | project.logkitfile  =
C:\workspace\jakarta-hivemind\ext-package\apache-forrest-0.6\src\core/context/WEB-INF/logkit.xconf
     [echo]       | //temp dir to throw stuff in (i.e. work and ctxt)
     [echo]       | project.temp-dir    = target/forrest
     [echo]       | //temp working directory for generation process
     [echo]       | project.cocoon-work-dir    =
C:\workspace\jakarta-hivemind\target\forrest\cocoon-work
     [echo]       | //temp context directory for generation process
     [echo]       | project.webapp    =
C:\workspace\jakarta-hivemind\target\forrest\webapp
     [echo]       | //debuglevel for logging (DEBUG, INFO, WARN,
ERROR, FATAL_ERROR)
     [echo]       | project.debuglevel  = DEBUG
     [echo]       | //file for list of broken links
     [echo]       | project.brokenlinkfile =
C:\workspace\jakarta-hivemind\target\forrest\brokenlinks.xml
     [echo]       | //check if you have tools.jar installed
     [echo]       | tools.jar.present   = true
     [echo]       ------------------------------------------------
     [echo]       | The following properties could be removed from
future builds:
     [echo]       | //which skin to apply
     [echo]       | project.skin        = pelt
     [echo]       | //where your documentation xml is
     [echo]       | project.content-dir =
C:\workspace\jakarta-hivemind\target\forrest-composite
     [echo]       ------------------------------------------------

check-skin:

fetch-skins-descriptors:

fetch-skin:

unpack-skins:

init-skins:

init:

-prepare-classpath:

check-contentdir:

examine-proj:

validation-props:

validate-xdocs:
Warning: catalogpath listing external catalogs will be ignored


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

Mime
View raw message