• Home
  • Raw
  • Download

Lines Matching +full:- +full:jar

7 … <tstamp><format property="build.timestamp" pattern="yyyy-MM-dd HH:mm:ss" timezone="GMT"/></tstamp>
8 …ache.tools.ant.taskdefs.optional.junit.JUnitTask" classpath="lib/integration/ant-junit-1.8.4.jar"/>
18 <path id="cp-hamcrest-api-main" path=""/>
19 <path id="cp-hamcrest-api-test" path=""/>
20 <compile-module modulename="hamcrest-api"/>
21 <jar-module modulename="hamcrest-api"/>
22 <test-module modulename="hamcrest-api"/>
26 …<path id="cp-hamcrest-generator-main" path="lib/generator/qdox-2.0-M2.jar;build/hamcrest-api-${ver…
27 <path id="cp-hamcrest-generator-test" path=""/>
28 <compile-module modulename="hamcrest-generator"/>
29 <jar-module modulename="hamcrest-generator"/>
30 <test-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}-n…
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"/>
44 <path id="cp-hamcrest-core-test" path=""/>
45 <compile-module modulename="hamcrest-core"/>
46-module-factory modulename="hamcrest-core" configurationfile="hamcrest-core/core-matchers.xml" tar…
47 <jar-module modulename="hamcrest-core"/>
48 <test-module modulename="hamcrest-core"/>
52 …<path id="cp-hamcrest-library-main" path="build/hamcrest-api-${version}.jar;build/hamcrest-core-${…
53 <path id="cp-hamcrest-library-test" path="build/hamcrest-core-${version}-tests.jar"/>
54 <compile-module modulename="hamcrest-library"/>
55-module-factory modulename="hamcrest-library" configurationfile="hamcrest-library/matchers.xml" ta…
56 <jar-module modulename="hamcrest-library"/>
57 <test-module modulename="hamcrest-library"/>
61 <path id="cp-hamcrest-integration-main">
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"/>
68 <compile-module modulename="hamcrest-integration"/>
69 <jar-module modulename="hamcrest-integration"/>
70 <test-module modulename="hamcrest-integration"/>
74 <path id="cp-hamcrest-examples-main">
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"/>
81 <compile-module modulename="hamcrest-examples"/>
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"/>
108 <path id="cp-hamcrest-all-main">
109 <path refid="cp-hamcrest-core-main"/>
110 <path refid="cp-hamcrest-library-main"/>
111 <path refid="cp-hamcrest-integration-main"/>
112 <path refid="cp-hamcrest-generator-main"/>
114 <jar-module modulename="hamcrest-all"/>
118 <javadoc-module modulename="hamcrest-generator"/>
119 <javadoc-module modulename="hamcrest-core"/>
120 <javadoc-module modulename="hamcrest-library"/>
121 <javadoc-module modulename="hamcrest-integration"/>
122 <javadoc-module modulename="hamcrest-all"/>
129 <mapper type="regexp" from="(.*)\.pom" to="\1-${version}.pom"/>
132 <sign target="hamcrest-parent-${version}.pom"/>
133 <jar-bundle modulename="hamcrest-parent"/>
135 <bundle-module modulename="hamcrest-core"/>
136 <bundle-module modulename="hamcrest-generator"/>
137 <bundle-module modulename="hamcrest-library"/>
138 <bundle-module modulename="hamcrest-integration"/>
139 <bundle-module modulename="hamcrest-all"/>
142 <macrodef name="make-manifest">
145 <mkdir dir="build/temp/@{modulename}-${version}.jar.manifest"/>
146 <manifest file="build/temp/@{modulename}-${version}.jar.manifest/MANIFEST.MF">
147 <attribute name="Implementation-Title" value="@{modulename}"/>
148 <attribute name="Implementation-Vendor" value="hamcrest.org"/>
149 <attribute name="Implementation-Version" value="${version}"/>
150 <attribute name="Built-By" value="${user.name}"/>
151 <attribute name="Built-Date" value="${build.timestamp}"/>
156 <macrodef name="compile-module">
157 <attribute name="modulename" description="Name of the module to jar"/>
159 …<compile-content srcdir="@{modulename}/src/main/java" jarname="@{modulename}-${version}" classpath…
160 <path id="cp-@{modulename}-test-complete">
161 <path path="lib/integration/junit-dep-4.11.jar"/>
162 <path refid="cp-@{modulename}-main"/>
163 <path refid="cp-@{modulename}-test"/>
164 <path path="build/temp/@{modulename}-${version}.jar.contents"/>
166 …<compile-content srcdir="@{modulename}/src/test/java" jarname="@{modulename}-${version}-tests" cla…
170 <macrodef name="compile-content">
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"/>
191 <make-manifest modulename="@{modulename}"/>
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>
209 … <macrodef name="generate-module-factory" description="Generate one class with all static imports">
210 <attribute name="modulename" description="Name of the module to jar"/>
213 <attribute name="sources" description="comma-separated source directories"/>
215 <mkdir dir="build/temp/@{modulename}/generated-code"/>
217 <classpath path="build/hamcrest-generator-${version}.jar"/>
218 <classpath refid="cp-@{modulename}-main"/>
219 <classpath path="build/temp/@{modulename}-${version}.jar.contents"/>
223 <arg value="build/temp/@{modulename}/generated-code"/>
226 <copy todir="build/temp/@{modulename}-${version}-sources.jar.contents">
227 <fileset dir="build/temp/@{modulename}/generated-code"/>
229 <compile-module modulename="@{modulename}"/>
233 <macrodef name="test-module" description="run unit tests.">
236 <mkdir dir="build/temp/@{modulename}/test-wrk"/>
237 …<junit printsummary="no" forkmode="once" tempdir="build/temp/@{modulename}/test-wrk" haltonfailure…
239 <classpath refid="cp-@{modulename}-test-complete"/>
240 <classpath path="build/@{modulename}-${version}-tests.jar"/>
242 <zipfileset src="build/@{modulename}-${version}-tests.jar">
251 <macrodef name="javadoc-module" description="Generate javadoc for a module and build a 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"
257 <classpath refid="cp-@{modulename}-main"/>
259 <jar-module-component modulename="@{modulename}" suffix="-javadoc"/>
263 <macrodef name="bundle-module" description="Generate maven bundle jar for a module">
266 <sign target="@{modulename}-${version}.pom"/>
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">
278 <fileset dir="build"><include name="@{modulename}-${version}*"/></fileset>
279 </jar>
286 <exec executable="gpg" dir="build"><arg value="-ab"/><arg value="@{target}"/></exec>