diff -Naur cookcc-0.3.3/build.xml cookcc-0.3.3-work/build.xml
--- cookcc-0.3.3/build.xml	2009-07-22 01:13:31.000000000 -0400
+++ cookcc-0.3.3-work/build.xml	2011-09-22 07:48:03.609525998 -0400
@@ -2,6 +2,7 @@
 <project name="cookcc" basedir="." default="all">
 	<property name="src" location="${basedir}/src"/>
 	<property name="lib" location="${basedir}/lib"/>
+	<property name="javadocdir" location="${basedir}/javadocs"/>
 	<property name="dist" value="${basedir}/dist"/>
 	<property name="tool" value="${basedir}/tool"/>
 	<property name="build" value="${basedir}/cookcc_classes"/>
@@ -63,10 +64,6 @@
 			</manifest>
 			<fileset dir="${build}" includes="**/**.class"/>
 			<fileset dir="${src}" excludes="**/**.java"/>
-			<!-- freemarker jar files -->
-			<zipfileset src="${lib}/freemarker.jar"/>
-			<!-- cookxml jar files -->
-			<zipfileset src="${lib}/cookxml-3.0.1.jar" excludes="LICENSE"/>
 			<fileset dir="${basedir}">
 				<patternset>
 					<include name="${license}"/>
@@ -99,4 +96,12 @@
 		</cookcc>
 	</target>
 
+  <target name="javadocs">
+    <delete dir="${javadocdir}"/>
+    <mkdir dir="${javadocdir}"/>
+    <javadoc packagenames="org.yuanheng.cookcc" destdir="${javadocdir}" private="true">
+      <fileset dir="${src}/org" includes="**/*.java"/>
+    </javadoc>
+  </target>
+
 </project>
