User: d_jencks
Date: 02/04/06 18:59:30
Modified: . build.xml
Log:
updated to xjavadoc and jmx documentation generator
Revision Changes Path
1.35 +48 -3 jbosscx/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosscx/build.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- build.xml 24 Mar 2002 21:44:31 -0000 1.34
+++ build.xml 7 Apr 2002 02:59:30 -0000 1.35
@@ -12,7 +12,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.34 2002/03/24 21:44:31 d_jencks Exp $ -->
+<!-- $Id: build.xml,v 1.35 2002/04/07 02:59:30 d_jencks Exp $ -->
<project default="main" name="JBoss/Connector">
@@ -203,11 +203,16 @@
<property name="build.classes" value="${module.output}/classes"/>
<property name="build.lib" value="${module.output}/lib"/>
<property name="build.api" value="${module.output}/api"/>
+ <property name="build.jmx-api" value="${module.output}/jmx-api"/>
<property name="build.etc" value="${module.output}/etc"/>
<property name="build.resources" value="${module.output}/resources"/>
+ <property name="build.stylesheets" value="${module.output}/stylesheets"/>
+
+ <property name="tools.stylesheets" value="${project.tools}/etc/stylesheets"/>
<!--xdoclet output directories-->
<property name="build.gen-src" value="${module.output}/gen-src/"/>
+ <property name="build.jmx-doc" value="${module.output}/jmx-doc/"/>
<!-- Install/Release structure -->
<property name="install.id" value="${module.name}-${module.version}"/>
@@ -250,6 +255,7 @@
<path id="xdoclet.task.classpath">
<path refid="javac.classpath"/>
<pathelement location="${project.tools}/lib/xdoclet.jar"/>
+ <pathelement location="${project.tools}/lib/xjavadoc.jar"/>
<pathelement location="${project.tools}/lib/ant.jar"/>
</path>
<property name="xdoclet.task.classpath"
@@ -257,7 +263,6 @@
</target>
-
<!-- ================================================================== -->
<!-- Compile -->
<!-- ================================================================== -->
@@ -444,7 +449,7 @@
| different type of docuementation that is to be generated.
-->
- <target name="docs" depends="init, docs-api"
+ <target name="docs" depends="init, docs-api, jmx-docs-html-plain"
description="Builds all documentation.">
</target>
@@ -490,6 +495,46 @@
</target>
<target name="javadocs" depends="docs-javadocs"/>
+
+ <target name="jmx-docs" depends="init">
+ <taskdef name="jmxdoclet" classname="xdoclet.jmx.JMXDocletTask"/>
+
+ <mkdir dir="${build.jmx-doc}"/>
+ <jmxdoclet
+ destdir="${build.jmx-doc}"
+ classpath="${xdoclet.task.classpath}"
+ force="false"
+ excludedtags="@version,@author">
+ <fileset dir="${source.java}">
+ <include name="**/*.java"/>
+ </fileset>
+ <jbossXmlDoc/>
+ </jmxdoclet>
+
+ </target>
+
+ <!-- Generate the plain HTML jmx docs -->
+ <target name="jmx-docs-html-plain" depends="jmx-docs">
+
+
+ <!-- Force the use of SAXON XSLT -->
+ <property system="true"
+ name="javax.xml.transform.TransformerFactory"
+ value="com.icl.saxon.TransformerFactoryImpl"/>
+
+ <mkdir dir="${build.jmx-api}"/>
+ <style style="${project.thirdparty}/oasis/docbook-xsl/html/docbook.xsl"
+ processor="trax"
+ extension=".html"
+ basedir="${build.jmx-doc}"
+ destdir="${build.jmx-api}">
+ <include name="**/*.xml"/>
+ <param name="quiet" expression="${oasis.docbook.xsl.chunker.quiet}"/>
+ <param name="base.dir" expression="${build.jmx-api}${file.separator}"/>
+ </style>
+
+ </target>
+
<!-- ================================================================== -->
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development