From: Finn B. <bc...@us...> - 2001-02-25 17:05:12
|
Update of /cvsroot/jython/jython In directory usw-pr-cvs1:/tmp/cvs-serv4098 Modified Files: build.xml Log Message: Added a javadoc target. Index: build.xml =================================================================== RCS file: /cvsroot/jython/jython/build.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** build.xml 2001/02/14 22:28:52 1.8 --- build.xml 2001/02/25 17:06:23 1.9 *************** *** 5,8 **** --- 5,9 ---- <property name="sourceDir" value="." /> <property name="outputDir" value="build" /> + <property name="apidocDir" value="Doc/api" /> <property name="debug" value="off" /> *************** *** 80,84 **** includes="org/**" destdir="${outputDir}/" ! excludes="org/python/parser/python.java,${excludejava2files},${excludeservletfiles}" debug="${debug}" /> --- 81,87 ---- includes="org/**" destdir="${outputDir}/" ! excludes="org/python/parser/python.java, ! ${excludejava2files}, ! ${excludeservletfiles}" debug="${debug}" /> *************** *** 99,102 **** --- 102,120 ---- basedir="${outputDir}" includes="**/*.class,**/ucnhash.dat" /> + </target> + + <target name="javadoc" depends="compile"> + <mkdir dir="${apidocDir}" /> + <javadoc sourcepath="${sourceDir}" + destdir="${apidocDir}" + Public="Yes" + packagenames="org.python.core, + org.python.modules, + org.python.modules.sre, + org.python.util, + org.python.rmi" + Windowtitle="Jython API documentation" + bottom="<a href='http://www.jython.org'>Jython homepage</a>" + /> </target> |