apply patch from johano fixing #30 (creates javadoc build target)

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@760440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Ellis 2009-03-31 13:25:54 +00:00
parent 0eef9edf1a
commit 19064bb869
1 changed files with 15 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<property name="build.lib" value="${basedir}/lib"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="build.classes" value="${build.dir}/classes"/>
<property name="javadoc.dir" value="${build.dir}/javadoc"/>
<property name="test.dir" value="${basedir}/test"/>
<property name="test.classes" value="${build.dir}/test/classes"/>
<property name="final.name" value="cassandra"/>
@ -116,5 +117,19 @@
<classfileset dir="${test.classes}" includes="**/*.class" />
</testng>
</target>
<target name="javadoc" depends="init">
<tstamp>
<format property="YEAR" pattern="yyyy"/>
</tstamp>
<javadoc destdir="${javadoc.dir}" author="true" version="true" use="true"
windowtitle="${ant.project.name} API" classpathref="cassandra.classpath"
bottom="Copyright &amp;copy; ${YEAR} The Apache Software Foundation">
<fileset dir="${build.src}" defaultexcludes="yes">
<include name="org/apache/**/*.java"/>
</fileset>
</javadoc>
</target>
</project>