1 |
commit: 8f80bc4e37f8e2af8ed7176bf7a61de27fb82504 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 27 18:33:17 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 28 10:02:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f80bc4e |
7 |
|
8 |
dev-java/common-cli: remove unused file. |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/5800 |
11 |
|
12 |
dev-java/commons-cli/files/build-1.2.xml | 257 ------------------------------- |
13 |
1 file changed, 257 deletions(-) |
14 |
|
15 |
diff --git a/dev-java/commons-cli/files/build-1.2.xml b/dev-java/commons-cli/files/build-1.2.xml |
16 |
deleted file mode 100644 |
17 |
index a6752eee3da..00000000000 |
18 |
--- a/dev-java/commons-cli/files/build-1.2.xml |
19 |
+++ /dev/null |
20 |
@@ -1,257 +0,0 @@ |
21 |
-<?xml version="1.0" encoding="UTF-8"?> |
22 |
- |
23 |
-<!-- ====================================================================== --> |
24 |
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> |
25 |
-<!-- ====================================================================== --> |
26 |
- |
27 |
-<!-- ====================================================================== --> |
28 |
-<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> |
29 |
-<!-- ====================================================================== --> |
30 |
-<!-- --> |
31 |
-<!-- Any modifications will be overwritten. --> |
32 |
-<!-- --> |
33 |
-<!-- Generated by Maven Ant Plugin on 3/27/09 6:50 PM --> |
34 |
-<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> |
35 |
-<!-- --> |
36 |
-<!-- ====================================================================== --> |
37 |
- |
38 |
-<project name="commons-cli-from-maven" default="package" basedir="."> |
39 |
- |
40 |
- <!-- ====================================================================== --> |
41 |
- <!-- Build environment properties --> |
42 |
- <!-- ====================================================================== --> |
43 |
- |
44 |
- <property file="${user.home}/.m2/maven.properties"/> |
45 |
- <property file="maven-build.properties"/> |
46 |
- |
47 |
- <property name="maven.build.finalName" value="commons-cli-1.2"/> |
48 |
- <property name="maven.build.dir" value="target"/> |
49 |
- <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> |
50 |
- <property name="maven.build.srcDir.0" value="src/java"/> |
51 |
- <property name="maven.build.resourceDir.0" value="."/> |
52 |
- <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> |
53 |
- <property name="maven.build.testDir.0" value="src/test"/> |
54 |
- <property name="maven.build.testResourceDir.0" value="src/test/resources"/> |
55 |
- <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> |
56 |
- <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> |
57 |
- |
58 |
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/> |
59 |
- <property name="maven.settings.offline" value="false"/> |
60 |
- <property name="maven.settings.interactiveMode" value="true"/> |
61 |
- |
62 |
- <!-- ====================================================================== --> |
63 |
- <!-- Defining classpaths --> |
64 |
- <!-- ====================================================================== --> |
65 |
- |
66 |
- <path id="build.classpath"> |
67 |
- </path> |
68 |
- <path id="build.test.classpath"> |
69 |
- </path> |
70 |
- |
71 |
- <!-- ====================================================================== --> |
72 |
- <!-- Cleaning up target --> |
73 |
- <!-- ====================================================================== --> |
74 |
- |
75 |
- <target name="clean" description="Clean the output directory"> |
76 |
- <delete dir="${maven.build.dir}"/> |
77 |
- </target> |
78 |
- |
79 |
- <!-- ====================================================================== --> |
80 |
- <!-- Compilation target --> |
81 |
- <!-- ====================================================================== --> |
82 |
- |
83 |
- <target name="compile" depends="get-deps" description="Compile the code"> |
84 |
- <mkdir dir="${maven.build.outputDir}"/> |
85 |
- <javac destdir="${maven.build.outputDir}" |
86 |
- encoding="iso-8859-1" |
87 |
- nowarn="false" |
88 |
- debug="true" |
89 |
- optimize="false" |
90 |
- deprecation="true" |
91 |
- target="1.4" |
92 |
- verbose="false" |
93 |
- fork="false" |
94 |
- source="1.4"> |
95 |
- <src> |
96 |
- <pathelement location="${maven.build.srcDir.0}"/> |
97 |
- </src> |
98 |
- <classpath refid="build.classpath"/> |
99 |
- </javac> |
100 |
- <mkdir dir="${maven.build.outputDir}/META-INF"/> |
101 |
- <copy todir="${maven.build.outputDir}/META-INF"> |
102 |
- <fileset dir="${maven.build.resourceDir.0}"> |
103 |
- <include name="NOTICE.txt"/> |
104 |
- <include name="LICENSE.txt"/> |
105 |
- </fileset> |
106 |
- </copy> |
107 |
- </target> |
108 |
- |
109 |
- <!-- ====================================================================== --> |
110 |
- <!-- Test-compilation target --> |
111 |
- <!-- ====================================================================== --> |
112 |
- |
113 |
- <target name="compile-tests" |
114 |
- depends="compile" |
115 |
- description="Compile the test code" |
116 |
- unless="maven.test.skip"> |
117 |
- <mkdir dir="${maven.build.testOutputDir}"/> |
118 |
- <javac destdir="${maven.build.testOutputDir}" |
119 |
- encoding="iso-8859-1" |
120 |
- nowarn="false" |
121 |
- debug="true" |
122 |
- optimize="false" |
123 |
- deprecation="true" |
124 |
- target="1.4" |
125 |
- verbose="false" |
126 |
- fork="false" |
127 |
- source="1.4"> |
128 |
- <src> |
129 |
- <pathelement location="${maven.build.testDir.0}"/> |
130 |
- </src> |
131 |
- <classpath> |
132 |
- <path refid="build.test.classpath"/> |
133 |
- <pathelement location="${maven.build.outputDir}"/> |
134 |
- </classpath> |
135 |
- </javac> |
136 |
- </target> |
137 |
- |
138 |
- <!-- ====================================================================== --> |
139 |
- <!-- Run all tests --> |
140 |
- <!-- ====================================================================== --> |
141 |
- |
142 |
- <target name="test" |
143 |
- depends="compile-tests, junit-missing" |
144 |
- unless="junit.skipped" |
145 |
- description="Run the test cases"> |
146 |
- <mkdir dir="${maven.test.reports}"/> |
147 |
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir="."> |
148 |
- <sysproperty key="basedir" value="."/> |
149 |
- <formatter type="xml"/> |
150 |
- <formatter type="plain" usefile="false"/> |
151 |
- <classpath> |
152 |
- <path refid="build.test.classpath"/> |
153 |
- <pathelement location="${maven.build.outputDir}"/> |
154 |
- <pathelement location="${maven.build.testOutputDir}"/> |
155 |
- </classpath> |
156 |
- <batchtest todir="${maven.test.reports}" unless="test"> |
157 |
- <fileset dir="${maven.build.testDir.0}"> |
158 |
- <include name="**/Test*.java"/> |
159 |
- <include name="**/*Test.java"/> |
160 |
- <include name="**/*TestCase.java"/> |
161 |
- <exclude name="**/*Abstract*Test.java"/> |
162 |
- <exclude name="**/ParserTestCase.java"/> |
163 |
- </fileset> |
164 |
- </batchtest> |
165 |
- <batchtest todir="${maven.test.reports}" if="test"> |
166 |
- <fileset dir="${maven.build.testDir.0}"> |
167 |
- <include name="**/${test}.java"/> |
168 |
- <exclude name="**/*Abstract*Test.java"/> |
169 |
- </fileset> |
170 |
- </batchtest> |
171 |
- </junit> |
172 |
- </target> |
173 |
- |
174 |
- <target name="test-junit-present"> |
175 |
- <available classname="junit.framework.Test" property="junit.present"/> |
176 |
- </target> |
177 |
- |
178 |
- <target name="test-junit-status" |
179 |
- depends="test-junit-present"> |
180 |
- <condition property="junit.missing"> |
181 |
- <and> |
182 |
- <isfalse value="${junit.present}"/> |
183 |
- <isfalse value="${maven.test.skip}"/> |
184 |
- </and> |
185 |
- </condition> |
186 |
- <condition property="junit.skipped"> |
187 |
- <or> |
188 |
- <isfalse value="${junit.present}"/> |
189 |
- <istrue value="${maven.test.skip}"/> |
190 |
- </or> |
191 |
- </condition> |
192 |
- </target> |
193 |
- |
194 |
- <target name="junit-missing" |
195 |
- depends="test-junit-status" |
196 |
- if="junit.missing"> |
197 |
- <echo>=================================== WARNING ===================================</echo> |
198 |
- <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> |
199 |
- <echo>===============================================================================</echo> |
200 |
- </target> |
201 |
- |
202 |
- <!-- ====================================================================== --> |
203 |
- <!-- Javadoc target --> |
204 |
- <!-- ====================================================================== --> |
205 |
- |
206 |
- <target name="javadoc" description="Generates the Javadoc of the application"> |
207 |
- <javadoc sourcepath="${maven.build.srcDir.0}" |
208 |
- packagenames="*" |
209 |
- destdir="${maven.reporting.outputDirectory}/apidocs" |
210 |
- access="protected" |
211 |
- old="false" |
212 |
- verbose="false" |
213 |
- encoding="iso-8859-1" |
214 |
- version="true" |
215 |
- use="true" |
216 |
- author="true" |
217 |
- splitindex="false" |
218 |
- nodeprecated="false" |
219 |
- nodeprecatedlist="false" |
220 |
- notree="false" |
221 |
- noindex="false" |
222 |
- nohelp="false" |
223 |
- nonavbar="false" |
224 |
- serialwarn="false" |
225 |
- charset="ISO-8859-1" |
226 |
- source="1.4" |
227 |
- linksource="true" |
228 |
- breakiterator="false"> |
229 |
- <link href="http://java.sun.com/javase/6/docs/api/"/> |
230 |
- </javadoc> |
231 |
- </target> |
232 |
- |
233 |
- <!-- ====================================================================== --> |
234 |
- <!-- Package target --> |
235 |
- <!-- ====================================================================== --> |
236 |
- |
237 |
- <target name="package" depends="compile" description="Package the application"> |
238 |
- <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" |
239 |
- compress="true" |
240 |
- index="false" |
241 |
- basedir="${maven.build.outputDir}" |
242 |
- excludes="**/package.html"/> |
243 |
- </target> |
244 |
- |
245 |
- <!-- ====================================================================== --> |
246 |
- <!-- A dummy target for the package named after the type it creates --> |
247 |
- <!-- ====================================================================== --> |
248 |
- |
249 |
- <target name="jar" depends="package" description="Builds the jar for the application"/> |
250 |
- |
251 |
- <!-- ====================================================================== --> |
252 |
- <!-- Download dependencies target --> |
253 |
- <!-- ====================================================================== --> |
254 |
- |
255 |
- <target name="test-offline"> |
256 |
- <condition property="maven.mode.offline"> |
257 |
- <equals arg1="${maven.settings.offline}" arg2="true"/> |
258 |
- </condition> |
259 |
- </target> |
260 |
- |
261 |
- <target name="get-deps" |
262 |
- depends="test-offline" |
263 |
- description="Download all dependencies" |
264 |
- unless="maven.mode.offline"> |
265 |
- <mkdir dir="${maven.repo.local}"/> |
266 |
- <mkdir dir="${maven.repo.local}/junit/junit/3.8.1"/> |
267 |
- <get src="http://people.apache.org/repo/m2-snapshot-repository/junit/junit/3.8.1/junit-3.8.1.jar" |
268 |
- dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" |
269 |
- usetimestamp="false" |
270 |
- ignoreerrors="true"/> |
271 |
- <get src="http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar" |
272 |
- dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar" |
273 |
- usetimestamp="false" |
274 |
- ignoreerrors="true"/> |
275 |
- </target> |
276 |
- |
277 |
-</project> |