Skip to content

Commit

Permalink
Open JavaDoc Checker now working with the doc tests in cdk-build-util…
Browse files Browse the repository at this point in the history
…s. We can also remove the compilation taglets / docchecks.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
  • Loading branch information
johnmay authored and egonw committed Feb 1, 2014
1 parent a7e9b99 commit d8333a4
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions javadoc.xml
Expand Up @@ -33,7 +33,7 @@
</fileset>
</path>

<target name="html" depends="compileTaglets">
<target name="html">
<mkdir dir="${javadoc.dir}" />

<!-- Call javacc target in build.xml to re-generate the source code -->
Expand Down Expand Up @@ -120,7 +120,7 @@
javacchome="jar"/>
</target>

<target name="ojdcheck" depends="compileDocTests">
<target name="ojdcheck">
<antcall target="ojdcheck-module"><param name="module" value="interfaces"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="core"/></antcall>
<antcall target="ojdcheck-module"><param name="module" value="cip"/></antcall>
Expand Down Expand Up @@ -197,7 +197,7 @@
</classpath>

<doclet name="com.github.ojdcheck.OpenJavaDocCheck"
path="develjar/ojdcheck.jar:src/main">
path="develjar/ojdcheck.jar:src/main::${cdk-build-utils}">
<param name="-xhtml"/>
<param name="-file"
value="reports/ojdcheck/${module}.html"/>
Expand All @@ -209,30 +209,6 @@
</sourcepath>
</javadoc>
</target>

<target name="compileTaglets" id="compileTaglets">
<javac srcdir="src/main" destdir="${build}"
includes="net/sf/cdk/tools/**/*Taglet.java" debug="on" optimize="off">
<classpath>
<fileset dir="jar/">
<include name="xom-1.1.jar" />
</fileset>
</classpath>
</javac>
</target>

<target name="compileDocTests" id="compileDocTests">
<javac srcdir="src/main" destdir="src/main"
includes="net/sf/cdk/tools/checkdoctest/*Test.java"
debug="on" optimize="off">
<classpath>
<fileset dir="develjar/">
<include name="ojdcheck.jar" />
<include name="com-sun-*.jar" />
</fileset>
</classpath>
</javac>
</target>
</project>


Expand Down

0 comments on commit d8333a4

Please sign in to comment.