[hive-mrc] r630 committed - Added javadoc ant task

2 views
Skip to first unread message

hive...@googlecode.com

unread,
May 11, 2012, 8:08:12 PM5/11/12
to hive-c...@googlegroups.com
Revision: 630
Author: craig....@unc.edu
Date: Fri May 11 17:08:04 2012
Log: Added javadoc ant task
http://code.google.com/p/hive-mrc/source/detail?r=630

Modified:
/trunk/hive-core/build.xml

=======================================
--- /trunk/hive-core/build.xml Thu Apr 14 19:48:02 2011
+++ /trunk/hive-core/build.xml Fri May 11 17:08:04 2012
@@ -27,6 +27,7 @@
<echo> all : Cleans, compiles, and packages application</echo>
<echo> clean : Deletes work directories</echo>
<echo> compile : Compiles classes</echo>
+ <echo> doc : Document</echo>
<echo> dist : Packages JAR</echo>
<echo></echo>
<echo>For example, to clean, compile, and package all at once,
run:</echo>
@@ -36,6 +37,21 @@
<target name="all" depends="clean,compile,dist"
description="Clean work dirs, then compile and create JAR"/>

+ <target name="doc">
+ <javadoc packagenames="edu.unc.*"
+ sourcepath="src"
+ excludepackagenames="org.apache.*,org.openrdf.*"
+ destdir="docs/api"
+ classpathref="compile.classpath"
+ author="false"
+ version="true"
+ use="true"
+ windowtitle="HIVE API">
+ <doctitle><![CDATA[<h1>HIVE API</h1>]]></doctitle>
+ <bottom><![CDATA[<i>Copyright &#169; 2009-2012, UNC-Chapel Hill and
Nescent</i>]]></bottom>
+ </javadoc>
+ </target>
+
<target name="clean"
description="Delete build directory">
<delete dir="${build.dir}"/>
@@ -51,7 +67,7 @@
</javac>
</target>

- <target name="dist" depends="compile"
+ <target name="dist" depends="compile,doc"
description="Create JAR file">
<jar jarfile="${dist.dir}/${name}.jar"
basedir="${build.dir}"/>
Reply all
Reply to author
Forward
0 new messages