1 |
commit: 7dc88e162b7cf2b0332421310a4c96d8a287198f |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 14:06:15 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 19:36:55 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc88e16 |
7 |
|
8 |
dev-java/jcommander: Clean up old. |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-java/jcommander/Manifest | 1 - |
13 |
.../jcommander/files/jcommander-1.32-build.xml | 278 --------------------- |
14 |
.../jcommander/files/jcommander-1.48-build.xml | 230 ----------------- |
15 |
dev-java/jcommander/jcommander-1.32.ebuild | 41 --- |
16 |
4 files changed, 550 deletions(-) |
17 |
|
18 |
diff --git a/dev-java/jcommander/Manifest b/dev-java/jcommander/Manifest |
19 |
index d7d7f2a..853c2aa 100644 |
20 |
--- a/dev-java/jcommander/Manifest |
21 |
+++ b/dev-java/jcommander/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST jcommander-1.32.tar.gz 61837 SHA256 21f8dd9aaae91800648a81d44a71b6b7574e828de7faa1667c9c4c64c653f6c5 SHA512 dd23674e5ca91f770ec677579f3c2eb16cbf4f82154f9d1a728debeaef75f0e00e50d58336e7b05b63f601188380d62075df0889b2df8e1fffe48c472cfa5df0 WHIRLPOOL 3971b6c7b2d799f1d1063167d4079365d77086bbf0a76e9f8990febc01e82f78f7c2aa9dc809b04acbf21af5bd8cfb5b5c1de6fd506951e031d5b01e512076b6 |
24 |
DIST jcommander-1.48.tar.gz 64544 SHA256 dcba3a05e60731c8945166089f7f1a1600150f438e5f23d36e6e766d1a34c5e2 SHA512 1304bb14ecb89f9945e8219f3229941e556c7cccef52a2eb4e4663da9dbf9fa5ecec4914275a743fb7d90ca301153284dc76dd380903aac93db1507894d72a6e WHIRLPOOL 85d1bb10129e93c69932b84d5af7c6084fa089c51a8afdfe980512a52dfe47ec9c678bfc91cfaffa61a13a4dea8953a3df50d96fdbc53ec3e2fd8870dc34afca |
25 |
|
26 |
diff --git a/dev-java/jcommander/files/jcommander-1.32-build.xml b/dev-java/jcommander/files/jcommander-1.32-build.xml |
27 |
deleted file mode 100644 |
28 |
index 641cbbf..0000000 |
29 |
--- a/dev-java/jcommander/files/jcommander-1.32-build.xml |
30 |
+++ /dev/null |
31 |
@@ -1,278 +0,0 @@ |
32 |
-<?xml version="1.0" encoding="UTF-8"?> |
33 |
- |
34 |
-<!-- ====================================================================== --> |
35 |
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> |
36 |
-<!-- ====================================================================== --> |
37 |
- |
38 |
-<!-- ====================================================================== --> |
39 |
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> |
40 |
-<!-- ====================================================================== --> |
41 |
-<!-- --> |
42 |
-<!-- Any modifications will be overwritten. --> |
43 |
-<!-- --> |
44 |
-<!-- Generated by Maven Ant Plugin on 9/16/13 6:06 PM --> |
45 |
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
46 |
-<!-- --> |
47 |
-<!-- ====================================================================== --> |
48 |
- |
49 |
-<project name="jcommander-from-maven" default="package" basedir="."> |
50 |
- |
51 |
- <!-- ====================================================================== --> |
52 |
- <!-- Build environment properties --> |
53 |
- <!-- ====================================================================== --> |
54 |
- |
55 |
- <property file="${user.home}/.m2/maven.properties"/> |
56 |
- <property file="maven-build.properties"/> |
57 |
- |
58 |
- <property name="maven.build.finalName" value="jcommander-1.32"/> |
59 |
- <property name="maven.build.dir" value="target"/> |
60 |
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> |
61 |
- <property name="maven.build.srcDir.0" value="src/main/java"/> |
62 |
- <property name="maven.build.resourceDir.0" value="src/main/resources"/> |
63 |
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> |
64 |
- <property name="maven.build.testDir.0" value="src/test/java"/> |
65 |
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/> |
66 |
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> |
67 |
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> |
68 |
- |
69 |
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/> |
70 |
- <property name="maven.settings.offline" value="false"/> |
71 |
- <property name="maven.settings.interactiveMode" value="true"/> |
72 |
- |
73 |
- <!-- ====================================================================== --> |
74 |
- <!-- Defining classpaths --> |
75 |
- <!-- ====================================================================== --> |
76 |
- |
77 |
- <path id="build.classpath"/> |
78 |
- <path id="build.test.classpath"> |
79 |
- <pathelement location="${maven.repo.local}/org/testng/testng/6.1.1/testng-6.1.1.jar"/> |
80 |
- <pathelement location="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"/> |
81 |
- <pathelement location="${maven.repo.local}/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"/> |
82 |
- <pathelement location="${maven.repo.local}/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar"/> |
83 |
- </path> |
84 |
- |
85 |
- <!-- ====================================================================== --> |
86 |
- <!-- Cleaning up target --> |
87 |
- <!-- ====================================================================== --> |
88 |
- |
89 |
- <target name="clean" description="Clean the output directory"> |
90 |
- <delete dir="${maven.build.dir}"/> |
91 |
- </target> |
92 |
- |
93 |
- <!-- ====================================================================== --> |
94 |
- <!-- Compilation target --> |
95 |
- <!-- ====================================================================== --> |
96 |
- |
97 |
- <target name="compile" depends="get-deps" description="Compile the code"> |
98 |
- <mkdir dir="${maven.build.outputDir}"/> |
99 |
- <javac destdir="${maven.build.outputDir}" |
100 |
- encoding="UTF-8" |
101 |
- nowarn="false" |
102 |
- debug="true" |
103 |
- optimize="false" |
104 |
- deprecation="true" |
105 |
- target="1.5" |
106 |
- verbose="false" |
107 |
- fork="false" |
108 |
- source="1.5"> |
109 |
- <src> |
110 |
- <pathelement location="${maven.build.srcDir.0}"/> |
111 |
- </src> |
112 |
- <classpath refid="build.classpath"/> |
113 |
- </javac> |
114 |
- </target> |
115 |
- |
116 |
- <!-- ====================================================================== --> |
117 |
- <!-- Test-compilation target --> |
118 |
- <!-- ====================================================================== --> |
119 |
- |
120 |
- <target name="compile-tests" |
121 |
- depends="compile" |
122 |
- description="Compile the test code" |
123 |
- unless="maven.test.skip"> |
124 |
- <mkdir dir="${maven.build.testOutputDir}"/> |
125 |
- <javac destdir="${maven.build.testOutputDir}" |
126 |
- encoding="UTF-8" |
127 |
- nowarn="false" |
128 |
- debug="true" |
129 |
- optimize="false" |
130 |
- deprecation="true" |
131 |
- target="1.5" |
132 |
- verbose="false" |
133 |
- fork="false" |
134 |
- source="1.5"> |
135 |
- <src> |
136 |
- <pathelement location="${maven.build.testDir.0}"/> |
137 |
- </src> |
138 |
- <classpath> |
139 |
- <path refid="build.test.classpath"/> |
140 |
- <pathelement location="${maven.build.outputDir}"/> |
141 |
- </classpath> |
142 |
- </javac> |
143 |
- <copy todir="${maven.build.testOutputDir}"> |
144 |
- <fileset dir="${maven.build.testResourceDir.0}"/> |
145 |
- </copy> |
146 |
- </target> |
147 |
- |
148 |
- <!-- ====================================================================== --> |
149 |
- <!-- Run all tests --> |
150 |
- <!-- ====================================================================== --> |
151 |
- |
152 |
- <target name="test" |
153 |
- depends="compile-tests, junit-missing" |
154 |
- unless="junit.skipped" |
155 |
- description="Run the test cases"> |
156 |
- <mkdir dir="${maven.test.reports}"/> |
157 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
158 |
- <sysproperty key="basedir" value="."/> |
159 |
- <formatter type="xml"/> |
160 |
- <formatter type="plain" usefile="false"/> |
161 |
- <classpath> |
162 |
- <path refid="build.test.classpath"/> |
163 |
- <pathelement location="${maven.build.outputDir}"/> |
164 |
- <pathelement location="${maven.build.testOutputDir}"/> |
165 |
- </classpath> |
166 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
167 |
- <fileset dir="${maven.build.testDir.0}"> |
168 |
- <include name="**/Test*.java"/> |
169 |
- <include name="**/*Test.java"/> |
170 |
- <include name="**/*TestCase.java"/> |
171 |
- <exclude name="**/*Abstract*Test.java"/> |
172 |
- </fileset> |
173 |
- </batchtest> |
174 |
- <batchtest todir="${maven.test.reports}" if="test"> |
175 |
- <fileset dir="${maven.build.testDir.0}"> |
176 |
- <include name="**/${test}.java"/> |
177 |
- <exclude name="**/*Abstract*Test.java"/> |
178 |
- </fileset> |
179 |
- </batchtest> |
180 |
- </junit> |
181 |
- </target> |
182 |
- |
183 |
- <target name="test-junit-present"> |
184 |
- <available classname="junit.framework.Test" property="junit.present"/> |
185 |
- </target> |
186 |
- |
187 |
- <target name="test-junit-status" |
188 |
- depends="test-junit-present"> |
189 |
- <condition property="junit.missing"> |
190 |
- <and> |
191 |
- <isfalse value="${junit.present}"/> |
192 |
- <isfalse value="${maven.test.skip}"/> |
193 |
- </and> |
194 |
- </condition> |
195 |
- <condition property="junit.skipped"> |
196 |
- <or> |
197 |
- <isfalse value="${junit.present}"/> |
198 |
- <istrue value="${maven.test.skip}"/> |
199 |
- </or> |
200 |
- </condition> |
201 |
- </target> |
202 |
- |
203 |
- <target name="junit-missing" |
204 |
- depends="test-junit-status" |
205 |
- if="junit.missing"> |
206 |
- <echo>=================================== WARNING ===================================</echo> |
207 |
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
208 |
- <echo>===============================================================================</echo> |
209 |
- </target> |
210 |
- |
211 |
- <!-- ====================================================================== --> |
212 |
- <!-- Javadoc target --> |
213 |
- <!-- ====================================================================== --> |
214 |
- |
215 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
216 |
- <javadoc sourcepath="${maven.build.srcDir.0}" |
217 |
- packagenames="*" |
218 |
- destdir="${maven.reporting.outputDirectory}/apidocs" |
219 |
- access="protected" |
220 |
- old="false" |
221 |
- verbose="false" |
222 |
- version="true" |
223 |
- use="true" |
224 |
- author="true" |
225 |
- splitindex="false" |
226 |
- nodeprecated="false" |
227 |
- nodeprecatedlist="false" |
228 |
- notree="false" |
229 |
- noindex="false" |
230 |
- nohelp="false" |
231 |
- nonavbar="false" |
232 |
- serialwarn="false" |
233 |
- charset="ISO-8859-1" |
234 |
- linksource="false" |
235 |
- breakiterator="false"/> |
236 |
- </target> |
237 |
- |
238 |
- <!-- ====================================================================== --> |
239 |
- <!-- Package target --> |
240 |
- <!-- ====================================================================== --> |
241 |
- |
242 |
- <target name="package" depends="compile,test" description="Package the application"> |
243 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
244 |
- compress="true" |
245 |
- index="false" |
246 |
- basedir="${maven.build.outputDir}" |
247 |
- excludes="**/package.html"/> |
248 |
- </target> |
249 |
- |
250 |
- <!-- ====================================================================== --> |
251 |
- <!-- A dummy target for the package named after the type it creates --> |
252 |
- <!-- ====================================================================== --> |
253 |
- |
254 |
- <target name="jar" depends="package" description="Builds the jar for the application"/> |
255 |
- |
256 |
- <!-- ====================================================================== --> |
257 |
- <!-- Download dependencies target --> |
258 |
- <!-- ====================================================================== --> |
259 |
- |
260 |
- <target name="test-offline"> |
261 |
- <condition property="maven.mode.offline"> |
262 |
- <equals arg1="${maven.settings.offline}" arg2="true"/> |
263 |
- </condition> |
264 |
- </target> |
265 |
- |
266 |
- <target name="get-deps" |
267 |
- depends="test-offline" |
268 |
- description="Download all dependencies" |
269 |
- unless="maven.mode.offline"> |
270 |
- <mkdir dir="${maven.repo.local}"/> |
271 |
- <mkdir dir="${maven.repo.local}/org/testng/testng/6.1.1"/> |
272 |
- <get src="http://oss.sonatype.org/content/repositories/snapshots/org/testng/testng/6.1.1/testng-6.1.1.jar" |
273 |
- dest="${maven.repo.local}/org/testng/testng/6.1.1/testng-6.1.1.jar" |
274 |
- usetimestamp="false" |
275 |
- ignoreerrors="true"/> |
276 |
- <get src="http://repo.maven.apache.org/maven2/org/testng/testng/6.1.1/testng-6.1.1.jar" |
277 |
- dest="${maven.repo.local}/org/testng/testng/6.1.1/testng-6.1.1.jar" |
278 |
- usetimestamp="false" |
279 |
- ignoreerrors="true"/> |
280 |
- <mkdir dir="${maven.repo.local}/junit/junit/3.8.1"/> |
281 |
- <get src="http://oss.sonatype.org/content/repositories/snapshots/junit/junit/3.8.1/junit-3.8.1.jar" |
282 |
- dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" |
283 |
- usetimestamp="false" |
284 |
- ignoreerrors="true"/> |
285 |
- <get src="http://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar" |
286 |
- dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" |
287 |
- usetimestamp="false" |
288 |
- ignoreerrors="true"/> |
289 |
- <mkdir dir="${maven.repo.local}/org/beanshell/bsh/2.0b4"/> |
290 |
- <get src="http://oss.sonatype.org/content/repositories/snapshots/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar" |
291 |
- dest="${maven.repo.local}/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar" |
292 |
- usetimestamp="false" |
293 |
- ignoreerrors="true"/> |
294 |
- <get src="http://repo.maven.apache.org/maven2/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar" |
295 |
- dest="${maven.repo.local}/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar" |
296 |
- usetimestamp="false" |
297 |
- ignoreerrors="true"/> |
298 |
- <mkdir dir="${maven.repo.local}/org/yaml/snakeyaml/1.6"/> |
299 |
- <get src="http://oss.sonatype.org/content/repositories/snapshots/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar" |
300 |
- dest="${maven.repo.local}/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar" |
301 |
- usetimestamp="false" |
302 |
- ignoreerrors="true"/> |
303 |
- <get src="http://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar" |
304 |
- dest="${maven.repo.local}/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar" |
305 |
- usetimestamp="false" |
306 |
- ignoreerrors="true"/> |
307 |
- </target> |
308 |
- |
309 |
-</project> |
310 |
|
311 |
diff --git a/dev-java/jcommander/files/jcommander-1.48-build.xml b/dev-java/jcommander/files/jcommander-1.48-build.xml |
312 |
deleted file mode 100644 |
313 |
index f788b92..0000000 |
314 |
--- a/dev-java/jcommander/files/jcommander-1.48-build.xml |
315 |
+++ /dev/null |
316 |
@@ -1,230 +0,0 @@ |
317 |
-<?xml version="1.0" encoding="UTF-8"?> |
318 |
- |
319 |
-<!-- ====================================================================== --> |
320 |
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> |
321 |
-<!-- ====================================================================== --> |
322 |
- |
323 |
-<!-- ====================================================================== --> |
324 |
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> |
325 |
-<!-- ====================================================================== --> |
326 |
-<!-- --> |
327 |
-<!-- Any modifications will be overwritten. --> |
328 |
-<!-- --> |
329 |
-<!-- Generated by Maven Ant Plugin on 10/25/15 2:23 PM --> |
330 |
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
331 |
-<!-- --> |
332 |
-<!-- ====================================================================== --> |
333 |
- |
334 |
-<project name="jcommander-from-maven" default="package" basedir="."> |
335 |
- |
336 |
- <!-- ====================================================================== --> |
337 |
- <!-- Build environment properties --> |
338 |
- <!-- ====================================================================== --> |
339 |
- |
340 |
- <property file="${user.home}/.m2/maven.properties"/> |
341 |
- <property file="maven-build.properties"/> |
342 |
- |
343 |
- <property name="maven.build.finalName" value="jcommander-1.48"/> |
344 |
- <property name="maven.build.dir" value="target"/> |
345 |
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> |
346 |
- <property name="maven.build.srcDir.0" value="src/main/java"/> |
347 |
- <property name="maven.build.resourceDir.0" value="src/main/resources"/> |
348 |
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> |
349 |
- <property name="maven.build.testDir.0" value="src/test/java"/> |
350 |
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/> |
351 |
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> |
352 |
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> |
353 |
- |
354 |
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/> |
355 |
- <property name="maven.settings.offline" value="false"/> |
356 |
- <property name="maven.settings.interactiveMode" value="true"/> |
357 |
- |
358 |
- <!-- ====================================================================== --> |
359 |
- <!-- Defining classpaths --> |
360 |
- <!-- ====================================================================== --> |
361 |
- |
362 |
- <path id="build.classpath"/> |
363 |
- <path id="build.test.classpath"/> |
364 |
- |
365 |
- <!-- ====================================================================== --> |
366 |
- <!-- Cleaning up target --> |
367 |
- <!-- ====================================================================== --> |
368 |
- |
369 |
- <target name="clean" description="Clean the output directory"> |
370 |
- <delete dir="${maven.build.dir}"/> |
371 |
- </target> |
372 |
- |
373 |
- <!-- ====================================================================== --> |
374 |
- <!-- Compilation target --> |
375 |
- <!-- ====================================================================== --> |
376 |
- |
377 |
- <target name="compile" description="Compile the code"> |
378 |
- <mkdir dir="${maven.build.outputDir}"/> |
379 |
- <javac destdir="${maven.build.outputDir}" |
380 |
- encoding="UTF-8" |
381 |
- nowarn="false" |
382 |
- debug="true" |
383 |
- optimize="false" |
384 |
- deprecation="true" |
385 |
- target="1.6" |
386 |
- verbose="false" |
387 |
- fork="false" |
388 |
- source="1.6"> |
389 |
- <src> |
390 |
- <pathelement location="${maven.build.srcDir.0}"/> |
391 |
- </src> |
392 |
- <classpath refid="build.classpath"/> |
393 |
- </javac> |
394 |
- </target> |
395 |
- |
396 |
- <!-- ====================================================================== --> |
397 |
- <!-- Test-compilation target --> |
398 |
- <!-- ====================================================================== --> |
399 |
- |
400 |
- <target name="compile-tests" |
401 |
- depends="compile" |
402 |
- description="Compile the test code" |
403 |
- unless="maven.test.skip"> |
404 |
- <mkdir dir="${maven.build.testOutputDir}"/> |
405 |
- <javac destdir="${maven.build.testOutputDir}" |
406 |
- encoding="UTF-8" |
407 |
- nowarn="false" |
408 |
- debug="true" |
409 |
- optimize="false" |
410 |
- deprecation="true" |
411 |
- target="1.6" |
412 |
- verbose="false" |
413 |
- fork="false" |
414 |
- source="1.6"> |
415 |
- <src> |
416 |
- <pathelement location="${maven.build.testDir.0}"/> |
417 |
- </src> |
418 |
- <classpath> |
419 |
- <path refid="build.test.classpath"/> |
420 |
- <pathelement location="${maven.build.outputDir}"/> |
421 |
- </classpath> |
422 |
- </javac> |
423 |
- <copy todir="${maven.build.testOutputDir}"> |
424 |
- <fileset dir="${maven.build.testResourceDir.0}"/> |
425 |
- </copy> |
426 |
- </target> |
427 |
- |
428 |
- <!-- ====================================================================== --> |
429 |
- <!-- Run all tests --> |
430 |
- <!-- ====================================================================== --> |
431 |
- |
432 |
- <target name="test" |
433 |
- depends="compile-tests, junit-missing" |
434 |
- unless="junit.skipped" |
435 |
- description="Run the test cases"> |
436 |
- <mkdir dir="${maven.test.reports}"/> |
437 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
438 |
- <sysproperty key="basedir" value="."/> |
439 |
- <formatter type="xml"/> |
440 |
- <formatter type="plain" usefile="false"/> |
441 |
- <classpath> |
442 |
- <path refid="build.test.classpath"/> |
443 |
- <pathelement location="${maven.build.outputDir}"/> |
444 |
- <pathelement location="${maven.build.testOutputDir}"/> |
445 |
- </classpath> |
446 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
447 |
- <fileset dir="${maven.build.testDir.0}"> |
448 |
- <include name="**/Test*.java"/> |
449 |
- <include name="**/*Test.java"/> |
450 |
- <include name="**/*TestCase.java"/> |
451 |
- <exclude name="**/*Abstract*Test.java"/> |
452 |
- </fileset> |
453 |
- </batchtest> |
454 |
- <batchtest todir="${maven.test.reports}" if="test"> |
455 |
- <fileset dir="${maven.build.testDir.0}"> |
456 |
- <include name="**/${test}.java"/> |
457 |
- <exclude name="**/*Abstract*Test.java"/> |
458 |
- </fileset> |
459 |
- </batchtest> |
460 |
- </junit> |
461 |
- </target> |
462 |
- |
463 |
- <target name="test-junit-present"> |
464 |
- <available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/> |
465 |
- </target> |
466 |
- |
467 |
- <target name="test-junit-status" |
468 |
- depends="test-junit-present"> |
469 |
- <condition property="junit.missing"> |
470 |
- <and> |
471 |
- <isfalse value="${junit.present}"/> |
472 |
- <isfalse value="${maven.test.skip}"/> |
473 |
- </and> |
474 |
- </condition> |
475 |
- <condition property="junit.skipped"> |
476 |
- <or> |
477 |
- <isfalse value="${junit.present}"/> |
478 |
- <istrue value="${maven.test.skip}"/> |
479 |
- </or> |
480 |
- </condition> |
481 |
- </target> |
482 |
- |
483 |
- <target name="junit-missing" |
484 |
- depends="test-junit-status" |
485 |
- if="junit.missing"> |
486 |
- <echo>=================================== WARNING ===================================</echo> |
487 |
- <echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo> |
488 |
- <echo>===============================================================================</echo> |
489 |
- </target> |
490 |
- |
491 |
- <!-- ====================================================================== --> |
492 |
- <!-- Javadoc target --> |
493 |
- <!-- ====================================================================== --> |
494 |
- |
495 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
496 |
- <javadoc sourcepath="${maven.build.srcDir.0}" |
497 |
- packagenames="*" |
498 |
- destdir="${maven.reporting.outputDirectory}/apidocs" |
499 |
- access="protected" |
500 |
- old="false" |
501 |
- verbose="false" |
502 |
- version="true" |
503 |
- use="true" |
504 |
- author="true" |
505 |
- splitindex="false" |
506 |
- nodeprecated="false" |
507 |
- nodeprecatedlist="false" |
508 |
- notree="false" |
509 |
- noindex="false" |
510 |
- nohelp="false" |
511 |
- nonavbar="false" |
512 |
- serialwarn="false" |
513 |
- charset="ISO-8859-1" |
514 |
- linksource="false" |
515 |
- breakiterator="false"/> |
516 |
- </target> |
517 |
- |
518 |
- <!-- ====================================================================== --> |
519 |
- <!-- Package target --> |
520 |
- <!-- ====================================================================== --> |
521 |
- |
522 |
- <target name="package" depends="compile,test" description="Package the application"> |
523 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
524 |
- compress="true" |
525 |
- index="false" |
526 |
- basedir="${maven.build.outputDir}" |
527 |
- excludes="**/package.html"/> |
528 |
- </target> |
529 |
- |
530 |
- <!-- ====================================================================== --> |
531 |
- <!-- A dummy target for the package named after the type it creates --> |
532 |
- <!-- ====================================================================== --> |
533 |
- |
534 |
- <target name="jar" depends="package" description="Builds the jar for the application"/> |
535 |
- |
536 |
- <!-- ====================================================================== --> |
537 |
- <!-- Download dependencies target --> |
538 |
- <!-- ====================================================================== --> |
539 |
- |
540 |
- <target name="test-offline"> |
541 |
- <condition property="maven.mode.offline"> |
542 |
- <equals arg1="${maven.settings.offline}" arg2="true"/> |
543 |
- </condition> |
544 |
- </target> |
545 |
- |
546 |
-</project> |
547 |
|
548 |
diff --git a/dev-java/jcommander/jcommander-1.32.ebuild b/dev-java/jcommander/jcommander-1.32.ebuild |
549 |
deleted file mode 100644 |
550 |
index 8c593f5..0000000 |
551 |
--- a/dev-java/jcommander/jcommander-1.32.ebuild |
552 |
+++ /dev/null |
553 |
@@ -1,41 +0,0 @@ |
554 |
-# Copyright 1999-2013 Gentoo Foundation |
555 |
-# Distributed under the terms of the GNU General Public License v2 |
556 |
-# $Id$ |
557 |
- |
558 |
-EAPI="5" |
559 |
- |
560 |
-JAVA_PKG_IUSE="doc test" |
561 |
- |
562 |
-inherit java-pkg-2 java-ant-2 vcs-snapshot |
563 |
- |
564 |
-DESCRIPTION="Command line parsing framework for Java" |
565 |
-HOMEPAGE="https://github.com/cbeust/jcommander" |
566 |
-SRC_URI="https://github.com/cbeust/${PN}/archive/${P}.tar.gz" |
567 |
- |
568 |
-LICENSE="Apache-2.0" |
569 |
-SLOT="0" |
570 |
-KEYWORDS="~amd64 ~x86" |
571 |
- |
572 |
-DEPEND=">=virtual/jdk-1.5" |
573 |
-RDEPEND=">=virtual/jre-1.5" |
574 |
- |
575 |
-java_prepare() { |
576 |
- cp "${FILESDIR}"/${P}-build.xml build.xml || die |
577 |
-} |
578 |
- |
579 |
-# Depends on itself through dev-java/testng (BGO) for building tests, bad idea. |
580 |
-RESTRICT="test" |
581 |
- |
582 |
-# EANT_GENTOO_CLASSPATH_REWRITE="true" |
583 |
-# EANT_TEST_GENTOO_CLASSPATH="..." |
584 |
- |
585 |
-src_test() { |
586 |
- EANT_TEST_EXTRA_ARGS="-Djunit.present=true" java-pkg-2_src_test |
587 |
-} |
588 |
- |
589 |
-src_install() { |
590 |
- java-pkg_newjar target/${P}.jar |
591 |
- |
592 |
- dodoc README.markdown CHANGELOG |
593 |
- use doc && java-pkg_dojavadoc target/site/apidocs |
594 |
-} |