[opencms-dev] FW: Patch for opencms build.xml

Tim Howland thowland at organic.com
Thu Aug 4 16:13:04 CEST 2005


 
Hey guys-

Here's a simple unified diff for build.xml to add an ant javadoc target.
It's based on the one from Matt Butcher's book; I bumped up the memory
allocation to 512m (the codebase is big enough that 64m just wasn't
doing it any more), and I updated the paths to match the 6.0 project
structure. I wasn't sure if you wanted to add an alkacon copyright
notice to the footer, so I left that alone.

HTH,

Tim


Index: build.xml
===================================================================
RCS file: /usr/local/cvs/opencms/build.xml,v
retrieving revision 1.167
diff -u -r1.167 build.xml
--- build.xml	29 Jun 2005 15:46:40 -0000	1.167
+++ build.xml	4 Aug 2005 14:08:30 -0000
@@ -608,5 +608,16 @@
 			
 		</junit>
 	</target>
+	<target name="doc" description="run javadoc">
+		<mkdir dir="${opencms.input}/doc/javadoc" />
+		<javadoc packagenames="org.opencms.*" 
+			sourcepath="src"
+			destdir="${opencms.input}/doc/javadoc"
+			author="true"
+			version="true"
+			use="true"
+			windowtitle="OpenCms ${version.number} API
Documentation"
+			maxmemory="512m"/>
+	</target>
 
 </project>
\ No newline at end of file









More information about the opencms-dev mailing list