[MOBY-guts] biomoby commit

Gary Schlitz gss at pub.open-bio.org
Thu Jun 10 23:15:37 UTC 2004


gss
Thu Jun 10 19:15:37 EDT 2004
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/example-clients/SimpleEngager
In directory pub.open-bio.org:/tmp/cvs-serv18384/ref-impl/example-clients/SimpleEngager

Modified Files:
	build.xml 
Log Message:
Build and deploy process mostly worked out

moby-live/S-MOBY/ref-impl/example-clients/SimpleEngager build.xml,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/example-clients/SimpleEngager/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/example-clients/SimpleEngager/build.xml	2004/05/28 21:35:17	1.2
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/example-clients/SimpleEngager/build.xml	2004/06/10 23:15:37	1.3
@@ -3,22 +3,34 @@
 <project name="simple-engager" default="jar" basedir=".">
 
     <!-- Import shared stuff -->
-    <import file="../../library.xml"/>
+    <import file="../../common.xml"/>
+
+    <!-- Relative path for where to put stuff that gets built -->
+    <property name="build-dir" value="build"/>
+    
+    <!-- Relative path for where javac should output class files -->
+    <property name="classes-dir" value="${build-dir}/classes"/>
 
     <!-- The main jar file -->
-    <property name="jar-file" value="${build-dir}/engager.jar"/>
+    <property name="jar-file" value="simple-engager.jar"/>
 
-    <!-- Package the compiled source files into the main jar file -->
-    <target name="jar" depends="compile">
-        <jar destfile="${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}">
+        <javac srcdir="src" destdir="${classes-dir}">
             <classpath refid="common.classpath"/>
         </javac>
     </target>
     
+    <!-- Package the compiled source files into the main jar file -->
+    <target name="jar" depends="compile">
+        <jar destfile="${jar-file}" basedir="${classes-dir}"/>
+    </target>
+    
+	<!-- Remove the build directory and its contents -->
+	<target name="clean">
+		<delete dir="${build-dir}" includeEmptyDirs="true"/>
+        <delete file="${jar-file}"/>
+	</target>
+    
 </project>




More information about the MOBY-guts mailing list