summaryrefslogtreecommitdiff
path: root/math/apache-commons-math/files/patch-build.xml
blob: 256c8c63f2814d52bc5da9f34861ef6efdc3d3c7 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
--- build.xml.orig	2016-03-17 12:14:52 UTC
+++ build.xml
@@ -174,7 +174,7 @@
 
 <!-- ========== Unit Test Targets ========================================= -->
 
-    <target name="compile.tests" depends="compile, download-dependencies" description="Compile unit tests.">
+    <target name="compile.tests" depends="compile" description="Compile unit tests.">
 
       <javac srcdir="${test.home}"
              destdir="${build.home}/test-classes"
@@ -256,7 +256,7 @@
 
 <!-- ========== Create Jar ================================================ -->
 
-  <target name="jar" depends="test" description="Create jar file">
+  <target name="jar" description="Create jar file">
 
     <copy file="LICENSE.txt" tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
     <copy file="NOTICE.txt"  tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
@@ -339,38 +339,11 @@
 
 <!-- ========== Gump Target ===================================================== -->
 
-  <target name="gump" depends="clean,test,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/>
+  <target name="gump" depends="clean,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/>
 
 
 <!-- ========== Download Dependencies =========================================== -->
 
-    <target name="download-dependencies" 
-         depends="check-availability" unless="skip.download">
-        <echo message="doing download-dependencies..." />
-        <antcall target="download-junit" />
-        <antcall target="download-hamcrest" />
-    </target>
-
-    <target name="check-availability">
-        <echo message="doing check-availability..." />
-        <available file="${junit.jar}" property="junit.found"/>
-    </target>
-
-    <target name="download-junit" unless="junit.found">
-        <echo message="Downloading junit..."/>
-        <mkdir dir="${download.lib.dir}" />
-        <get dest="${download.lib.dir}/junit-${junit.version}.jar"
-            usetimestamp="true" ignoreerrors="true"
-            src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
-    </target>
-
-	<target name="download-hamcrest" unless="hamcrest.found">
-	        <echo message="Downloading hamcrest..."/>
-	        <mkdir dir="${download.lib.dir}" />
-	        <get dest="${download.lib.dir}/${hamcrest.jar}"
-	            usetimestamp="true" ignoreerrors="true"
-	            src="http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
-	</target>
       
 </project>