After updating my workspace, I'm getting:
Reading D:\workspaces\mr-21\jaxws-rearch\docs\tags\content.tag
Oct 20, 2006 6:02:50 PM org.apache.commons.jelly.JellyContext
getTagLibrary
SEVERE: Could not find the class:
org.apache.commons.jelly.tags.jsl.JSLTagLibrary
java.lang.ClassNotFoundException:
org.apache.commons.jelly.tags.jsl.JSLTagLibrary
at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1166)
at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1107)
at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:459)
at
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:979)
at
org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:593)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
Now I cant even invoke "ant docs".
-Arun
Kohsuke Kawaguchi wrote:
>
> As you know, we're now using htmlmacro for generating the JAX-WS RI
> documents. So far we've been only using it to generate the navigation
> bar on top of each page, but I've incorporated additional custom tags
> that I originally created for the ws-test-harness.
>
> This tag set allows you to generate TOC automatically. I updated
> wsaddressing.html with this tag set, so you'll see how it looks like if
> you update the workspace and run "ant docs" locally.
>
> I recommend this to all the pages in the JAX-WS RI documentation going
> forward. It reduces the overhead of an author by eliminating the need to
> manually number sections and maintain the TOC. It also promotes
> consistency by making sure that things look similar across pages.
>
> Here's how to use the tag.
>
> First, put the <content> tag right inside the <body> tag, like this:
>
> <body><content>
> ... all your HTML ...
> </content></body>
>
> Then use the <section> tags to mark sections. Sections can be nested in
> arbitrary depth.
>
> <body><content>
> <section title="This is first section">
> <section title="This becomes 1.1">
> ... any HTML ...
> </section>
> <section title="Another section that becomes 1.2">
> ... any HTML ...
> </section>
> </section>
> <section title="This is second section">
> ...
> </section>
> </content></body>
>
--
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta