|
94 | 94 | classpath="build/hamcrest-core-${version}.jar"/> |
95 | 95 | </target> |
96 | 96 |
|
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 | | - |
107 | 97 | <target name="integration" |
108 | 98 | depends="core, library" |
109 | 99 | description="Build integration with external tools"> |
|
115 | 105 | </target> |
116 | 106 |
|
117 | 107 | <target name="unit-test" |
118 | | - depends="core, library, text, integration, generator" |
| 108 | + depends="core, library, integration, generator" |
119 | 109 | description="Build and run unit tests."> |
120 | 110 | <java-to-jar srcdir="hamcrest-unit-test/src/main/java" |
121 | 111 | destjar="build/hamcrest-unit-test-${version}.jar" |
122 | 112 | classpath=" |
123 | 113 | build/hamcrest-core-${version}.jar; |
124 | 114 | build/hamcrest-library-${version}.jar; |
125 | | - build/hamcrest-text-${version}.jar; |
126 | 115 | build/hamcrest-integration-${version}.jar; |
127 | 116 | build/hamcrest-generator-${version}.jar"/> |
128 | 117 | <junit printsummary="no" fork="no" haltonfailure="${haltonfailure}"> |
|
133 | 122 | </fileset> |
134 | 123 | <pathelement path="build/hamcrest-core-${version}.jar"/> |
135 | 124 | <pathelement path="build/hamcrest-library-${version}.jar"/> |
136 | | - <pathelement path="build/hamcrest-text-${version}.jar"/> |
137 | 125 | <pathelement path="build/hamcrest-integration-${version}.jar"/> |
138 | 126 | <pathelement path="build/hamcrest-generator-${version}.jar"/> |
139 | 127 | <pathelement path="build/hamcrest-unit-test-${version}.jar"/> |
|
159 | 147 | </target> |
160 | 148 |
|
161 | 149 | <target name="bigjar" |
162 | | - depends="core, library, text, integration, generator" |
| 150 | + depends="core, library, integration, generator" |
163 | 151 | description="Build a single Jar (hamcrest-all.jar) that contains core, library, generator and integration."> |
164 | 152 | <jar jarfile="build/hamcrest-all-${version}.jar" duplicate="preserve"> |
165 | 153 | <zipfileset src="build/hamcrest-core-${version}.jar"/> |
166 | 154 | <zipfileset src="build/hamcrest-library-${version}.jar"/> |
167 | | - <zipfileset src="build/hamcrest-text-${version}.jar"/> |
168 | 155 | <zipfileset src="build/hamcrest-generator-${version}.jar"/> |
169 | 156 | <zipfileset src="build/hamcrest-integration-${version}.jar"/> |
170 | 157 | </jar> |
171 | 158 | </target> |
172 | 159 |
|
173 | 160 | <target name="package" |
174 | | - depends="core, generator, library, text, integration, bigjar, unit-test, examples" |
| 161 | + depends="core, generator, library, integration, bigjar, unit-test, examples" |
175 | 162 | description="Package for distribution"> |
176 | 163 | <zip zipfile="build/hamcrest-${version}.zip"> |
177 | 164 | <zipfileset dir="." prefix="hamcrest-${version}"> |
|
220 | 207 |
|
221 | 208 | <packageset dir="hamcrest-core/src/main/java"/> |
222 | 209 | <packageset dir="hamcrest-library/src/main/java" excludes="org/hamcrest/internal"/> |
223 | | - <packageset dir="hamcrest-text/src/main/java" excludes="**/internal/**"/> |
224 | 210 | <packageset dir="hamcrest-integration/src/main/java"/> |
225 | 211 | <packageset dir="build/generated-code"/> |
226 | 212 |
|
|
0 commit comments