Skip to content

Commit b3b6fc2

Browse files
author
smgfreeman
committed
removed text from build file (library extracted to separate project)
1 parent 8c6fffe commit b3b6fc2

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

‎build.xml‎

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,6 @@
9494
classpath="build/hamcrest-core-${version}.jar"/>
9595
</target>
9696

97-
<target name="text"
98-
depends="core, library"
99-
description="Build text pattern matcher">
100-
<java-to-jar srcdir="hamcrest-text/src/main/java"
101-
destjar="build/hamcrest-text-${version}.jar"
102-
classpath="
103-
build/hamcrest-core-${version}.jar;
104-
build/hamcrest-library-${version}.jar"/>
105-
</target>
106-
10797
<target name="integration"
10898
depends="core, library"
10999
description="Build integration with external tools">
@@ -115,14 +105,13 @@
115105
</target>
116106

117107
<target name="unit-test"
118-
depends="core, library, text, integration, generator"
108+
depends="core, library, integration, generator"
119109
description="Build and run unit tests.">
120110
<java-to-jar srcdir="hamcrest-unit-test/src/main/java"
121111
destjar="build/hamcrest-unit-test-${version}.jar"
122112
classpath="
123113
build/hamcrest-core-${version}.jar;
124114
build/hamcrest-library-${version}.jar;
125-
build/hamcrest-text-${version}.jar;
126115
build/hamcrest-integration-${version}.jar;
127116
build/hamcrest-generator-${version}.jar"/>
128117
<junit printsummary="no" fork="no" haltonfailure="${haltonfailure}">
@@ -133,7 +122,6 @@
133122
</fileset>
134123
<pathelement path="build/hamcrest-core-${version}.jar"/>
135124
<pathelement path="build/hamcrest-library-${version}.jar"/>
136-
<pathelement path="build/hamcrest-text-${version}.jar"/>
137125
<pathelement path="build/hamcrest-integration-${version}.jar"/>
138126
<pathelement path="build/hamcrest-generator-${version}.jar"/>
139127
<pathelement path="build/hamcrest-unit-test-${version}.jar"/>
@@ -159,19 +147,18 @@
159147
</target>
160148

161149
<target name="bigjar"
162-
depends="core, library, text, integration, generator"
150+
depends="core, library, integration, generator"
163151
description="Build a single Jar (hamcrest-all.jar) that contains core, library, generator and integration.">
164152
<jar jarfile="build/hamcrest-all-${version}.jar" duplicate="preserve">
165153
<zipfileset src="build/hamcrest-core-${version}.jar"/>
166154
<zipfileset src="build/hamcrest-library-${version}.jar"/>
167-
<zipfileset src="build/hamcrest-text-${version}.jar"/>
168155
<zipfileset src="build/hamcrest-generator-${version}.jar"/>
169156
<zipfileset src="build/hamcrest-integration-${version}.jar"/>
170157
</jar>
171158
</target>
172159

173160
<target name="package"
174-
depends="core, generator, library, text, integration, bigjar, unit-test, examples"
161+
depends="core, generator, library, integration, bigjar, unit-test, examples"
175162
description="Package for distribution">
176163
<zip zipfile="build/hamcrest-${version}.zip">
177164
<zipfileset dir="." prefix="hamcrest-${version}">
@@ -220,7 +207,6 @@
220207

221208
<packageset dir="hamcrest-core/src/main/java"/>
222209
<packageset dir="hamcrest-library/src/main/java" excludes="org/hamcrest/internal"/>
223-
<packageset dir="hamcrest-text/src/main/java" excludes="**/internal/**"/>
224210
<packageset dir="hamcrest-integration/src/main/java"/>
225211
<packageset dir="build/generated-code"/>
226212

0 commit comments

Comments
 (0)