43 lines
1.7 KiB
Diff
43 lines
1.7 KiB
Diff
diff -urN hamcrest-1.3.old/build.xml hamcrest-1.3/build.xml
|
|
--- hamcrest-1.3.old/build.xml 2014-06-16 13:00:29.321699344 +0200
|
|
+++ hamcrest-1.3/build.xml 2014-06-16 14:24:30.160165471 +0200
|
|
@@ -27,6 +27,7 @@
|
|
</target>
|
|
|
|
<target name="core" depends="generator" description="Build core Hamcrest library">
|
|
+ <parallel threadcount="1">
|
|
<java-to-jar srcdir="hamcrest-core/src/main/java" modulename="hamcrest-core"/>
|
|
|
|
<!-- Generate one class with all static imports -->
|
|
@@ -36,7 +37,7 @@
|
|
fork="yes"
|
|
failonerror="yes"
|
|
classpath="
|
|
- build/hamcrest-core-${version}.jar;
|
|
+ build/temp/hamcrest-core-${version}.jar.contents;
|
|
build/hamcrest-generator-${version}.jar;
|
|
">
|
|
<arg value="core-matchers.xml"/>
|
|
@@ -48,11 +49,13 @@
|
|
<java-to-jar srcdir="build/temp/hamcrest-core/generated-code"
|
|
modulename="hamcrest-core"
|
|
classpath="build/hamcrest-core-${version}.jar"/>
|
|
+ </parallel>
|
|
</target>
|
|
|
|
<target name="library"
|
|
depends="core,generator"
|
|
description="Build library of matchers">
|
|
+ <parallel threadcount="1">
|
|
<mkdir dir="build/temp/hamcrest-library/generated-code"/>
|
|
<java-to-jar srcdir="hamcrest-library/src/main/java"
|
|
modulename="hamcrest-library"
|
|
@@ -75,6 +78,7 @@
|
|
<java-to-jar srcdir="build/temp/hamcrest-library/generated-code"
|
|
modulename="hamcrest-library"
|
|
classpath="build/hamcrest-core-${version}.jar"/>
|
|
+ </parallel>
|
|
</target>
|
|
|
|
<target name="integration" depends="core, library" description="Build integration with external tools">
|