1 |
commit: e138e7db47a2bcf1c1995ee9cf4451c203eb299d |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 31 16:40:35 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 16:42:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e138e7db |
7 |
|
8 |
dev-java/joda-time: Clean up old. |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-java/joda-time/Manifest | 3 - |
13 |
dev-java/joda-time/files/1.5.1-ecj.patch | 15 -- |
14 |
dev-java/joda-time/files/joda-time-2.2-build.xml | 270 ----------------------- |
15 |
dev-java/joda-time/files/joda-time-2.3-build.xml | 267 ---------------------- |
16 |
dev-java/joda-time/joda-time-1.6.ebuild | 50 ----- |
17 |
dev-java/joda-time/joda-time-2.2.ebuild | 56 ----- |
18 |
dev-java/joda-time/joda-time-2.3.ebuild | 55 ----- |
19 |
7 files changed, 716 deletions(-) |
20 |
|
21 |
diff --git a/dev-java/joda-time/Manifest b/dev-java/joda-time/Manifest |
22 |
index 4ecfc93..c5d994c 100644 |
23 |
--- a/dev-java/joda-time/Manifest |
24 |
+++ b/dev-java/joda-time/Manifest |
25 |
@@ -1,4 +1 @@ |
26 |
-DIST joda-time-1.6-src.tar.gz 1270950 SHA256 4dc645d2ef3c19eebdb388cf22d27fa1c51abcfae87f48f12e2477a91207f92f SHA512 30c1cf558b8dfce67de357dec72c6d64358639f83999eae4f637e436e2e1a4870d09fd4ff86547ece992e49d96fc5113d44cc1dceed910c4de9a65ebc1075c01 WHIRLPOOL fae630d09e01b058e95ebbbceb0f1725580171e0746135dab35f247d1455c712f4f4f6fde7e6edf2cb578cc94fae6b87c202ce581675809b054d05ebcd5c0037 |
27 |
-DIST joda-time-2.2-dist.tar.gz 4397101 SHA256 1cf6176f222f0155b20693dc2a9939e10c766d986d68b144e30f446772596c48 SHA512 8a67b420b4cd179bd80166c930efdf9e32b4813b431329dae7844a078c23688220130c8466993aae4a865bf01e593a8e22b992726d9a1fe64eb0b6f911197f10 WHIRLPOOL 4afb42425e72deaaf25067810538191b6fec1c8e7a214c2230ca98a445d7c5134d881d62bcc9d6b4eedd4776803dcf32a734c8d5c24acd169101a7197d924c57 |
28 |
-DIST joda-time-2.3-dist.tar.gz 3440289 SHA256 f27acf5361e50e0560b349aecf3211e6265b4546d3de0362583390c18cbf4c57 SHA512 b20b0c77878971af99a2e60f01ca73510d4244fc4a069d21a657c79bd3ec482494edd3945c6a98e5313e41e53ede51f1cc98a5396f97e3c3775659a982c0fa0c WHIRLPOOL 6c9c6fe1a4e06e7634a34864f85a70024ddf058c8c3d1a33d83285b1fcee57fc122ce0615e1bca0d15d0387841b91565591a533bcf61a5679a4b69c2efe2c949 |
29 |
DIST joda-time-2.7-dist.tar.gz 4007765 SHA256 6f29f22ff88d39d988c600f1e274e7a59c451184d7d6d400e2ddb9e4bbb2ceeb SHA512 2a9bf91024bf20c4f1a28c87e5c6e560994ba6f7e131757c83a5ab6984ea79549e1d00452dcf767fc5cab374e531649759703acbaed724a1e49436cae0799209 WHIRLPOOL eb2f91d5bbff641495d3a7763872321718415e49c8adb864805a84a73c583ee562f145821621ffd38ce1b41a813a15f4dcf609c5130b7557ef4d5e9fed86b17f |
30 |
|
31 |
diff --git a/dev-java/joda-time/files/1.5.1-ecj.patch b/dev-java/joda-time/files/1.5.1-ecj.patch |
32 |
deleted file mode 100644 |
33 |
index 79f3f78..0000000 |
34 |
--- a/dev-java/joda-time/files/1.5.1-ecj.patch |
35 |
+++ /dev/null |
36 |
@@ -1,15 +0,0 @@ |
37 |
-diff -ur joda-time-1.5.1-src.old/src/test/org/joda/time/convert/MockUnknownCalendar.java joda-time-1.5.1-src/src/test/org/joda/time/convert/MockUnknownCalendar.java |
38 |
---- joda-time-1.5.1-src.old/src/test/org/joda/time/convert/MockUnknownCalendar.java 2007-12-21 00:43:52.000000000 +0200 |
39 |
-+++ joda-time-1.5.1-src/src/test/org/joda/time/convert/MockUnknownCalendar.java 2007-12-21 00:46:42.000000000 +0200 |
40 |
-@@ -34,7 +34,10 @@ |
41 |
- MockUnknownCalendar(TimeZone zone) { |
42 |
- this.zone = zone; |
43 |
- } |
44 |
-- |
45 |
-+ |
46 |
-+ public int compareTo(Object o) { |
47 |
-+ return super.compareTo((Calendar) o); |
48 |
-+ } |
49 |
- public long getTimeInMillis() { |
50 |
- return millis; |
51 |
- } |
52 |
|
53 |
diff --git a/dev-java/joda-time/files/joda-time-2.2-build.xml b/dev-java/joda-time/files/joda-time-2.2-build.xml |
54 |
deleted file mode 100644 |
55 |
index c90c227..0000000 |
56 |
--- a/dev-java/joda-time/files/joda-time-2.2-build.xml |
57 |
+++ /dev/null |
58 |
@@ -1,270 +0,0 @@ |
59 |
-<?xml version="1.0" encoding="UTF-8"?> |
60 |
- |
61 |
-<!-- ====================================================================== --> |
62 |
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> |
63 |
-<!-- ====================================================================== --> |
64 |
- |
65 |
-<!-- ====================================================================== --> |
66 |
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> |
67 |
-<!-- ====================================================================== --> |
68 |
-<!-- --> |
69 |
-<!-- Any modifications will be overwritten. --> |
70 |
-<!-- --> |
71 |
-<!-- Generated by Maven Ant Plugin on 5/9/13 4:05 PM --> |
72 |
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
73 |
-<!-- --> |
74 |
-<!-- ====================================================================== --> |
75 |
- |
76 |
-<project name="joda-time-from-maven" default="package" basedir="."> |
77 |
- |
78 |
- <!-- ====================================================================== --> |
79 |
- <!-- Build environment properties --> |
80 |
- <!-- ====================================================================== --> |
81 |
- |
82 |
- <property file="${user.home}/.m2/maven.properties"/> |
83 |
- <property file="maven-build.properties"/> |
84 |
- |
85 |
- <property name="maven.build.finalName" value="joda-time-2.2"/> |
86 |
- <property name="maven.build.dir" value="target"/> |
87 |
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> |
88 |
- <property name="maven.build.srcDir.0" value="src/main/java"/> |
89 |
- <property name="maven.build.resourceDir.0" value="src/main/resources"/> |
90 |
- <property name="maven.build.resourceDir.1" value="."/> |
91 |
- <property name="maven.build.resourceDir.2" value="src/main/java"/> |
92 |
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> |
93 |
- <property name="maven.build.testDir.0" value="src/test/java"/> |
94 |
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/> |
95 |
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> |
96 |
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> |
97 |
- |
98 |
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/> |
99 |
- <property name="maven.settings.offline" value="false"/> |
100 |
- <property name="maven.settings.interactiveMode" value="true"/> |
101 |
- |
102 |
- <!-- ====================================================================== --> |
103 |
- <!-- Defining classpaths --> |
104 |
- <!-- ====================================================================== --> |
105 |
- |
106 |
- <path id="build.classpath"> |
107 |
- <pathelement location="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"/> |
108 |
- </path> |
109 |
- <path id="build.test.classpath"> |
110 |
- <pathelement location="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"/> |
111 |
- <pathelement location="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar"/> |
112 |
- </path> |
113 |
- |
114 |
- <!-- ====================================================================== --> |
115 |
- <!-- Cleaning up target --> |
116 |
- <!-- ====================================================================== --> |
117 |
- |
118 |
- <target name="clean" description="Clean the output directory"> |
119 |
- <delete dir="${maven.build.dir}"/> |
120 |
- </target> |
121 |
- |
122 |
- <!-- ====================================================================== --> |
123 |
- <!-- Compilation target --> |
124 |
- <!-- ====================================================================== --> |
125 |
- |
126 |
- <target name="compile" depends="get-deps" description="Compile the code"> |
127 |
- <mkdir dir="${maven.build.outputDir}"/> |
128 |
- <javac destdir="${maven.build.outputDir}" |
129 |
- nowarn="false" |
130 |
- debug="true" |
131 |
- optimize="true" |
132 |
- deprecation="false" |
133 |
- target="1.5" |
134 |
- verbose="true" |
135 |
- fork="true" |
136 |
- source="1.5"> |
137 |
- <src> |
138 |
- <pathelement location="${maven.build.srcDir.0}"/> |
139 |
- </src> |
140 |
- <classpath refid="build.classpath"/> |
141 |
- </javac> |
142 |
- <mkdir dir="${maven.build.outputDir}/META-INF"/> |
143 |
- <copy todir="${maven.build.outputDir}/META-INF"> |
144 |
- <fileset dir="${maven.build.resourceDir.1}"> |
145 |
- <include name="LICENSE.txt"/> |
146 |
- <include name="NOTICE.txt"/> |
147 |
- </fileset> |
148 |
- </copy> |
149 |
- <mkdir dir="${maven.build.outputDir}/."/> |
150 |
- <copy todir="${maven.build.outputDir}/."> |
151 |
- <fileset dir="${maven.build.resourceDir.2}"> |
152 |
- <include name="org/joda/time/tz/data/**"/> |
153 |
- <include name="**/*.properties"/> |
154 |
- </fileset> |
155 |
- </copy> |
156 |
- </target> |
157 |
- |
158 |
- <!-- ====================================================================== --> |
159 |
- <!-- Test-compilation target --> |
160 |
- <!-- ====================================================================== --> |
161 |
- |
162 |
- <target name="compile-tests" |
163 |
- depends="compile" |
164 |
- description="Compile the test code" |
165 |
- unless="maven.test.skip"> |
166 |
- <mkdir dir="${maven.build.testOutputDir}"/> |
167 |
- <javac destdir="${maven.build.testOutputDir}" |
168 |
- nowarn="false" |
169 |
- debug="true" |
170 |
- optimize="true" |
171 |
- deprecation="false" |
172 |
- target="1.5" |
173 |
- verbose="true" |
174 |
- fork="true" |
175 |
- source="1.5"> |
176 |
- <src> |
177 |
- <pathelement location="${maven.build.testDir.0}"/> |
178 |
- </src> |
179 |
- <classpath> |
180 |
- <path refid="build.test.classpath"/> |
181 |
- <pathelement location="${maven.build.outputDir}"/> |
182 |
- </classpath> |
183 |
- </javac> |
184 |
- <copy todir="${maven.build.testOutputDir}"> |
185 |
- <fileset dir="${maven.build.testResourceDir.0}"/> |
186 |
- </copy> |
187 |
- </target> |
188 |
- |
189 |
- <!-- ====================================================================== --> |
190 |
- <!-- Run all tests --> |
191 |
- <!-- ====================================================================== --> |
192 |
- |
193 |
- <target name="test" |
194 |
- depends="compile-tests, junit-missing" |
195 |
- unless="junit.skipped" |
196 |
- description="Run the test cases"> |
197 |
- <mkdir dir="${maven.test.reports}"/> |
198 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
199 |
- <sysproperty key="basedir" value="."/> |
200 |
- <formatter type="xml"/> |
201 |
- <formatter type="plain" usefile="false"/> |
202 |
- <classpath> |
203 |
- <path refid="build.test.classpath"/> |
204 |
- <pathelement location="${maven.build.outputDir}"/> |
205 |
- <pathelement location="${maven.build.testOutputDir}"/> |
206 |
- </classpath> |
207 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
208 |
- <fileset dir="${maven.build.testDir.0}"> |
209 |
- <include name="**/TestAllPackages.java"/> |
210 |
- <exclude name="**/*Abstract*Test.java"/> |
211 |
- </fileset> |
212 |
- </batchtest> |
213 |
- <batchtest todir="${maven.test.reports}" if="test"> |
214 |
- <fileset dir="${maven.build.testDir.0}"> |
215 |
- <include name="**/${test}.java"/> |
216 |
- <exclude name="**/*Abstract*Test.java"/> |
217 |
- </fileset> |
218 |
- </batchtest> |
219 |
- </junit> |
220 |
- </target> |
221 |
- |
222 |
- <target name="test-junit-present"> |
223 |
- <available classname="junit.framework.Test" property="junit.present"/> |
224 |
- </target> |
225 |
- |
226 |
- <target name="test-junit-status" |
227 |
- depends="test-junit-present"> |
228 |
- <condition property="junit.missing"> |
229 |
- <and> |
230 |
- <isfalse value="${junit.present}"/> |
231 |
- <isfalse value="${maven.test.skip}"/> |
232 |
- </and> |
233 |
- </condition> |
234 |
- <condition property="junit.skipped"> |
235 |
- <or> |
236 |
- <isfalse value="${junit.present}"/> |
237 |
- <istrue value="${maven.test.skip}"/> |
238 |
- </or> |
239 |
- </condition> |
240 |
- </target> |
241 |
- |
242 |
- <target name="junit-missing" |
243 |
- depends="test-junit-status" |
244 |
- if="junit.missing"> |
245 |
- <echo>=================================== WARNING ===================================</echo> |
246 |
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
247 |
- <echo>===============================================================================</echo> |
248 |
- </target> |
249 |
- |
250 |
- <!-- ====================================================================== --> |
251 |
- <!-- Javadoc target --> |
252 |
- <!-- ====================================================================== --> |
253 |
- |
254 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
255 |
- <javadoc sourcepath="${maven.build.srcDir.0}" |
256 |
- packagenames="*" |
257 |
- destdir="${maven.reporting.outputDirectory}/apidocs" |
258 |
- access="protected" |
259 |
- old="false" |
260 |
- verbose="false" |
261 |
- encoding="UTF-8" |
262 |
- version="true" |
263 |
- use="true" |
264 |
- author="true" |
265 |
- splitindex="false" |
266 |
- nodeprecated="false" |
267 |
- nodeprecatedlist="false" |
268 |
- notree="false" |
269 |
- noindex="false" |
270 |
- nohelp="false" |
271 |
- nonavbar="false" |
272 |
- serialwarn="false" |
273 |
- charset="ISO-8859-1" |
274 |
- linksource="true" |
275 |
- breakiterator="false"> |
276 |
- <link href="http://download.oracle.com/javase/1.5.0/docs/api/"/> |
277 |
- <group title="User packages"/> |
278 |
- <group title="Implementation packages"/> |
279 |
- </javadoc> |
280 |
- </target> |
281 |
- |
282 |
- <!-- ====================================================================== --> |
283 |
- <!-- Package target --> |
284 |
- <!-- ====================================================================== --> |
285 |
- |
286 |
- <target name="package" depends="compile,test" description="Package the application"> |
287 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
288 |
- compress="true" |
289 |
- index="false" |
290 |
- manifest="src/conf/MANIFEST.MF" |
291 |
- basedir="${maven.build.outputDir}" |
292 |
- excludes="**/package.html"/> |
293 |
- </target> |
294 |
- |
295 |
- <!-- ====================================================================== --> |
296 |
- <!-- A dummy target for the package named after the type it creates --> |
297 |
- <!-- ====================================================================== --> |
298 |
- |
299 |
- <target name="jar" depends="package" description="Builds the jar for the application"/> |
300 |
- |
301 |
- <!-- ====================================================================== --> |
302 |
- <!-- Download dependencies target --> |
303 |
- <!-- ====================================================================== --> |
304 |
- |
305 |
- <target name="test-offline"> |
306 |
- <condition property="maven.mode.offline"> |
307 |
- <equals arg1="${maven.settings.offline}" arg2="true"/> |
308 |
- </condition> |
309 |
- </target> |
310 |
- |
311 |
- <target name="get-deps" |
312 |
- depends="test-offline" |
313 |
- description="Download all dependencies" |
314 |
- unless="maven.mode.offline"> |
315 |
- <mkdir dir="${maven.repo.local}"/> |
316 |
- <mkdir dir="${maven.repo.local}/org/joda/joda-convert/1.2"/> |
317 |
- <get src="http://repo.maven.apache.org/maven2/org/joda/joda-convert/1.2/joda-convert-1.2.jar" |
318 |
- dest="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar" |
319 |
- usetimestamp="false" |
320 |
- ignoreerrors="true"/> |
321 |
- <mkdir dir="${maven.repo.local}/junit/junit/3.8.2"/> |
322 |
- <get src="http://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar" |
323 |
- dest="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar" |
324 |
- usetimestamp="false" |
325 |
- ignoreerrors="true"/> |
326 |
- </target> |
327 |
- |
328 |
-</project> |
329 |
|
330 |
diff --git a/dev-java/joda-time/files/joda-time-2.3-build.xml b/dev-java/joda-time/files/joda-time-2.3-build.xml |
331 |
deleted file mode 100644 |
332 |
index 5327843..0000000 |
333 |
--- a/dev-java/joda-time/files/joda-time-2.3-build.xml |
334 |
+++ /dev/null |
335 |
@@ -1,267 +0,0 @@ |
336 |
-<?xml version="1.0" encoding="UTF-8"?> |
337 |
- |
338 |
-<!-- ====================================================================== --> |
339 |
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> |
340 |
-<!-- ====================================================================== --> |
341 |
- |
342 |
-<!-- ====================================================================== --> |
343 |
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> |
344 |
-<!-- ====================================================================== --> |
345 |
-<!-- --> |
346 |
-<!-- Any modifications will be overwritten. --> |
347 |
-<!-- --> |
348 |
-<!-- Generated by Maven Ant Plugin on 1/25/14 5:06 AM --> |
349 |
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
350 |
-<!-- --> |
351 |
-<!-- ====================================================================== --> |
352 |
- |
353 |
-<project name="joda-time-from-maven" default="package" basedir="."> |
354 |
- |
355 |
- <!-- ====================================================================== --> |
356 |
- <!-- Build environment properties --> |
357 |
- <!-- ====================================================================== --> |
358 |
- |
359 |
- <property file="${user.home}/.m2/maven.properties"/> |
360 |
- <property file="maven-build.properties"/> |
361 |
- |
362 |
- <property name="maven.build.finalName" value="joda-time-2.3"/> |
363 |
- <property name="maven.build.dir" value="target"/> |
364 |
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> |
365 |
- <property name="maven.build.srcDir.0" value="src/main/java"/> |
366 |
- <property name="maven.build.resourceDir.0" value="."/> |
367 |
- <property name="maven.build.resourceDir.1" value="src/main/java"/> |
368 |
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> |
369 |
- <property name="maven.build.testDir.0" value="src/test/java"/> |
370 |
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/> |
371 |
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> |
372 |
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> |
373 |
- |
374 |
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/> |
375 |
- <property name="maven.settings.offline" value="false"/> |
376 |
- <property name="maven.settings.interactiveMode" value="true"/> |
377 |
- |
378 |
- <!-- ====================================================================== --> |
379 |
- <!-- Defining classpaths --> |
380 |
- <!-- ====================================================================== --> |
381 |
- |
382 |
- <path id="build.classpath"> |
383 |
- <pathelement location="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"/> |
384 |
- </path> |
385 |
- <path id="build.test.classpath"> |
386 |
- <pathelement location="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar"/> |
387 |
- <pathelement location="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar"/> |
388 |
- </path> |
389 |
- |
390 |
- <!-- ====================================================================== --> |
391 |
- <!-- Cleaning up target --> |
392 |
- <!-- ====================================================================== --> |
393 |
- |
394 |
- <target name="clean" description="Clean the output directory"> |
395 |
- <delete dir="${maven.build.dir}"/> |
396 |
- </target> |
397 |
- |
398 |
- <!-- ====================================================================== --> |
399 |
- <!-- Compilation target --> |
400 |
- <!-- ====================================================================== --> |
401 |
- |
402 |
- <target name="compile" depends="get-deps" description="Compile the code"> |
403 |
- <mkdir dir="${maven.build.outputDir}"/> |
404 |
- <javac destdir="${maven.build.outputDir}" |
405 |
- nowarn="false" |
406 |
- debug="true" |
407 |
- optimize="true" |
408 |
- deprecation="false" |
409 |
- target="1.5" |
410 |
- verbose="true" |
411 |
- fork="true" |
412 |
- source="1.5"> |
413 |
- <src> |
414 |
- <pathelement location="${maven.build.srcDir.0}"/> |
415 |
- </src> |
416 |
- <classpath refid="build.classpath"/> |
417 |
- </javac> |
418 |
- <mkdir dir="${maven.build.outputDir}/META-INF"/> |
419 |
- <copy todir="${maven.build.outputDir}/META-INF"> |
420 |
- <fileset dir="${maven.build.resourceDir.0}"> |
421 |
- <include name="LICENSE.txt"/> |
422 |
- <include name="NOTICE.txt"/> |
423 |
- </fileset> |
424 |
- </copy> |
425 |
- <copy todir="${maven.build.outputDir}"> |
426 |
- <fileset dir="${maven.build.resourceDir.1}"> |
427 |
- <include name="**/*.properties"/> |
428 |
- </fileset> |
429 |
- </copy> |
430 |
- </target> |
431 |
- |
432 |
- <!-- ====================================================================== --> |
433 |
- <!-- Test-compilation target --> |
434 |
- <!-- ====================================================================== --> |
435 |
- |
436 |
- <target name="compile-tests" |
437 |
- depends="compile" |
438 |
- description="Compile the test code" |
439 |
- unless="maven.test.skip"> |
440 |
- <mkdir dir="${maven.build.testOutputDir}"/> |
441 |
- <javac destdir="${maven.build.testOutputDir}" |
442 |
- nowarn="false" |
443 |
- debug="true" |
444 |
- optimize="true" |
445 |
- deprecation="false" |
446 |
- target="1.5" |
447 |
- verbose="true" |
448 |
- fork="true" |
449 |
- source="1.5"> |
450 |
- <src> |
451 |
- <pathelement location="${maven.build.testDir.0}"/> |
452 |
- </src> |
453 |
- <classpath> |
454 |
- <path refid="build.test.classpath"/> |
455 |
- <pathelement location="${maven.build.outputDir}"/> |
456 |
- </classpath> |
457 |
- </javac> |
458 |
- <copy todir="${maven.build.testOutputDir}"> |
459 |
- <fileset dir="${maven.build.testResourceDir.0}"/> |
460 |
- </copy> |
461 |
- </target> |
462 |
- |
463 |
- <!-- ====================================================================== --> |
464 |
- <!-- Run all tests --> |
465 |
- <!-- ====================================================================== --> |
466 |
- |
467 |
- <target name="test" |
468 |
- depends="compile-tests, junit-missing" |
469 |
- unless="junit.skipped" |
470 |
- description="Run the test cases"> |
471 |
- <mkdir dir="${maven.test.reports}"/> |
472 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
473 |
- <sysproperty key="basedir" value="."/> |
474 |
- <formatter type="xml"/> |
475 |
- <formatter type="plain" usefile="false"/> |
476 |
- <classpath> |
477 |
- <path refid="build.test.classpath"/> |
478 |
- <pathelement location="${maven.build.outputDir}"/> |
479 |
- <pathelement location="${maven.build.testOutputDir}"/> |
480 |
- </classpath> |
481 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
482 |
- <fileset dir="${maven.build.testDir.0}"> |
483 |
- <include name="**/TestAllPackages.java"/> |
484 |
- <exclude name="**/*Abstract*Test.java"/> |
485 |
- </fileset> |
486 |
- </batchtest> |
487 |
- <batchtest todir="${maven.test.reports}" if="test"> |
488 |
- <fileset dir="${maven.build.testDir.0}"> |
489 |
- <include name="**/${test}.java"/> |
490 |
- <exclude name="**/*Abstract*Test.java"/> |
491 |
- </fileset> |
492 |
- </batchtest> |
493 |
- </junit> |
494 |
- </target> |
495 |
- |
496 |
- <target name="test-junit-present"> |
497 |
- <available classname="junit.framework.Test" property="junit.present"/> |
498 |
- </target> |
499 |
- |
500 |
- <target name="test-junit-status" |
501 |
- depends="test-junit-present"> |
502 |
- <condition property="junit.missing"> |
503 |
- <and> |
504 |
- <isfalse value="${junit.present}"/> |
505 |
- <isfalse value="${maven.test.skip}"/> |
506 |
- </and> |
507 |
- </condition> |
508 |
- <condition property="junit.skipped"> |
509 |
- <or> |
510 |
- <isfalse value="${junit.present}"/> |
511 |
- <istrue value="${maven.test.skip}"/> |
512 |
- </or> |
513 |
- </condition> |
514 |
- </target> |
515 |
- |
516 |
- <target name="junit-missing" |
517 |
- depends="test-junit-status" |
518 |
- if="junit.missing"> |
519 |
- <echo>=================================== WARNING ===================================</echo> |
520 |
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
521 |
- <echo>===============================================================================</echo> |
522 |
- </target> |
523 |
- |
524 |
- <!-- ====================================================================== --> |
525 |
- <!-- Javadoc target --> |
526 |
- <!-- ====================================================================== --> |
527 |
- |
528 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
529 |
- <javadoc sourcepath="${maven.build.srcDir.0}" |
530 |
- packagenames="*" |
531 |
- destdir="${maven.reporting.outputDirectory}/apidocs" |
532 |
- access="protected" |
533 |
- old="false" |
534 |
- verbose="false" |
535 |
- encoding="UTF-8" |
536 |
- version="true" |
537 |
- use="true" |
538 |
- author="true" |
539 |
- splitindex="false" |
540 |
- nodeprecated="false" |
541 |
- nodeprecatedlist="false" |
542 |
- notree="false" |
543 |
- noindex="false" |
544 |
- nohelp="false" |
545 |
- nonavbar="false" |
546 |
- serialwarn="false" |
547 |
- charset="ISO-8859-1" |
548 |
- linksource="true" |
549 |
- breakiterator="false"> |
550 |
- <link href="http://download.oracle.com/javase/1.5.0/docs/api/"/> |
551 |
- <group title="User packages"/> |
552 |
- <group title="Implementation packages"/> |
553 |
- </javadoc> |
554 |
- </target> |
555 |
- |
556 |
- <!-- ====================================================================== --> |
557 |
- <!-- Package target --> |
558 |
- <!-- ====================================================================== --> |
559 |
- |
560 |
- <target name="package" depends="compile,test" description="Package the application"> |
561 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
562 |
- compress="true" |
563 |
- index="false" |
564 |
- manifest="src/conf/MANIFEST.MF" |
565 |
- basedir="${maven.build.outputDir}" |
566 |
- excludes="**/package.html"/> |
567 |
- </target> |
568 |
- |
569 |
- <!-- ====================================================================== --> |
570 |
- <!-- A dummy target for the package named after the type it creates --> |
571 |
- <!-- ====================================================================== --> |
572 |
- |
573 |
- <target name="jar" depends="package" description="Builds the jar for the application"/> |
574 |
- |
575 |
- <!-- ====================================================================== --> |
576 |
- <!-- Download dependencies target --> |
577 |
- <!-- ====================================================================== --> |
578 |
- |
579 |
- <target name="test-offline"> |
580 |
- <condition property="maven.mode.offline"> |
581 |
- <equals arg1="${maven.settings.offline}" arg2="true"/> |
582 |
- </condition> |
583 |
- </target> |
584 |
- |
585 |
- <target name="get-deps" |
586 |
- depends="test-offline" |
587 |
- description="Download all dependencies" |
588 |
- unless="maven.mode.offline"> |
589 |
- <mkdir dir="${maven.repo.local}"/> |
590 |
- <mkdir dir="${maven.repo.local}/org/joda/joda-convert/1.2"/> |
591 |
- <get src="http://repo.maven.apache.org/maven2/org/joda/joda-convert/1.2/joda-convert-1.2.jar" |
592 |
- dest="${maven.repo.local}/org/joda/joda-convert/1.2/joda-convert-1.2.jar" |
593 |
- usetimestamp="false" |
594 |
- ignoreerrors="true"/> |
595 |
- <mkdir dir="${maven.repo.local}/junit/junit/3.8.2"/> |
596 |
- <get src="http://repo.maven.apache.org/maven2/junit/junit/3.8.2/junit-3.8.2.jar" |
597 |
- dest="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar" |
598 |
- usetimestamp="false" |
599 |
- ignoreerrors="true"/> |
600 |
- </target> |
601 |
- |
602 |
-</project> |
603 |
|
604 |
diff --git a/dev-java/joda-time/joda-time-1.6.ebuild b/dev-java/joda-time/joda-time-1.6.ebuild |
605 |
deleted file mode 100644 |
606 |
index 8d3aec4..0000000 |
607 |
--- a/dev-java/joda-time/joda-time-1.6.ebuild |
608 |
+++ /dev/null |
609 |
@@ -1,50 +0,0 @@ |
610 |
-# Copyright 1999-2016 Gentoo Foundation |
611 |
-# Distributed under the terms of the GNU General Public License v2 |
612 |
-# $Id$ |
613 |
- |
614 |
-JAVA_PKG_IUSE="doc examples source test" |
615 |
- |
616 |
-inherit java-pkg-2 java-ant-2 |
617 |
- |
618 |
-MY_P="${P}-src" |
619 |
- |
620 |
-DESCRIPTION="A quality open-source replacement for the Java Date and Time classes" |
621 |
-HOMEPAGE="http://joda-time.sourceforge.net/" |
622 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
623 |
-LICENSE="Apache-2.0" |
624 |
-SLOT="0" |
625 |
-KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
626 |
-IUSE="" |
627 |
- |
628 |
-DEPEND=" |
629 |
- >=virtual/jdk-1.4 |
630 |
- test? ( dev-java/ant-junit )" |
631 |
-RDEPEND=">=virtual/jre-1.4" |
632 |
- |
633 |
-S="${WORKDIR}/${MY_P}" |
634 |
- |
635 |
-src_unpack() { |
636 |
- unpack ${A} |
637 |
- cd "${S}" |
638 |
- rm -v *.jar || die |
639 |
- # https://sourceforge.net/tracker/index.php?func=detail&aid=1855430&group_id=97367&atid=617889 |
640 |
- epatch "${FILESDIR}/1.5.1-ecj.patch" |
641 |
-} |
642 |
- |
643 |
-# chokes on static inner class making instance of non-static inner class |
644 |
-EANT_FILTER_COMPILER="jikes" |
645 |
-# little trick so it doesn't try to download junit |
646 |
-EANT_EXTRA_ARGS="-Djunit.ant=1 -Djunit.present=1" |
647 |
- |
648 |
-src_test() { |
649 |
- ANT_TASKS="ant-junit" eant -Djunit.jar="$(java-pkg_getjars junit)" test |
650 |
-} |
651 |
- |
652 |
-src_install() { |
653 |
- java-pkg_newjar build/${P}.jar |
654 |
- |
655 |
- dodoc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt ToDo.txt || die |
656 |
- use doc && java-pkg_dojavadoc build/docs |
657 |
- use examples && java-pkg_doexamples src/example |
658 |
- use source && java-pkg_dosrc src/java/org |
659 |
-} |
660 |
|
661 |
diff --git a/dev-java/joda-time/joda-time-2.2.ebuild b/dev-java/joda-time/joda-time-2.2.ebuild |
662 |
deleted file mode 100644 |
663 |
index fb1ba07..0000000 |
664 |
--- a/dev-java/joda-time/joda-time-2.2.ebuild |
665 |
+++ /dev/null |
666 |
@@ -1,56 +0,0 @@ |
667 |
-# Copyright 1999-2014 Gentoo Foundation |
668 |
-# Distributed under the terms of the GNU General Public License v2 |
669 |
-# $Id$ |
670 |
- |
671 |
-EAPI="5" |
672 |
- |
673 |
-JAVA_PKG_IUSE="doc examples source test" |
674 |
-JAVA_ANT_REWRITE_CLASSPATH="true" |
675 |
- |
676 |
-inherit java-pkg-2 java-ant-2 |
677 |
- |
678 |
-DESCRIPTION="A quality open-source replacement for the Java Date and Time classes" |
679 |
-HOMEPAGE="http://joda-time.sourceforge.net/" |
680 |
-SRC_URI="mirror://sourceforge/${PN}/${P}-dist.tar.gz" |
681 |
- |
682 |
-LICENSE="Apache-2.0" |
683 |
-SLOT="0" |
684 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
685 |
- |
686 |
-DEPEND=">=virtual/jdk-1.5 |
687 |
- dev-java/joda-convert:0 |
688 |
- test? ( |
689 |
- dev-java/junit:0 |
690 |
- dev-java/ant-junit:0 |
691 |
- )" |
692 |
-RDEPEND=">=virtual/jre-1.5" |
693 |
- |
694 |
-java_prepare() { |
695 |
- rm -v *.jar || die "Failed to remove bundled jars." |
696 |
- cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die "Failed to copy build file." |
697 |
- |
698 |
- mkdir -p "${S}"/target/classes || die "Failed to create target classes directory." |
699 |
- cp -Rv "${S}"/src/tz-data/* "${S}"/target/classes/ || die "Failed to copy timezone data." |
700 |
-} |
701 |
- |
702 |
-src_compile() { |
703 |
- EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar)" |
704 |
- |
705 |
- java-pkg-2_src_compile |
706 |
-} |
707 |
- |
708 |
-src_test() { |
709 |
- EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar):$(java-pkg_getjar --build-only junit junit.jar)" |
710 |
- |
711 |
- java-pkg-2_src_test |
712 |
-} |
713 |
- |
714 |
-src_install() { |
715 |
- java-pkg_newjar target/${P}.jar |
716 |
- |
717 |
- dodoc NOTICE.txt RELEASE-NOTES.txt |
718 |
- |
719 |
- use doc && java-pkg_dojavadoc target/site/apidocs |
720 |
- use examples && java-pkg_doexamples src/example |
721 |
- use source && java-pkg_dosrc src/main/java/* |
722 |
-} |
723 |
|
724 |
diff --git a/dev-java/joda-time/joda-time-2.3.ebuild b/dev-java/joda-time/joda-time-2.3.ebuild |
725 |
deleted file mode 100644 |
726 |
index 26bf61b..0000000 |
727 |
--- a/dev-java/joda-time/joda-time-2.3.ebuild |
728 |
+++ /dev/null |
729 |
@@ -1,55 +0,0 @@ |
730 |
-# Copyright 1999-2015 Gentoo Foundation |
731 |
-# Distributed under the terms of the GNU General Public License v2 |
732 |
-# $Id$ |
733 |
- |
734 |
-EAPI="5" |
735 |
-JAVA_PKG_IUSE="doc examples source test" |
736 |
-JAVA_ANT_REWRITE_CLASSPATH="true" |
737 |
- |
738 |
-inherit java-pkg-2 java-ant-2 |
739 |
- |
740 |
-DESCRIPTION="A quality open-source replacement for the Java Date and Time classes" |
741 |
-HOMEPAGE="http://www.joda.org/joda-time/ https://github.com/JodaOrg/joda-time/" |
742 |
-SRC_URI="mirror://sourceforge/${PN}/${P}-dist.tar.gz" |
743 |
- |
744 |
-LICENSE="Apache-2.0" |
745 |
-SLOT="0" |
746 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
747 |
- |
748 |
-DEPEND=">=virtual/jdk-1.5 |
749 |
- dev-java/joda-convert:0 |
750 |
- test? ( |
751 |
- dev-java/junit:0 |
752 |
- dev-java/ant-junit:0 |
753 |
- )" |
754 |
-RDEPEND=">=virtual/jre-1.5" |
755 |
- |
756 |
-java_prepare() { |
757 |
- rm -v *.jar || die "Failed to remove bundled jars." |
758 |
- cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die "Failed to copy build file." |
759 |
- |
760 |
- mkdir -p "${S}"/target/classes || die "Failed to create target classes directory." |
761 |
- cp -Rv "${S}"/src/tz-data/* "${S}"/target/classes/ || die "Failed to copy timezone data." |
762 |
-} |
763 |
- |
764 |
-src_compile() { |
765 |
- EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar)" |
766 |
- |
767 |
- java-pkg-2_src_compile |
768 |
-} |
769 |
- |
770 |
-src_test() { |
771 |
- EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar):$(java-pkg_getjar --build-only junit junit.jar)" |
772 |
- |
773 |
- java-pkg-2_src_test |
774 |
-} |
775 |
- |
776 |
-src_install() { |
777 |
- java-pkg_newjar target/${P}.jar |
778 |
- |
779 |
- dodoc NOTICE.txt RELEASE-NOTES.txt |
780 |
- |
781 |
- use doc && java-pkg_dojavadoc target/site/apidocs |
782 |
- use examples && java-pkg_doexamples src/example |
783 |
- use source && java-pkg_dosrc src/main/java/* |
784 |
-} |