Changeset 13212


Ignore:
Timestamp:
02/11/11 09:04:54 (11 years ago)
Author:
Mark Evenson
Message:

Added Ant targets to generate javadoc.

'abcl.javadoc' generates the javadoc documentation under
'build/javadoc'.

'abcl.javadoc.jar' packages the javadoc documentation into
'dist/abcl-${abcl.version}-javadoc.jar'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r13211 r13212  
    695695    </target>
    696696
     697    <property name="abcl.javadoc.dir" value="${build.dir}/javadoc"/>
     698
     699    <target name="abcl.javadoc">
     700      <mkdir dir="${abcl.javadoc.dir}"/>
     701      <javadoc destdir="${abcl.javadoc.dir}"
     702               sourcepath="${src.dir}"/>
     703    </target>
     704   
     705    <target name="abcl.javadoc.jar" depends="abcl.stamp.version,abcl.javadoc">
     706      <mkdir dir="${dist.dir}"/>
     707      <jar destfile="${dist.dir}/abcl-${abcl.version}-javadoc.jar">
     708        <fileset dir="${abcl.javadoc.dir}"/>
     709      </jar>
     710    </target>
     711
    697712    <target name="abcl.binary.prepare" depends="abcl.jar,abcl.stamp.version">
    698713      <property name="abcl.build.binary.dir"
Note: See TracChangeset for help on using the changeset viewer.