aboutsummaryrefslogtreecommitdiffstats
path: root/java/berkeley-db/files/patch-junit
blob: 951d95f399ebdeb5aebcd6ac0beee4b385bc1372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- build.xml   2014-12-17 02:30:51 UTC
+++ build.xml   2015-05-12 12:14:56 -0400
@@ -132,6 +132,9 @@
     </path>
 
+    <property environment="env"/>
     <path id="unittest.classpath">
       <path refid="class.path"/>
+      <pathelement location="${env.JAVALIBDIR}/junit.jar"/>
+      <pathelement location="${env.JAVALIBDIR}/hamcrest.jar"/>
       <pathelement location="${unittest.destdir}"/>
       <pathelement path="${junit.jarfile}"/>
@@ -872,5 +875,5 @@
     </target>
 
-    <target name="compile-unittest" depends="compile-src, get-junit-jar">
+    <target name="compile-unittest" depends="compile-src">
       <ant antfile="ant/compile.xml" dir="." inheritall="false">
         <property name="srcdir" value="${unittest.srcdir}"/>
@@ -917,4 +920,5 @@
           <property name="destdir" value="${unittest.testserialdir}"/>
           <reference refid="class.path" torefid="compile.classpath"/>
+          <reference refid="unittest.classpath" torefid="compile.classpath"/>
       </ant>
 
@@ -2127,5 +2131,4 @@
       <mkdir dir="${installdir}"/>
       <mkdir dir="${installdir}/docs"/>
-      <mkdir dir="${installdir}/bin"/>
       <mkdir dir="${installdir}/lib"/>
       <copy todir="${installdir}/docs">
@@ -2137,7 +2140,4 @@
     <fileset dir="lib"/>
       </copy>
-      <copy todir="${installdir}/bin">
-    <fileset dir="bin"/>
-      </copy>
     </target>