From: <eg...@us...> - 2006-05-01 09:23:19
|
Revision: 6097 Author: egonw Date: 2006-05-01 02:23:12 -0700 (Mon, 01 May 2006) ViewCVS: http://svn.sourceforge.net/cdk/?rev=6097&view=rev Log Message: ----------- Refactored to have a general check method Modified Paths: -------------- trunk/cdk/javadoc.xml Modified: trunk/cdk/javadoc.xml =================================================================== --- trunk/cdk/javadoc.xml 2006-05-01 08:49:56 UTC (rev 6096) +++ trunk/cdk/javadoc.xml 2006-05-01 09:23:12 UTC (rev 6097) @@ -96,38 +96,45 @@ <!-- The doclet used in the following targets cannot be put in CVS because it is licensed otherwise, but it can be downloaded from: - + http://java.sun.com/j2se/javadoc/doccheck/ - + --> - - <target name="doccheck"> - <mkdir dir="reports/doccheck"/> - <javadoc private="false" public="true" - destdir="reports/doccheck/" - excludepackagenames="org.openscience.cdk.test.*"> - <classpath refid="project.class.path" /> - <doclet name="com.sun.tools.doclets.doccheck.DocCheck" - path="develjar/doccheck.jar" /> - <package name="org.openscience.cdk"/> - <sourcepath> - <pathelement path="${src}"/> - </sourcepath> - </javadoc> + <target name="doccheck"> + <antcall target="doccheck-module"><param name="module" value="interfaces"/></antcall> + <antcall target="doccheck-module"><param name="module" value="core"/></antcall> + <antcall target="doccheck-module"><param name="module" value="data"/></antcall> + <antcall target="doccheck-module"><param name="module" value="datadebug"/></antcall> + <antcall target="doccheck-module"><param name="module" value="nonotify"/></antcall> + <antcall target="doccheck-module"><param name="module" value="standard"/></antcall> + <antcall target="doccheck-module"><param name="module" value="io"/></antcall> + <antcall target="doccheck-module"><param name="module" value="io-jmol"/></antcall> + <antcall target="doccheck-module"><param name="module" value="extra"/></antcall> + <antcall target="doccheck-module"><param name="module" value="render"/></antcall> + <antcall target="doccheck-module"><param name="module" value="libio-cml"/></antcall> + <antcall target="doccheck-module"><param name="module" value="libio-joelib"/></antcall> + <antcall target="doccheck-module"><param name="module" value="libio-biojava"/></antcall> + <antcall target="doccheck-module"><param name="module" value="builder3d"/></antcall> + <antcall target="doccheck-module"><param name="module" value="smiles"/></antcall> + <antcall target="doccheck-module"><param name="module" value="forcefield"/></antcall> + <antcall target="doccheck-module"><param name="module" value="qsar"/></antcall> + <antcall target="doccheck-module"><param name="module" value="experimental"/></antcall> + <antcall target="doccheck-module"><param name="module" value="svg"/></antcall> + <antcall target="doccheck-module"><param name="module" value="valencycheck"/></antcall> </target> - <target name="doccheck-data"> - <mkdir dir="reports/javadoc/data/"/> + <target name="doccheck-module"> + <mkdir dir="reports/javadoc/${module}/"/> <javadoc private="false" public="true" - destdir="reports/javadoc/data/" + destdir="reports/javadoc/${module}/" excludepackagenames="org.openscience.cdk.test.*"> <classpath refid="project.class.path" /> <doclet name="com.sun.tools.doclets.doccheck.DocCheck" path="develjar/doccheck.jar" /> <fileset dir="${src}"> - <includesfile name="${src}/data.javafiles"/> + <includesfile name="${src}/${module}.javafiles"/> </fileset> <sourcepath> <pathelement path="${src}"/> @@ -135,132 +142,6 @@ </javadoc> </target> - <target name="doccheck-core"> - <mkdir dir="reports/javadoc/core/"/> - <javadoc private="false" public="true" - destdir="reports/javadoc/core/" - excludepackagenames="org.openscience.cdk.test.*"> - <classpath refid="project.class.path" /> - - <doclet name="com.sun.tools.doclets.doccheck.DocCheck" - path="develjar/doccheck.jar" /> - <fileset dir="${src}"> - <includesfile name="${src}/core.javafiles"/> - </fileset> - <sourcepath> - <pathelement path="${src}"/> - </sourcepath> - </javadoc> - </target> - - <target name="doccheck-standard"> - <mkdir dir="reports/javadoc/standard/"/> - <javadoc private="false" public="true" - destdir="reports/javadoc/standard/" - excludepackagenames="org.openscience.cdk.test.*"> - <classpath refid="project.class.path" /> - - <doclet name="com.sun.tools.doclets.doccheck.DocCheck" - path="develjar/doccheck.jar" /> - <fileset dir="${src}"> - <includesfile name="${src}/standard.javafiles"/> - </fileset> - <sourcepath> - <pathelement path="${src}"/> - </sourcepath> - </javadoc> - </target> - - <target name="doccheck-io"> - <mkdir dir="reports/javadoc/io/"/> - <javadoc private="false" public="true" - destdir="reports/javadoc/io/" - excludepackagenames="org.openscience.cdk.test.*"> - <classpath refid="project.class.path" /> - - <doclet name="com.sun.tools.doclets.doccheck.DocCheck" - path="develjar/doccheck.jar" /> - <fileset dir="${src}"> - <includesfile name="${src}/io.javafiles"/> - </fileset> - <sourcepath> - <pathelement path="${src}"/> - </sourcepath> - </javadoc> - </target> - - <target name="doccheck-render"> - <mkdir dir="reports/javadoc/render/"/> - <javadoc private="false" public="true" - destdir="reports/javadoc/render/" - excludepackagenames="org.openscience.cdk.test.*"> - <classpath refid="project.class.path" /> - - <doclet name="com.sun.tools.doclets.doccheck.DocCheck" - path="develjar/doccheck.jar" /> - <fileset dir="${src}"> - <includesfile name="${src}/render.javafiles"/> - </fileset> - <sourcepath> - <pathelement path="${src}"/> - </sourcepath> - </javadoc> - </target> - - <target name="doccheck-extra"> - <mkdir dir="reports/javadoc/extra/"/> - <javadoc private="false" public="true" - destdir="reports/javadoc/extra/" - excludepackagenames="org.openscience.cdk.test.*"> - <classpath refid="project.class.path" /> - - <doclet name="com.sun.tools.doclets.doccheck.DocCheck" - path="develjar/doccheck.jar" /> - <fileset dir="${src}"> - <includesfile name="${src}/extra.javafiles"/> - </fileset> - <sourcepath> - <pathelement path="${src}"/> - </sourcepath> - </javadoc> - </target> - - <target name="doccheck-qsar"> - <mkdir dir="reports/javadoc/qsar/"/> - <javadoc private="false" public="true" - destdir="reports/javadoc/qsar/" - excludepackagenames="org.openscience.cdk.test.*"> - <classpath refid="project.class.path" /> - - <doclet name="com.sun.tools.doclets.doccheck.DocCheck" - path="develjar/doccheck.jar" /> - <fileset dir="${src}"> - <includesfile name="${src}/qsar.javafiles"/> - </fileset> - <sourcepath> - <pathelement path="${src}"/> - </sourcepath> - </javadoc> - </target> - - <target name="doccheck-builder3d"> - <mkdir dir="reports/javadoc/builder3d/"/> - <javadoc private="false" public="true" - destdir="reports/javadoc/builder3d/" - excludepackagenames="org.openscience.cdk.test.*"> - <classpath refid="project.class.path" /> - - <doclet name="com.sun.tools.doclets.doccheck.DocCheck" - path="develjar/doccheck.jar" /> - <fileset dir="${src}"> - <includesfile name="${src}/builder3d.javafiles"/> - </fileset> - <sourcepath> - <pathelement path="${src}"/> - </sourcepath> - </javadoc> - </target> - <target id="check" name="check"> <condition property="isMacOsX"> <and> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |