[MOBY-guts] biomoby commit

Gary Schiltz gss at pub.open-bio.org
Thu Sep 22 17:01:24 UTC 2005


gss
Thu Sep 22 13:01:24 EDT 2005
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/core/build
In directory pub.open-bio.org:/tmp/cvs-serv18700/build

Modified Files:
	build.xml 
Log Message:
Added Javadoc target & supporting classpath ref

moby-live/S-MOBY/ref-impl/core/build build.xml,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/core/build/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/core/build/build.xml	2005/03/21 21:31:31	1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/core/build/build.xml	2005/09/22 17:01:24	1.2
@@ -17,17 +17,22 @@
     <!-- Path to the MOBY jar file -->
     <property name="core-jar-file-path"
               value="${lib-dir}/${core-jar-file-name}"/>
+    <!-- Where to write Javadoc -->
+    <property name="javadoc-dir" value="${build-dir}/javadoc"/>
+
+    <!-- Project-wide classpath -->
+    <path id="project.class.path">
+        <fileset dir="${lib-dir}">
+            <include name="**/*.jar"/>
+            <exclude name="core-jar-file-name"/>
+        </fileset>
+    </path>
 
     <!-- Compile all the source files that go into the library -->
     <target name="compile">
         <mkdir dir="${classes-dir}"/>
         <javac srcdir="src" destdir="${classes-dir}">
-            <classpath>
-                <fileset dir="${lib-dir}">
-                    <include name="**/*.jar"/>
-                    <exclude name="core-jar-file-name"/>
-                </fileset>
-            </classpath>
+            <classpath refid="project.class.path"/>
         </javac>
     </target>
     
@@ -38,6 +43,15 @@
              filesonly="true"/>
     </target>
 
+    <!-- Generate the Javadoc -->
+    <target name="javadoc">
+        <javadoc sourcepath="src"
+                 destdir="${javadoc-dir}">
+            <classpath refid="project.class.path"/>
+            <packageset dir="src"/>
+        </javadoc>
+    </target>
+
 	<!-- Remove the classes directory and jar file -->
 	<target name="clean">
 		<delete dir="${classes-dir}" includeEmptyDirs="true"/>




More information about the MOBY-guts mailing list