ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ant Wiki] Update of "CreateDocBookDocumentation" by antoine
Date Fri, 04 Feb 2011 16:04:12 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change notification.

The "CreateDocBookDocumentation" page has been changed by antoine.
http://wiki.apache.org/ant/CreateDocBookDocumentation?action=diff&rev1=3&rev2=4

--------------------------------------------------

  = Create docbook XML based documentation with Ant =
- 
- == Validate with jing == 
+ == Validate with jing ==
- 
  {{{
      <java jar="lib/jing/jing.jar" fork="true" failonerror="true">
        <jvmarg value="-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration"
/>
@@ -14, +12 @@

  }}}
  I am using java here rather than the jing task . I found the idea to use the jvmargs by
reading this bug report of jing-trang [[attachment:http://code.google.com/p/jing-trang/issues/detail?id=38|Make
it easy to do XInclude processing before validation]]
  
- 
  == Transform into HTML ==
- 
  Jars needed :
  
  - for xslt
+ 
-   saxon9.jar  xercesImpl.jar  xml-apis.jar  xml-resolver.jar
+  . saxon9.jar  xercesImpl.jar  xml-apis.jar  xml-resolver.jar
  
  {{{
      <xslt basedir="${sample.docs.xml.dir}" force="true" destdir="${sample.docs.html.dir}"
style="${docbook.xsl.basedir}/html/docbook.xsl">
@@ -30, +27 @@

        </classpath>
        <sysproperty key="org.apache.xerces.xni.parser.XMLParserConfiguration" value="org.apache.xerces.parsers.XIncludeParserConfiguration"
/>
      </xslt>
- 
  }}}
- 
  == Transform into PDF ==
- 
  Jars needed :
  
  - for xslt
-   saxon9.jar  xercesImpl.jar  xml-apis.jar  xml-resolver.jar
  
+  . saxon9.jar  xercesImpl.jar  xml-apis.jar  xml-resolver.jar
- - for fop 
-   batik 1.0, fop 0.2.0.5, avalon 4.1.2-cvs-20020806 works for me
-   there are newer sets of jars, maybe from the batik project ?
  
+ - for fop
  
+  . batik 1.0, fop 0.2.0.5, avalon 4.1.2-cvs-20020806 works for me there are newer sets of
jars, maybe from the batik project ?
  
  {{{
      <xslt style="${docbook.xsl.basedir}/fo/docbook.xsl" extension=".fo" basedir="${sample.docs.xml.dir}"
includes="sample-user.xml" destdir="${sample.docs.fo.dir}">

Mime
View raw message