java-hamcrest/java-hamcrest-1.1-build.patch

97 lines
4.5 KiB
Diff

--- hamcrest-1.1/build.xml 2007-06-30 15:03:43.000000000 +0200
+++ hamcrest-1.1/build.xml-gil 2009-03-06 13:46:42.000000000 +0100
@@ -26,17 +26,17 @@
<java-to-jar srcdir="hamcrest-generator/src/main/java"
destjar="build/temp/hamcrest-generator-${version}-nodeps.jar"
classpath="
- lib/generator/qdox-1.6.1.jar;
+ lib/generator/qdox.jar;
"/>
<taskdef name="jarjar"
classname="com.tonicsystems.jarjar.JarJarTask"
- classpath="lib/generator/jarjar-1.0rc3.jar"/>
+ classpath="lib/generator/jarjar.jar"/>
<!-- Bundle QDox classes in hamcrest-generator.jar so user doesn't need to care
about it's existence. Uses JarJar to place classes under a different package
to prevent conflict. -->
<jarjar jarfile="build/hamcrest-generator-${version}.jar">
<zipfileset src="build/temp/hamcrest-generator-${version}-nodeps.jar"/>
- <zipfileset src="lib/generator/qdox-1.6.1.jar"/>
+ <zipfileset src="lib/generator/qdox.jar"/>
<rule pattern="com.thoughtworks.qdox.**"
result="org.hamcrest.generator.qdox.@1"/>
</jarjar>
@@ -94,16 +94,16 @@
classpath="build/hamcrest-core-${version}.jar"/>
</target>
- <target name="text"
- depends="core, library"
- description="Build text pattern matcher">
- <java-to-jar srcdir="hamcrest-text/src/main/java"
- destjar="build/hamcrest-text-${version}.jar"
- classpath="
- build/hamcrest-core-${version}.jar;
- build/hamcrest-library-${version}.jar"/>
- </target>
-
+ <target name="text"
+ depends="core, library"
+ description="Build text pattern matcher">
+ <java-to-jar srcdir="hamcrest-text/src/main/java"
+ destjar="build/hamcrest-text-${version}.jar"
+ classpath="
+ build/hamcrest-core-${version}.jar;
+ build/hamcrest-library-${version}.jar"/>
+ </target>
+
<target name="integration"
depends="core, library"
description="Build integration with external tools">
@@ -121,7 +121,7 @@
destjar="build/hamcrest-unit-test-${version}.jar"
classpath="
build/hamcrest-core-${version}.jar;
- build/hamcrest-library-${version}.jar;
+ build/hamcrest-library-${version}.jar;
build/hamcrest-text-${version}.jar;
build/hamcrest-integration-${version}.jar;
build/hamcrest-generator-${version}.jar"/>
@@ -164,7 +164,7 @@
<jar jarfile="build/hamcrest-all-${version}.jar" duplicate="preserve">
<zipfileset src="build/hamcrest-core-${version}.jar"/>
<zipfileset src="build/hamcrest-library-${version}.jar"/>
- <zipfileset src="build/hamcrest-text-${version}.jar"/>
+ <zipfileset src="build/hamcrest-text-${version}.jar"/>
<zipfileset src="build/hamcrest-generator-${version}.jar"/>
<zipfileset src="build/hamcrest-integration-${version}.jar"/>
</jar>
@@ -211,7 +211,7 @@
<target name="javadoc" depends="library">
<mkdir dir="build/javadoc"/>
<javadoc destdir="build/javadoc" source="1.5" failonerror="yes"
- overview="overview.html">
+ >
<classpath>
<fileset dir="lib/integration">
@@ -221,9 +221,10 @@
<packageset dir="hamcrest-core/src/main/java"/>
<packageset dir="hamcrest-library/src/main/java" excludes="org/hamcrest/internal"/>
- <packageset dir="hamcrest-text/src/main/java" excludes="**/internal/**"/>
+ <packageset dir="hamcrest-text/src/main/java" excludes="**/internal/**"/>
<packageset dir="hamcrest-integration/src/main/java"/>
- <packageset dir="build/generated-code"/>
+ <packageset dir="build/temp/hamcrest-core/generated-code"/>
+ <packageset dir="build/temp/hamcrest-library/generated-code"/>
<group title="Hamcrest API and Utility Classes" packages="org.hamcrest"/>
<group title="Matcher Library" packages="org.hamcrest.*"/>
@@ -261,4 +262,4 @@
</sequential>
</macrodef>
-</project>
+</project>