Menu

#1020 Build Fails for Javadoc

cdk-1.2.x
closed
nobody
javadoc (34)
5
2012-11-03
2009-12-01
No

For release 1.2.4 the Javadoc build fails for the command "ant -f javadoc.xml html". Attached is the command prompt output.

Discussion

  • Anay Tamhankar

    Anay Tamhankar - 2009-12-01

    Command prompt output

     
  • Egon Willighagen

    Ah, indeed. The target refers to a folder with Doclets, not Taglets (or not anymore). I fixed it in Git, and will be part of 1.2.5. The patch is simple, and you can apply it yourself manually (as wrorkaround):

    diff --git a/javadoc.xml b/javadoc.xml
    index 8d06f9a..5af2f23 100755
    --- a/javadoc.xml
    +++ b/javadoc.xml
    @@ -185,21 +185,11 @@
    <target name="compileTaglets" id="user-content-compileTaglets" depends="check, compileTaglets.MacOSX, compileTaglets.Other"></target>

    <target name="compileTaglets.MacOSX" id="user-content-compileTaglets.MacOSX" if="isMacOsX"></target>

    • <javac srcdir="doc/javadoc/source" destdir="doc/javadoc"
    • includes="*Taglet.java" debug="on" optimize="off"/>
      <javac srcdir="src" destdir="src" includes="*Taglet.java" debug="on" optimize="off">
      </javac>

    <target name="compileTaglets.Other" id="user-content-compileTaglets.Other" unless="isMacOsX"></target>

    • <javac srcdir="doc/javadoc/source" destdir="doc/javadoc"
    • includes="*Taglet.java" debug="on" optimize="off">
    • <classpath></classpath>
    • <fileset dir="${java.ext.dirs}"></fileset>
    • <include name="tools.jar"></include>

    • <javac srcdir="src/main" destdir="src/main" includes="net/sf/cdk/tools/**/*.java" debug="on" optimize="off">
      <classpath></classpath></javac>
     
  • Egon Willighagen

    I have attached the full patch.

     
MongoDB Logo MongoDB