[Mc4j-development] here is javadoc target to put into build.xml
Brought to you by:
ghinkl
From: john l. <joh...@ya...> - 2003-01-12 06:18:45
|
Hi. here is a ant javadoc target along with the accompaning property names. This simplifies creating javadocs in the mc4j/docs directory. just cut and paste under the dashed line in the the mc4j/buid.xml. this is a quick and dirty thing to generate some docs out of the src and hopefully get a better idea how mc4j works that I wanted to share. if there is a better way of contributing I will do so, but not sure if we can commit to CVS given that I don't see much activity since mc4j last release. j. --------------------------------------- <property name="module.name" value="mc4j" /> <property name="javadoc.packages" value="org.*" /> <property name="javadoc.dest.dir" value="docs" /> <property name="src.dir" value="src" /> <path id="project.class.path"> <pathelement location="${src.dir}"/> <fileset dir="lib"> <include name="**/*.jar"/> </fileset> </path> <target name="javadoc" depends="compile" description="generate javadocs in docs direcotry"> <echo message="${module.name}"/> <javadoc packagenames="${javadoc.packages}" sourcepath="${src.dir}" excludepackagenames="**.test.*,**.test" destdir="${javadoc.dest.dir}" classpathref="project.class.path" windowtitle="${module.name}"> </javadoc> </target> ------------------------------------------------------ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |