cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerard van Enk <gerard.van....@eo.nl>
Subject problem with StyleBook
Date Thu, 02 Dec 1999 15:28:13 GMT
Hello,

I'm trying to get stylebook module running, but I still have one
problem. When I try it with the examples in de doc-directory, I get an
error-message.

This is how I try to run it:

java -cp
bin/stylebook-1.0-b1.jar:/home/gerard/xml/xml-xerces/java/bin/xerces.jar:/home/gerard/xml/xml-xerces/java/src/:/home/gerard/xml/xml-xalan/xalan.jar
org.apache.stylebook.StyleBook "targetDirectory=docs/targets/"
docs/book.xml /home/gerard/xml/xml-stylebook/styles/apachexml/

And this is the output:

[StyleBook] Overriding targetDirectory="docs/targets/" (Old=".")
[StyleBook] Project URL: "sbk:/sources/book.xml"
[BasicEngine] Initializing
[Loader] Parsing Project file
[XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/book2project.xsl"
org.apache.stylebook.CreationException: sbk:/style/resources/
(/home/gerard/xml/xml-stylebook/home/gerard/xml/xml-stylebook/styles/apachexml/resources)
is not a Directory
	at
org.apache.stylebook.producers.DirectoryProducer.produce(DirectoryProducer.java,
Compiled Code)
	at org.apache.stylebook.Project.processEntry(Project.java, Compiled
Code)
	at org.apache.stylebook.Project.processNodeList(Project.java, Compiled
Code)
	at org.apache.stylebook.Project.<init>(Project.java, Compiled Code)
	at org.apache.stylebook.Loader.load(Loader.java, Compiled Code)
	at org.apache.stylebook.StyleBook.getProject(StyleBook.java, Compiled
Code)
	at org.apache.stylebook.StyleBook.main(StyleBook.java, Compiled Code)
[StyleBook] Caught org.apache.stylebook.LoadingException
org.apache.stylebook.LoadingException: Processing Entry
(sbk:/style/resources/
(/home/gerard/xml/xml-stylebook/home/gerard/xml/xml-stylebook/styles/apachexml/resources)
is not a Directory)
	at org.apache.stylebook.Project.processEntry(Project.java, Compiled
Code)
	at org.apache.stylebook.Project.processNodeList(Project.java, Compiled
Code)
	at org.apache.stylebook.Project.<init>(Project.java, Compiled Code)
	at org.apache.stylebook.Loader.load(Loader.java, Compiled Code)
	at org.apache.stylebook.StyleBook.getProject(StyleBook.java, Compiled
Code)
	at org.apache.stylebook.StyleBook.main(StyleBook.java, Compiled Code)
[StyleBook] Error creating project

I know that
'/home/gerard/xml/xml-stylebook/home/gerard/xml/xml-stylebook/styles/apachexml/resources'
isn't a directory, it uses twice the
'/home/gerard/xml/xml-style-book/'-part. 
But I don't know where it gets this part of the directory-name and why
it displays it twice......

I use the Blackdown jdk1.2.2 RC2 for this.

Gerard

Mime
View raw message