diff options
author | Harvey Harrison <[email protected]> | 2013-06-15 13:21:39 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-06-15 13:21:39 -0700 |
commit | a4702472df54f57eae91bc29c1d59c7fc05a495c (patch) | |
tree | 88b64523c5ed5f49858942fbda28b327a4b01973 | |
parent | d52e8e0ad6969e5bdb9dc45491f45c079693eb6c (diff) |
vecmath: add a documentation target to the build, use package annotation for javadoc
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | build2.xml | 12 | ||||
-rw-r--r-- | src/javax/vecmath/package-info.java | 4 | ||||
-rw-r--r-- | src/javax/vecmath/package.html | 11 |
3 files changed, 16 insertions, 11 deletions
@@ -6,6 +6,7 @@ <property name="build.dir" location="build"/> <property name="gen.dir" location="${build.dir}/gen"/> <property name="class.dir" location="${build.dir}/classes"/> + <property name="javadoc.dir" location="${build.dir}/javadoc"/> <property name="version_base" value="1.6.0"/> <property name="build.spec.title" value="3D Vector Math Package"/> @@ -67,4 +68,15 @@ </zip> </target> + + <target name="docs" depends="gen"> + <mkdir dir="${javadoc.dir}"/> + + <javadoc sourcepath="${src.dir}" + packagenames="javax.vecmath.*" + destdir="${javadoc.dir}" + windowtitle="Vecmath ${version_base}"> + </javadoc> + </target> + </project>
\ No newline at end of file diff --git a/src/javax/vecmath/package-info.java b/src/javax/vecmath/package-info.java new file mode 100644 index 0000000..3a6f951 --- /dev/null +++ b/src/javax/vecmath/package-info.java @@ -0,0 +1,4 @@ +/** + * Provides 3D vector mathematics classes. + */ +package javax.vecmath; diff --git a/src/javax/vecmath/package.html b/src/javax/vecmath/package.html deleted file mode 100644 index 7fcb5c3..0000000 --- a/src/javax/vecmath/package.html +++ /dev/null @@ -1,11 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> - <meta content="text/html; charset=ISO-8859-1" - http-equiv="content-type"> - <title>javax.vecmath</title> -</head> -<body> -<p>Provides 3D vector mathematics classes.</p> -</body> -</html> |