Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jsr311-api/files: jsr311-api-1.1-build.xml jsr311-api-1.0-manifest jsr311-api-1.1-maven-build.xml jsr311-api-1.1-manifest
Date: Sat, 20 Jun 2009 20:31:59
Message-Id: E1MI7ED-0007gt-Hu@stork.gentoo.org
1 robbat2 09/06/20 20:31:57
2
3 Modified: jsr311-api-1.0-manifest
4 Added: jsr311-api-1.1-build.xml
5 jsr311-api-1.1-maven-build.xml
6 jsr311-api-1.1-manifest
7 Log:
8 Version bump to latest upstream version needed for jersey-1.1.0. Backport ebuild tweaks to 1.0-r1 as well for ease of maintenance.
9 (Portage version: 2.2_rc33/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 dev-java/jsr311-api/files/jsr311-api-1.0-manifest
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.0-manifest?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.0-manifest?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.0-manifest?r1=1.1&r2=1.2
17
18 Index: jsr311-api-1.0-manifest
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.0-manifest,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -p -w -b -B -u -u -r1.1 -r1.2
24 --- jsr311-api-1.0-manifest 23 Feb 2009 10:37:45 -0000 1.1
25 +++ jsr311-api-1.0-manifest 20 Jun 2009 20:31:57 -0000 1.2
26 @@ -3,15 +3,15 @@ Extension-Name: javax.ws.rs
27 Specification-Title: JAX-RS: Java API for RESTful Web Services
28 Specification-Vendor: Sun Microsystems, Inc.
29 Specification-Version: 1.0
30 +Bundle-DocURL: http://www.sun.com/
31 Bundle-License: http://www.opensource.org/licenses/cddl1.php
32 +Bundle-ManifestVersion: 2
33 +Bundle-Name: jsr311-api
34 +Bundle-SymbolicName: javax.ws.rs.jsr311-api
35 +Bundle-Vendor: Sun Microsystems, Inc
36 +Bundle-Version: 1.0
37 Import-Package: javax.ws.rs;version="1.0",javax.ws.rs.core;version="1.
38 0",javax.ws.rs.ext;version="1.0"
39 Export-Package: javax.ws.rs;uses:="javax.ws.rs.core";version="1.0",jav
40 ax.ws.rs.ext;uses:="javax.ws.rs,javax.ws.rs.core";version="1.0",javax
41 .ws.rs.core;uses:="javax.ws.rs,javax.ws.rs.ext";version="1.0"
42 -Bundle-Version: 1.0
43 -Bundle-Name: jsr311-api
44 -Bundle-DocURL: http://www.sun.com/
45 -Bundle-ManifestVersion: 2
46 -Bundle-Vendor: Sun Microsystems, Inc
47 -Bundle-SymbolicName: javax.ws.rs.jsr311-api
48
49
50
51 1.1 dev-java/jsr311-api/files/jsr311-api-1.1-build.xml
52
53 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.1-build.xml?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.1-build.xml?rev=1.1&content-type=text/plain
55
56 Index: jsr311-api-1.1-build.xml
57 ===================================================================
58 <?xml version="1.0" encoding="UTF-8"?>
59
60 <!-- Ant build modified for Gentoo @ Mon, 23 Feb 2009 08:35:22 +0000 -->
61 <!-- Robin H. Johnson <robbat2@g.o> -->
62
63 <!-- ====================================================================== -->
64 <!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
65 <!-- ====================================================================== -->
66
67 <project name="jsr311-api" default="package" basedir=".">
68
69 <!-- ====================================================================== -->
70 <!-- Import maven-build.xml into the current project -->
71 <!-- ====================================================================== -->
72
73 <import file="maven-build.xml"/>
74
75 <!-- ====================================================================== -->
76 <!-- Help target -->
77 <!-- ====================================================================== -->
78
79 <target name="help">
80 <echo message="Please run: $ant -projecthelp"/>
81 </target>
82
83 </project>
84
85
86
87 1.1 dev-java/jsr311-api/files/jsr311-api-1.1-maven-build.xml
88
89 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.1-maven-build.xml?rev=1.1&view=markup
90 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.1-maven-build.xml?rev=1.1&content-type=text/plain
91
92 Index: jsr311-api-1.1-maven-build.xml
93 ===================================================================
94 <?xml version="1.0" encoding="UTF-8"?>
95
96 <!-- Ant build modified for Gentoo @ Mon, 23 Feb 2009 08:35:22 +0000 -->
97 <!-- Robin H. Johnson <robbat2@g.o> -->
98
99 <!-- ====================================================================== -->
100 <!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
101 <!-- ====================================================================== -->
102
103 <project name="jsr311-api-from-maven" default="package" basedir=".">
104
105 <!-- ====================================================================== -->
106 <!-- Build environment properties -->
107 <!-- ====================================================================== -->
108
109 <property file="maven-build.properties"/>
110
111 <property name="maven.build.finalName" value="jsr311-api-1.1"/>
112 <property name="maven.build.dir" value="target"/>
113 <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
114 <property name="maven.build.srcDir.0" value="src"/>
115 <property name="maven.build.resourceDir.0" value="src/main/resources"/>
116 <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
117 <property name="maven.build.testDir.0" value="test"/>
118 <property name="maven.build.testResourceDir.0" value="src/test/resources"/>
119 <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
120 <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
121
122 <property name="maven.settings.interactiveMode" value="true"/>
123
124 <!-- ====================================================================== -->
125 <!-- Defining classpaths -->
126 <!-- ====================================================================== -->
127
128 <path id="build.classpath">
129 </path>
130 <path id="build.test.classpath">
131 <fileset dir=".">
132 <include name="lib/junit.jar"/>
133 </fileset>
134 </path>
135
136 <!-- ====================================================================== -->
137 <!-- Cleaning up target -->
138 <!-- ====================================================================== -->
139
140 <target name="clean" description="Clean the output directory">
141 <delete dir="${maven.build.dir}"/>
142 </target>
143
144 <!-- ====================================================================== -->
145 <!-- Compilation target -->
146 <!-- ====================================================================== -->
147
148 <target name="compile" description="Compile the code">
149 <mkdir dir="${maven.build.outputDir}"/>
150 <javac destdir="${maven.build.outputDir}"
151 nowarn="false"
152 debug="true"
153 optimize="false"
154 deprecation="true"
155 target="1.5"
156 verbose="false"
157 fork="false"
158 source="1.5"
159 classpath="${gentoo.classpath}">
160 <src>
161 <pathelement location="${maven.build.srcDir.0}"/>
162 </src>
163 <classpath refid="build.classpath"/>
164 </javac>
165 </target>
166
167 <!-- ====================================================================== -->
168 <!-- Test-compilation target -->
169 <!-- ====================================================================== -->
170
171 <target name="compile-tests"
172 depends="compile"
173 description="Compile the test code"
174 unless="maven.test.skip">
175 <mkdir dir="${maven.build.testOutputDir}"/>
176 <javac destdir="${maven.build.testOutputDir}"
177 nowarn="false"
178 debug="true"
179 optimize="false"
180 deprecation="true"
181 target="1.5"
182 verbose="false"
183 fork="false"
184 source="1.5"
185 classpath="${gentoo.classpath}">
186 <src>
187 <pathelement location="${maven.build.testDir.0}"/>
188 </src>
189 <classpath>
190 <path refid="build.test.classpath"/>
191 <pathelement location="${maven.build.outputDir}"/>
192 </classpath>
193 </javac>
194 </target>
195
196 <!-- ====================================================================== -->
197 <!-- Run all tests -->
198 <!-- ====================================================================== -->
199
200 <target name="test"
201 depends="compile-tests"
202 description="Run the test cases">
203 <mkdir dir="${maven.test.reports}"/>
204 <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
205 <sysproperty key="basedir" value="."/>
206 <formatter type="xml"/>
207 <formatter type="plain" usefile="false"/>
208 <classpath>
209 <path refid="build.test.classpath"/>
210 <pathelement location="${maven.build.outputDir}"/>
211 <pathelement location="${maven.build.testOutputDir}"/>
212 </classpath>
213 <batchtest todir="${maven.test.reports}" unless="test">
214 <fileset dir="${maven.build.testDir.0}">
215 <include name="**/Test*.java"/>
216 <include name="**/*Test.java"/>
217 <include name="**/*TestCase.java"/>
218 <exclude name="**/*Abstract*Test.java"/>
219 </fileset>
220 </batchtest>
221 <batchtest todir="${maven.test.reports}" if="test">
222 <fileset dir="${maven.build.testDir.0}">
223 <include name="**/${test}.java"/>
224 <exclude name="**/*Abstract*Test.java"/>
225 </fileset>
226 </batchtest>
227 </junit>
228 </target>
229
230 <!-- ====================================================================== -->
231 <!-- Javadoc target -->
232 <!-- ====================================================================== -->
233
234 <target name="javadoc" description="Generates the Javadoc of the application">
235 <javadoc sourcepath="${maven.build.srcDir.0}"
236 packagenames="*"
237 destdir="${maven.reporting.outputDirectory}/apidocs"
238 access="protected"
239 old="false"
240 verbose="false"
241 version="true"
242 use="true"
243 author="true"
244 splitindex="false"
245 nodeprecated="false"
246 nodeprecatedlist="false"
247 notree="false"
248 noindex="false"
249 nohelp="false"
250 nonavbar="false"
251 serialwarn="false"
252 charset="ISO-8859-1"
253 linksource="false"
254 breakiterator="false"/>
255 </target>
256
257 <!-- ====================================================================== -->
258 <!-- Package target -->
259 <!-- ====================================================================== -->
260
261 <target name="package" depends="compile" description="Package the application">
262 <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
263 compress="true"
264 index="false"
265 manifest="manifest"
266 basedir="${maven.build.outputDir}"
267 excludes="**/package.html"/>
268 </target>
269
270 <!-- ====================================================================== -->
271 <!-- A dummy target for the package named after the type it creates -->
272 <!-- ====================================================================== -->
273
274 <target name="jar" depends="package" description="Builds the jar for the application"/>
275
276 </project>
277
278
279
280 1.1 dev-java/jsr311-api/files/jsr311-api-1.1-manifest
281
282 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.1-manifest?rev=1.1&view=markup
283 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jsr311-api/files/jsr311-api-1.1-manifest?rev=1.1&content-type=text/plain
284
285 Index: jsr311-api-1.1-manifest
286 ===================================================================
287 Manifest-Version: 1.0
288 Extension-Name: javax.ws.rs
289 Specification-Title: JAX-RS: Java API for RESTful Web Services
290 Specification-Vendor: Sun Microsystems, Inc.
291 Specification-Version: 1.1
292 Bundle-License: http://www.opensource.org/licenses/cddl1.php
293 Import-Package: javax.ws.rs;version="1.1",javax.ws.rs.core;version="1.
294 0",javax.ws.rs.ext;version="1.1"
295 Export-Package: javax.ws.rs;uses:="javax.ws.rs.core";version="1.1",jav
296 ax.ws.rs.ext;uses:="javax.ws.rs,javax.ws.rs.core";version="1.1",javax
297 .ws.rs.core;uses:="javax.ws.rs,javax.ws.rs.ext";version="1.1"
298 Bundle-Version: 1.1
299 Bundle-Name: jsr311-api
300 Bundle-DocURL: http://www.sun.com/
301 Bundle-ManifestVersion: 2
302 Bundle-Vendor: Sun Microsystems, Inc
303 Bundle-SymbolicName: javax.ws.rs.jsr311-api