Gentoo Archives: gentoo-commits

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