[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Feb 20 19:26:38 UTC 2008


kawas
Wed Feb 20 14:26:38 EST 2008
Update of /home/repository/moby/moby-live/Java/xmls
In directory dev.open-bio.org:/tmp/cvs-serv18055

Modified Files:
	rdfagentBuild.xml 
Log Message:
updated the RDF agents' build file.
moby-live/Java/xmls rdfagentBuild.xml,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/xmls/rdfagentBuild.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/xmls/rdfagentBuild.xml	2008/02/14 06:13:37	1.3
+++ /home/repository/moby/moby-live/Java/xmls/rdfagentBuild.xml	2008/02/20 19:26:38	1.4
@@ -24,19 +24,34 @@
 <!-- ================================================================== -->
 <target name="jar-rdfagent" depends="rdfagent-init,compile"
   description="Create a jar file with RDF Agent classes.">
+<property name="project.jar"
+      value="${maven.project.artifactId}-${maven.project.version}.jar"/>
+
+<artifact:dependencies
+    pathId="dependency.classpath"
+    filesetId="dependency.fileset">
+    <pom refid="maven.project"/>
+  </artifact:dependencies>
+
+<copy todir="${lib.dir}">
+  <fileset refid="dependency.fileset" />
+  <mapper type="flatten" />
+</copy>
+
+
   <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_home/**" includes="*.jar"/>
+      <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>
       <attribute name="Built-By" value="${user.name}"/>
-      <attribute name="Class-Path" value="${build.manifest.classpath} lib/jmoby.jar lib/jmoby-others.jar"/>
+      <attribute name="Class-Path" value="${build.manifest.classpath} ./lib/${project.jar}"/>
       <attribute name="Main-Class" value="org.biomoby.registry.rdfagent.verifier.Main"/>
     </manifest> 	 
   </jar>




More information about the MOBY-guts mailing list