[MOBY-guts] biomoby commit

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


gss
Thu May 27 11:54:44 EDT 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/core
In directory pub.open-bio.org:/tmp/cvs-serv6698

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

moby-live/S-MOBY/ref-impl/core build.xml,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/core/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/core/build.xml	2004/05/24 22:05:35	1.2
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/core/build.xml	2004/05/27 15:54:44	1.3
@@ -1,3 +1,26 @@
-<project name="core" basedir=".">
-    <property name="src" value="build"/>
+<!-- Apache Ant format build file for Semantic MOBY core library -->
+
+<project name="smoby-core" default="jar" basedir=".">
+
+    <!-- Import shared stuff -->
+    <import file="../library.xml"/>
+
+    <!-- Package the compiled source files into the main jar file -->
+    <target name="jar" depends="compile">
+        <jar destfile="${core-jar-file}" basedir="${classes-dir}"/>
+    </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="core.classpath"/>
+        </javac>
+    </target>
+    
+    <!-- Deploy the jar file to the Tomcat shared library directory -->
+    <target name="deploy-to-tomcat" depends="jar">
+        <copy file="${core-jar-file}" todir="${tomcat-shared-lib-dir}"/>
+    </target>
+    
 </project>




More information about the MOBY-guts mailing list