[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Fri Feb 22 15:11:52 UTC 2008


kawas
Fri Feb 22 10:11:52 EST 2008
Update of /home/repository/moby/moby-live/Java/xmls
In directory dev.open-bio.org:/tmp/cvs-serv30757

Modified Files:
	rdfagentBuild.xml 
Log Message:
no longer uses {lib.dir}. Instead i create a temp directory, copy files into, do my task, and then delete the directory. Not ideal, but it will do until i can figure out how to do it better.
moby-live/Java/xmls rdfagentBuild.xml,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/xmls/rdfagentBuild.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/xmls/rdfagentBuild.xml	2008/02/20 19:26:38	1.4
+++ /home/repository/moby/moby-live/Java/xmls/rdfagentBuild.xml	2008/02/22 15:11:52	1.5
@@ -33,20 +33,24 @@
     <pom refid="maven.project"/>
   </artifact:dependencies>
 
-<copy todir="${lib.dir}">
-  <fileset refid="dependency.fileset" />
-  <mapper type="flatten" />
-</copy>
+	<mkdir dir="${build.rdfagent}/temp_lib" />
+	<copy todir="${build.rdfagent}/temp_lib">
+		<fileset refid="dependency.fileset" />
+		<mapper type="flatten" />
+	</copy>
+	<dirname property="build.lib.dir" file="${build.rdfagent}/temp_lib" />
+	<!-- dirsep may not be portable -->
+	<pathconvert pathsep=" " dirsep="/"
+		property="build.manifest.classpath">
+		<map from="${build.lib.dir}/temp_lib" to="./lib" />
+		<path>
+			<fileset dir="${build.rdfagent}/temp_lib" excludes="ant** jaxb**"
+				includes="*.jar" />
+		</path>
+	</pathconvert>
+	<delete dir="${build.rdfagent}/temp_lib" />
+	
 
-
-  <dirname property="build.lib.dir" file="${lib.dir}"/>
-  <!-- dirsep may not be portable -->
-  <pathconvert pathsep=" " dirsep="/" property="build.manifest.classpath">
-    <map from="${build.lib.dir}" to="."/>
-    <path>
-      <fileset dir="${lib.dir}" excludes="ant** jaxb**" includes="*.jar"/>
-    </path>
-  </pathconvert> 	
   <jar destfile="${build.lib}/RDFagent.jar"> 
     <fileset dir="${build.classes}" includes="org/biomoby/registry/rdfagent/**"/>
     <manifest>
@@ -75,9 +79,8 @@
   <mkdir dir="${rdfagent.dist}"/>
   
   <copy todir="${rdfagent.dist}/lib">
-    <fileset dir="${lib.dir}">
-      <include name="*.jar"/>
-    </fileset>
+    <fileset refid="dependency.fileset"/>
+    <mapper type="flatten" />
     <fileset file="${build.lib}/${maven.project.artifactId}-${maven.project.version}.jar"/>
   </copy>	 
   <copy todir="${rdfagent.dist}">	 




More information about the MOBY-guts mailing list