[MOBY-guts] biomoby commit
Eddie Kawas
kawas at dev.open-bio.org
Sat Feb 23 16:28:11 UTC 2008
kawas
Sat Feb 23 11:28:11 EST 2008
Update of /home/repository/moby/moby-live/Java/xmls
In directory dev.open-bio.org:/tmp/cvs-serv3422/Java/xmls
Modified Files:
mobysyncBuild.xml
Log Message:
no longer uses lib.dir property. instead all libs are copied elsewhere and then deleted once they are not needed.
moby-live/Java/xmls mobysyncBuild.xml,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/xmls/mobysyncBuild.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/xmls/mobysyncBuild.xml 2008/02/21 14:13:05 1.3
+++ /home/repository/moby/moby-live/Java/xmls/mobysyncBuild.xml 2008/02/23 16:28:11 1.4
@@ -32,20 +32,21 @@
<pom refid="maven.project"/>
</artifact:dependencies>
-<copy todir="${lib.dir}">
- <fileset refid="dependency.fileset" />
- <mapper type="flatten" />
-</copy>
+ <mkdir dir="${build.mobysync}/temp_lib" />
+ <copy todir="${build.mobysync}/temp_lib">
+ <fileset refid="dependency.fileset" />
+ <mapper type="flatten" />
+ </copy>
-
- <dirname property="build.lib.dir" file="${lib.dir}"/>
+ <dirname property="build.lib.dir" file="${build.mobysync}/temp_lib"/>
<!-- dirsep may not be portable -->
<pathconvert pathsep=" " dirsep="/" property="build.manifest.classpath">
- <map from="${build.lib.dir}" to="."/>
+ <map from="${build.lib.dir}" to="./lib"/>
<path>
- <fileset dir="${lib.dir}" excludes="ant** jaxb**" includes="*.jar"/>
+ <fileset dir="${build.mobysync}/temp_lib" excludes="ant** jaxb**" includes="*.jar"/>
</path>
- </pathconvert>
+ </pathconvert>
+ <delete dir="${build.mobysync}/temp_lib" />
<jar destfile="${build.lib}/MOBYSync.jar">
<fileset dir="${build.classes}" includes="org/biomoby/registry/sync/**"/>
<manifest>
@@ -74,9 +75,8 @@
<mkdir dir="${mobysync.dist}"/>
<copy todir="${mobysync.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="${mobysync.dist}">
More information about the MOBY-guts
mailing list