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