8c74096f29
- Enabled build on JDK 1.7 since newer version builds with 1.7 with the MAKE_ENV set - Disable tests since they are fail intermittently due to system load - Remove echo during install and unmute install commands PR: 190721 Submitted by: swills (myself) Approved by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer) (all except test disable)
60 lines
2.5 KiB
XML
60 lines
2.5 KiB
XML
--- build.xml.orig 2014-05-07 20:40:45.000000000 +0000
|
|
+++ build.xml 2014-06-13 18:53:29.152647282 +0000
|
|
@@ -52,7 +52,7 @@
|
|
<property name="component.title" value="Commons MATH"/>
|
|
|
|
<!-- The current version number of this component -->
|
|
- <property name="component.version" value="3.1-SNAPSHOT"/>
|
|
+ <property name="component.version" value="3.3-SNAPSHOT"/>
|
|
|
|
<!-- The base directory for component sources -->
|
|
<property name="source.home" value="src/main/java"/>
|
|
@@ -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,29 +339,8 @@
|
|
|
|
<!-- ========== 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,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>
|
|
|