ports/math/jakarta-commons-math/files/patch-build.xml
Muhammad Moinur Rahman 2b6f94cce6 math/jakarta-commons-math: Restrict build to 1.6 and 1.7 [1]
- Unmute INSTALL_ macros
- Fix patch files to reflect 'make makepatch'

PR:		201352 [1]
Submitted by:	glewis [1]
2015-07-06 08:57:43 +00:00

39 lines
1.5 KiB
XML

--- build.xml.orig 2011-02-26 18:12:55 UTC
+++ build.xml
@@ -167,7 +167,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"
@@ -332,27 +332,5 @@
<target name="gump" depends="clean,test,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" />
- </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>
-
</project>