Lines Matching refs:jar
8 …ache.tools.ant.taskdefs.optional.junit.JUnitTask" classpath="lib/integration/ant-junit-1.8.4.jar"/>
21 <jar-module modulename="hamcrest-api"/>
26 …p-hamcrest-generator-main" path="lib/generator/qdox-2.0-M2.jar;build/hamcrest-api-${version}.jar"/>
29 <jar-module modulename="hamcrest-generator"/>
32 …<!-- Include QDox classes in hamcrest-generator.jar using JarJar to place classes under a differen…
33 …="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="lib/generator/jarjar-1.3.jar"/>
34 …copy file="build/hamcrest-generator-${version}.jar" tofile="build/hamcrest-generator-${version}-no…
35 <jarjar jarfile="build/hamcrest-generator-${version}.jar">
36 <zipfileset src="build/hamcrest-generator-${version}-nodep.jar"/>
37 <zipfileset src="lib/generator/qdox-2.0-M2.jar"/>
43 <path id="cp-hamcrest-core-main" path="build/hamcrest-api-${version}.jar"/>
47 <jar-module modulename="hamcrest-core"/>
52 …amcrest-library-main" path="build/hamcrest-api-${version}.jar;build/hamcrest-core-${version}.jar"/>
53 <path id="cp-hamcrest-library-test" path="build/hamcrest-core-${version}-tests.jar"/>
56 <jar-module modulename="hamcrest-library"/>
62 <fileset file="build/hamcrest-api-${version}.jar"/>
63 <fileset file="build/hamcrest-core-${version}.jar"/>
64 <fileset file="build/hamcrest-library-${version}.jar"/>
65 <fileset dir="lib/integration" includes="**/*.jar"/>
67 <path id="cp-hamcrest-integration-test" path="build/hamcrest-core-${version}-tests.jar"/>
69 <jar-module modulename="hamcrest-integration"/>
75 <fileset file="build/hamcrest-api-${version}.jar"/>
76 <fileset file="build/hamcrest-core-${version}.jar"/>
77 <fileset file="build/hamcrest-library-${version}.jar"/>
78 <fileset file="build/hamcrest-integration-${version}.jar"/>
79 <fileset dir="lib/integration" includes="**/*.jar"/>
82 <jar-module modulename="hamcrest-examples"/>
86 <!-- Bundle api into core jar -->
87 <copy todir="build/temp/hamcrest-core-${version}.jar.contents">
88 <fileset dir="build/temp/hamcrest-api-${version}.jar.contents"/>
90 <copy todir="build/temp/hamcrest-core-${version}-sources.jar.contents">
91 <fileset dir="build/temp/hamcrest-api-${version}-sources.jar.contents"/>
93 <jar-module modulename="hamcrest-core"/>
95 <!-- Bundle core, library, integration, and generator into all jar-->
96 <copy todir="build/temp/hamcrest-all-${version}.jar.contents">
97 <fileset dir="build/temp/hamcrest-core-${version}.jar.contents"/>
98 <fileset dir="build/temp/hamcrest-library-${version}.jar.contents"/>
99 <fileset dir="build/temp/hamcrest-integration-${version}.jar.contents"/>
100 <fileset dir="build/temp/hamcrest-generator-${version}.jar.contents"/>
102 <copy todir="build/temp/hamcrest-all-${version}-sources.jar.contents">
103 <fileset dir="build/temp/hamcrest-core-${version}-sources.jar.contents"/>
104 <fileset dir="build/temp/hamcrest-library-${version}-sources.jar.contents"/>
105 <fileset dir="build/temp/hamcrest-integration-${version}-sources.jar.contents"/>
106 <fileset dir="build/temp/hamcrest-generator-${version}-sources.jar.contents"/>
114 <jar-module modulename="hamcrest-all"/>
133 <jar-bundle modulename="hamcrest-parent"/>
145 <mkdir dir="build/temp/@{modulename}-${version}.jar.manifest"/>
146 <manifest file="build/temp/@{modulename}-${version}.jar.manifest/MANIFEST.MF">
157 <attribute name="modulename" description="Name of the module to jar"/>
161 <path path="lib/integration/junit-dep-4.11.jar"/>
164 <path path="build/temp/@{modulename}-${version}.jar.contents"/>
172 …<attribute name="jarname" description="Name of the jar whose content is being compiled (without .j…
175 <mkdir dir="build/temp/@{jarname}-sources.jar.contents"/>
176 <copy failonerror="false" todir="build/temp/@{jarname}-sources.jar.contents">
179 <mkdir dir="build/temp/@{jarname}.jar.contents"/>
180 <javac srcdir="build/temp/@{jarname}-sources.jar.contents"
181 destdir="build/temp/@{jarname}.jar.contents"
188 <macrodef name="jar-module">
189 <attribute name="modulename" description="Name of the module to jar"/>
192 <jar-module-component modulename="@{modulename}"/>
193 <jar-module-component modulename="@{modulename}" suffix="-tests"/>
194 <jar-module-component modulename="@{modulename}" suffix="-sources"/>
198 <macrodef name="jar-module-component">
199 <attribute name="modulename" description="Name of the module to jar"/>
200 <attribute name="suffix" default="" description="Name of the module to jar"/>
202 …<copy file="LICENSE.txt" todir="build/temp/@{modulename}-${version}@{suffix}.jar.contents/META-INF…
203 …<jar jarfile="build/@{modulename}-${version}@{suffix}.jar" manifest="build/temp/@{modulename}-${ve…
204 <fileset dir="build/temp/@{modulename}-${version}@{suffix}.jar.contents"/>
205 </jar>
210 <attribute name="modulename" description="Name of the module to jar"/>
217 <classpath path="build/hamcrest-generator-${version}.jar"/>
219 <classpath path="build/temp/@{modulename}-${version}.jar.contents"/>
226 <copy todir="build/temp/@{modulename}-${version}-sources.jar.contents">
240 <classpath path="build/@{modulename}-${version}-tests.jar"/>
242 <zipfileset src="build/@{modulename}-${version}-tests.jar">
254 …packagenames="org.hamcrest.*" sourcepath="build/temp/@{modulename}-${version}-sources.jar.contents"
255 … destdir="build/temp/@{modulename}-${version}-javadoc.jar.contents" author="true" version="true"
259 <jar-module-component modulename="@{modulename}" suffix="-javadoc"/>
263 <macrodef name="bundle-module" description="Generate maven bundle jar for a module">
267 <sign target="@{modulename}-${version}.jar"/>
268 <sign target="@{modulename}-${version}-javadoc.jar"/>
269 <sign target="@{modulename}-${version}-sources.jar"/>
270 <jar-bundle modulename="@{modulename}"/>
274 <macrodef name="jar-bundle" description="Jar maven bundle contents">
275 <attribute name="modulename" description="Name of the module to create bundle jar for"/>
277 <jar destfile="build/maven-bundle-@{modulename}.jar">
279 </jar>