[med-svn] [artemis] 06/13: Add patch to make the build-time tests work

Afif Elghraoui afif-guest at moszumanska.debian.org
Fri Oct 23 06:10:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

afif-guest pushed a commit to branch master
in repository artemis.

commit 60c654734c173b050a571178910e962e0e450232
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Thu Oct 22 21:34:44 2015 -0700

    Add patch to make the build-time tests work
---
 debian/patches/series               |  1 +
 debian/patches/test-classpath.patch | 41 +++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 80fd47f..cc14cba 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 class-path.patch
 jar-rules.patch
+test-classpath.patch
 CRAMReferenceSequenceFile.patch
diff --git a/debian/patches/test-classpath.patch b/debian/patches/test-classpath.patch
new file mode 100644
index 0000000..1d871ce
--- /dev/null
+++ b/debian/patches/test-classpath.patch
@@ -0,0 +1,41 @@
+Description: Change CLASSPATH to use external jars in build-test.xml
+Author: Afif Elghraoui <afif at ghraoui.name>
+Forwarded: not-needed
+Last-Update: 2015-10-22
+--- artemis.orig/test/build-test.xml
++++ artemis/test/build-test.xml
+@@ -11,8 +11,6 @@
+     <property name="build.compiler" value="modern" />
+     <property name="classpath" value="." />
+     <property name="src.tests.dir" value="." />
+-  	<property name="src.lib.dir" value="lib" />
+-  	<property name="mainlib.dir" value="../lib" />
+ 
+     <property name="build.dir" value="./ant-build" />
+ 
+@@ -27,10 +25,10 @@
+     	<pathelement path="../ant-build/classes/main/" />
+         <pathelement path="${build.dest.tests}" />
+         <!-- Dependency classes -->
+-        <fileset dir="${src.lib.dir}">
++        <fileset dir="/usr/share/java">
+         	 <include name="**/*.jar" />
+         </fileset>
+-        <fileset dir="${mainlib.dir}">
++        <fileset dir="/usr/share/EMBOSS/jemboss/lib">
+         	 <include name="**/*.jar" />
+         </fileset>
+     	<pathelement path=".." />
+@@ -58,12 +56,6 @@
+ 	  </fileset>
+     </copy>
+ 
+-	<!-- Copies jars -->
+-	<copy todir="${build.dir}">
+-	  <fileset dir="${src.lib.dir}">
+-	    <include name="*.jar" />
+-      </fileset>
+-	</copy>
+   </target>
+ 	
+   <!-- Compiles the source directory -->

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/artemis.git



More information about the debian-med-commit mailing list