Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jnr-enxio/files: jnr-enxio-0.4-build.xml
Date: Thu, 06 Jun 2013 10:38:44
Message-Id: 20130606103838.C5FA520081@flycatcher.gentoo.org
1 tomwij 13/06/06 10:38:38
2
3 Added: jnr-enxio-0.4-build.xml
4 Log:
5 New ebuild for jnr-enxio, Java Native Runtime Enhanced X-platform I/O. Dependency of dev-java/jnr-unixsocket.
6
7 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
8
9 Revision Changes Path
10 1.1 dev-java/jnr-enxio/files/jnr-enxio-0.4-build.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-enxio/files/jnr-enxio-0.4-build.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jnr-enxio/files/jnr-enxio-0.4-build.xml?rev=1.1&content-type=text/plain
14
15 Index: jnr-enxio-0.4-build.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18
19 <!-- ====================================================================== -->
20 <!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
21 <!-- ====================================================================== -->
22
23 <!-- ====================================================================== -->
24 <!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
25 <!-- ====================================================================== -->
26 <!-- -->
27 <!-- Any modifications will be overwritten. -->
28 <!-- -->
29 <!-- Generated by Maven Ant Plugin on 6/6/13 12:27 PM -->
30 <!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
31 <!-- -->
32 <!-- ====================================================================== -->
33
34 <project name="jnr-enxio-from-maven" default="package" basedir=".">
35
36 <!-- ====================================================================== -->
37 <!-- Build environment properties -->
38 <!-- ====================================================================== -->
39
40 <property file="${user.home}/.m2/maven.properties"/>
41 <property file="maven-build.properties"/>
42
43 <property name="maven.build.finalName" value="jnr-enxio-0.4"/>
44 <property name="maven.build.dir" value="target"/>
45 <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
46 <property name="maven.build.srcDir.0" value="src/main/java"/>
47 <property name="maven.build.resourceDir.0" value="src/main/resources"/>
48 <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
49 <property name="maven.build.testDir.0" value="src/test/java"/>
50 <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
51 <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
52 <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
53
54 <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
55 <property name="maven.settings.offline" value="false"/>
56 <property name="maven.settings.interactiveMode" value="true"/>
57
58 <!-- ====================================================================== -->
59 <!-- Defining classpaths -->
60 <!-- ====================================================================== -->
61
62 <path id="build.classpath">
63 <pathelement location="${maven.repo.local}/com/github/jnr/jnr-constants/0.8.4/jnr-constants-0.8.4.jar"/>
64 <pathelement location="${maven.repo.local}/com/github/jnr/jnr-ffi/1.0.3/jnr-ffi-1.0.3.jar"/>
65 <pathelement location="${maven.repo.local}/com/github/jnr/jffi/1.2.7/jffi-1.2.7.jar"/>
66 <pathelement location="${maven.repo.local}/org/ow2/asm/asm/4.0/asm-4.0.jar"/>
67 <pathelement location="${maven.repo.local}/org/ow2/asm/asm-commons/4.0/asm-commons-4.0.jar"/>
68 <pathelement location="${maven.repo.local}/org/ow2/asm/asm-analysis/4.0/asm-analysis-4.0.jar"/>
69 <pathelement location="${maven.repo.local}/org/ow2/asm/asm-tree/4.0/asm-tree-4.0.jar"/>
70 <pathelement location="${maven.repo.local}/org/ow2/asm/asm-util/4.0/asm-util-4.0.jar"/>
71 <pathelement location="${maven.repo.local}/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar"/>
72 </path>
73 <path id="build.test.classpath">
74 <pathelement location="${maven.repo.local}/junit/junit/4.11/junit-4.11.jar"/>
75 <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
76 <pathelement location="${maven.repo.local}/com/github/jnr/jnr-constants/0.8.4/jnr-constants-0.8.4.jar"/>
77 <pathelement location="${maven.repo.local}/com/github/jnr/jnr-ffi/1.0.3/jnr-ffi-1.0.3.jar"/>
78 <pathelement location="${maven.repo.local}/com/github/jnr/jffi/1.2.7/jffi-1.2.7.jar"/>
79 <pathelement location="${maven.repo.local}/com/github/jnr/jffi/1.2.7/jffi-1.2.7-native.jar"/>
80 <pathelement location="${maven.repo.local}/org/ow2/asm/asm/4.0/asm-4.0.jar"/>
81 <pathelement location="${maven.repo.local}/org/ow2/asm/asm-commons/4.0/asm-commons-4.0.jar"/>
82 <pathelement location="${maven.repo.local}/org/ow2/asm/asm-analysis/4.0/asm-analysis-4.0.jar"/>
83 <pathelement location="${maven.repo.local}/org/ow2/asm/asm-tree/4.0/asm-tree-4.0.jar"/>
84 <pathelement location="${maven.repo.local}/org/ow2/asm/asm-util/4.0/asm-util-4.0.jar"/>
85 <pathelement location="${maven.repo.local}/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar"/>
86 </path>
87
88 <!-- ====================================================================== -->
89 <!-- Cleaning up target -->
90 <!-- ====================================================================== -->
91
92 <target name="clean" description="Clean the output directory">
93 <delete dir="${maven.build.dir}"/>
94 </target>
95
96 <!-- ====================================================================== -->
97 <!-- Compilation target -->
98 <!-- ====================================================================== -->
99
100 <target name="compile" depends="get-deps" description="Compile the code">
101 <mkdir dir="${maven.build.outputDir}"/>
102 <javac destdir="${maven.build.outputDir}"
103 nowarn="false"
104 debug="true"
105 optimize="false"
106 deprecation="true"
107 target="1.1"
108 verbose="false"
109 fork="false"
110 source="1.3">
111 <src>
112 <pathelement location="${maven.build.srcDir.0}"/>
113 </src>
114 <classpath refid="build.classpath"/>
115 </javac>
116 </target>
117
118 <!-- ====================================================================== -->
119 <!-- Test-compilation target -->
120 <!-- ====================================================================== -->
121
122 <target name="compile-tests"
123 depends="compile"
124 description="Compile the test code"
125 unless="maven.test.skip">
126 <mkdir dir="${maven.build.testOutputDir}"/>
127 </target>
128
129 <!-- ====================================================================== -->
130 <!-- Run all tests -->
131 <!-- ====================================================================== -->
132
133 <target name="test"
134 depends="compile-tests, junit-missing"
135 unless="junit.skipped"
136 description="Run the test cases"/>
137
138 <target name="test-junit-present">
139 <available classname="junit.framework.Test" property="junit.present"/>
140 </target>
141
142 <target name="test-junit-status"
143 depends="test-junit-present">
144 <condition property="junit.missing">
145 <and>
146 <isfalse value="${junit.present}"/>
147 <isfalse value="${maven.test.skip}"/>
148 </and>
149 </condition>
150 <condition property="junit.skipped">
151 <or>
152 <isfalse value="${junit.present}"/>
153 <istrue value="${maven.test.skip}"/>
154 </or>
155 </condition>
156 </target>
157
158 <target name="junit-missing"
159 depends="test-junit-status"
160 if="junit.missing">
161 <echo>=================================== WARNING ===================================</echo>
162 <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
163 <echo>===============================================================================</echo>
164 </target>
165
166 <!-- ====================================================================== -->
167 <!-- Javadoc target -->
168 <!-- ====================================================================== -->
169
170 <target name="javadoc" description="Generates the Javadoc of the application">
171 <javadoc sourcepath="${maven.build.srcDir.0}"
172 packagenames="*"
173 destdir="${maven.reporting.outputDirectory}/apidocs"
174 access="protected"
175 old="false"
176 verbose="false"
177 version="true"
178 use="true"
179 author="true"
180 splitindex="false"
181 nodeprecated="false"
182 nodeprecatedlist="false"
183 notree="false"
184 noindex="false"
185 nohelp="false"
186 nonavbar="false"
187 serialwarn="false"
188 charset="ISO-8859-1"
189 linksource="false"
190 breakiterator="false"/>
191 </target>
192
193 <!-- ====================================================================== -->
194 <!-- Package target -->
195 <!-- ====================================================================== -->
196
197 <target name="package" depends="compile,test" description="Package the application">
198 <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
199 compress="true"
200 index="false"
201 basedir="${maven.build.outputDir}"
202 excludes="**/package.html"/>
203 </target>
204
205 <!-- ====================================================================== -->
206 <!-- A dummy target for the package named after the type it creates -->
207 <!-- ====================================================================== -->
208
209 <target name="jar" depends="package" description="Builds the jar for the application"/>
210
211 <!-- ====================================================================== -->
212 <!-- Download dependencies target -->
213 <!-- ====================================================================== -->
214
215 <target name="test-offline">
216 <condition property="maven.mode.offline">
217 <equals arg1="${maven.settings.offline}" arg2="true"/>
218 </condition>
219 </target>
220
221 <target name="get-deps"
222 depends="test-offline"
223 description="Download all dependencies"
224 unless="maven.mode.offline">
225 <mkdir dir="${maven.repo.local}"/>
226 <mkdir dir="${maven.repo.local}/junit/junit/4.11"/>
227 <get src="https://oss.sonatype.org/content/repositories/snapshots/junit/junit/4.11/junit-4.11.jar"
228 dest="${maven.repo.local}/junit/junit/4.11/junit-4.11.jar"
229 usetimestamp="false"
230 ignoreerrors="true"/>
231 <get src="http://repo.maven.apache.org/maven2/junit/junit/4.11/junit-4.11.jar"
232 dest="${maven.repo.local}/junit/junit/4.11/junit-4.11.jar"
233 usetimestamp="false"
234 ignoreerrors="true"/>
235 <mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3"/>
236 <get src="https://oss.sonatype.org/content/repositories/snapshots/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"
237 dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"
238 usetimestamp="false"
239 ignoreerrors="true"/>
240 <get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"
241 dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"
242 usetimestamp="false"
243 ignoreerrors="true"/>
244 <mkdir dir="${maven.repo.local}/com/github/jnr/jnr-constants/0.8.4"/>
245 <get src="https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-constants/0.8.4/jnr-constants-0.8.4.jar"
246 dest="${maven.repo.local}/com/github/jnr/jnr-constants/0.8.4/jnr-constants-0.8.4.jar"
247 usetimestamp="false"
248 ignoreerrors="true"/>
249 <get src="http://repo.maven.apache.org/maven2/com/github/jnr/jnr-constants/0.8.4/jnr-constants-0.8.4.jar"
250 dest="${maven.repo.local}/com/github/jnr/jnr-constants/0.8.4/jnr-constants-0.8.4.jar"
251 usetimestamp="false"
252 ignoreerrors="true"/>
253 <mkdir dir="${maven.repo.local}/com/github/jnr/jnr-ffi/1.0.3"/>
254 <get src="https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-ffi/1.0.3/jnr-ffi-1.0.3.jar"
255 dest="${maven.repo.local}/com/github/jnr/jnr-ffi/1.0.3/jnr-ffi-1.0.3.jar"
256 usetimestamp="false"
257 ignoreerrors="true"/>
258 <get src="http://repo.maven.apache.org/maven2/com/github/jnr/jnr-ffi/1.0.3/jnr-ffi-1.0.3.jar"
259 dest="${maven.repo.local}/com/github/jnr/jnr-ffi/1.0.3/jnr-ffi-1.0.3.jar"
260 usetimestamp="false"
261 ignoreerrors="true"/>
262 <mkdir dir="${maven.repo.local}/com/github/jnr/jffi/1.2.7"/>
263 <get src="https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.7/jffi-1.2.7.jar"
264 dest="${maven.repo.local}/com/github/jnr/jffi/1.2.7/jffi-1.2.7.jar"
265 usetimestamp="false"
266 ignoreerrors="true"/>
267 <get src="http://repo.maven.apache.org/maven2/com/github/jnr/jffi/1.2.7/jffi-1.2.7.jar"
268 dest="${maven.repo.local}/com/github/jnr/jffi/1.2.7/jffi-1.2.7.jar"
269 usetimestamp="false"
270 ignoreerrors="true"/>
271 <mkdir dir="${maven.repo.local}/com/github/jnr/jffi/1.2.7"/>
272 <get src="https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.7/jffi-1.2.7-native.jar"
273 dest="${maven.repo.local}/com/github/jnr/jffi/1.2.7/jffi-1.2.7-native.jar"
274 usetimestamp="false"
275 ignoreerrors="true"/>
276 <get src="http://repo.maven.apache.org/maven2/com/github/jnr/jffi/1.2.7/jffi-1.2.7-native.jar"
277 dest="${maven.repo.local}/com/github/jnr/jffi/1.2.7/jffi-1.2.7-native.jar"
278 usetimestamp="false"
279 ignoreerrors="true"/>
280 <mkdir dir="${maven.repo.local}/org/ow2/asm/asm/4.0"/>
281 <get src="https://oss.sonatype.org/content/repositories/snapshots/org/ow2/asm/asm/4.0/asm-4.0.jar"
282 dest="${maven.repo.local}/org/ow2/asm/asm/4.0/asm-4.0.jar"
283 usetimestamp="false"
284 ignoreerrors="true"/>
285 <get src="http://repo.maven.apache.org/maven2/org/ow2/asm/asm/4.0/asm-4.0.jar"
286 dest="${maven.repo.local}/org/ow2/asm/asm/4.0/asm-4.0.jar"
287 usetimestamp="false"
288 ignoreerrors="true"/>
289 <mkdir dir="${maven.repo.local}/org/ow2/asm/asm-commons/4.0"/>
290 <get src="https://oss.sonatype.org/content/repositories/snapshots/org/ow2/asm/asm-commons/4.0/asm-commons-4.0.jar"
291 dest="${maven.repo.local}/org/ow2/asm/asm-commons/4.0/asm-commons-4.0.jar"
292 usetimestamp="false"
293 ignoreerrors="true"/>
294 <get src="http://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/4.0/asm-commons-4.0.jar"
295 dest="${maven.repo.local}/org/ow2/asm/asm-commons/4.0/asm-commons-4.0.jar"
296 usetimestamp="false"
297 ignoreerrors="true"/>
298 <mkdir dir="${maven.repo.local}/org/ow2/asm/asm-analysis/4.0"/>
299 <get src="https://oss.sonatype.org/content/repositories/snapshots/org/ow2/asm/asm-analysis/4.0/asm-analysis-4.0.jar"
300 dest="${maven.repo.local}/org/ow2/asm/asm-analysis/4.0/asm-analysis-4.0.jar"
301 usetimestamp="false"
302 ignoreerrors="true"/>
303 <get src="http://repo.maven.apache.org/maven2/org/ow2/asm/asm-analysis/4.0/asm-analysis-4.0.jar"
304 dest="${maven.repo.local}/org/ow2/asm/asm-analysis/4.0/asm-analysis-4.0.jar"
305 usetimestamp="false"
306 ignoreerrors="true"/>
307 <mkdir dir="${maven.repo.local}/org/ow2/asm/asm-tree/4.0"/>
308 <get src="https://oss.sonatype.org/content/repositories/snapshots/org/ow2/asm/asm-tree/4.0/asm-tree-4.0.jar"
309 dest="${maven.repo.local}/org/ow2/asm/asm-tree/4.0/asm-tree-4.0.jar"
310 usetimestamp="false"
311 ignoreerrors="true"/>
312 <get src="http://repo.maven.apache.org/maven2/org/ow2/asm/asm-tree/4.0/asm-tree-4.0.jar"
313 dest="${maven.repo.local}/org/ow2/asm/asm-tree/4.0/asm-tree-4.0.jar"
314 usetimestamp="false"
315 ignoreerrors="true"/>
316 <mkdir dir="${maven.repo.local}/org/ow2/asm/asm-util/4.0"/>
317 <get src="https://oss.sonatype.org/content/repositories/snapshots/org/ow2/asm/asm-util/4.0/asm-util-4.0.jar"
318 dest="${maven.repo.local}/org/ow2/asm/asm-util/4.0/asm-util-4.0.jar"
319 usetimestamp="false"
320 ignoreerrors="true"/>
321 <get src="http://repo.maven.apache.org/maven2/org/ow2/asm/asm-util/4.0/asm-util-4.0.jar"
322 dest="${maven.repo.local}/org/ow2/asm/asm-util/4.0/asm-util-4.0.jar"
323 usetimestamp="false"
324 ignoreerrors="true"/>
325 <mkdir dir="${maven.repo.local}/com/github/jnr/jnr-x86asm/1.0.2"/>
326 <get src="https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar"
327 dest="${maven.repo.local}/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar"
328 usetimestamp="false"
329 ignoreerrors="true"/>
330 <get src="http://repo.maven.apache.org/maven2/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar"
331 dest="${maven.repo.local}/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar"
332 usetimestamp="false"
333 ignoreerrors="true"/>
334 </target>
335
336 </project>