mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 06:40:33 -04:00
Unbreak and move as it now an Apache Commons project. PR: 241380 Approved by: bofh (maintainer)
60 lines
2.5 KiB
XML
60 lines
2.5 KiB
XML
--- 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>
|
|
|