[MOBY-guts] biomoby commit

Gary Schlitz gss at pub.open-bio.org
Thu May 27 15:54:28 UTC 2004


gss
Thu May 27 11:54:28 EDT 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/example-providers/megapubs.com
In directory pub.open-bio.org:/tmp/cvs-serv6602

Modified Files:
	build.xml 
Added Files:
	.cvsignore 
Log Message:
Finally, some build scripts

moby-live/S-MOBY/ref-impl/example-providers/megapubs.com .cvsignore,NONE,1.1 build.xml,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/example-providers/megapubs.com/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/example-providers/megapubs.com/build.xml	2004/03/12 17:48:33	1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/example-providers/megapubs.com/build.xml	2004/05/27 15:54:28	1.2
@@ -1,2 +1,29 @@
-<project name="megapubs.com" basedir=".">
+<!-- Apache Ant format build file for acmepubs.com example provider -->
+
+<project name="megapubs.com" default="war" basedir=".">
+
+    <!-- Import shared stuff -->
+    <import file="../../servlet.xml"/>
+
+	<!-- The full path of the web archive file to be built -->
+    <property name="war-file" value="megapubs.com.war"/>
+	
+	<!-- Package the compiled source files into the main jar file -->
+	<target name="war" depends="compile">
+        <jar destfile="${war-file}" basedir="${web-root}"/>
+	</target>
+	
+	<!-- Compile all the source files that go into the library -->
+	<target name="compile">
+		<mkdir dir="${classes-dir}"/>
+        <javac srcdir="${src-dir}" destdir="${classes-dir}">
+            <classpath refid="common.classpath"/>
+        </javac>
+	</target>
+
+    <!-- Clean the build directory and the war file -->
+    <target name="clean" depends="clean-build">
+        <delete file="${war-file}"/>
+    </target>
+	
 </project>




More information about the MOBY-guts mailing list