cipango-jars 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
22
+ lib/cipango-main-1.0.jar
data/LICENSE ADDED
@@ -0,0 +1,692 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
203
+
204
+
205
+
206
+
207
+ COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
208
+
209
+ 1. Definitions.
210
+
211
+ 1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications.
212
+
213
+ 1.2. Contributor Version means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
214
+
215
+ 1.3. Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
216
+
217
+ 1.4. Executable means the Covered Software in any form other than Source Code.
218
+
219
+ 1.5. Initial Developer means the individual or entity that first makes Original Software available under this License.
220
+
221
+ 1.6. Larger Work means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
222
+
223
+ 1.7. License means this document.
224
+
225
+ 1.8. Licensable means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
226
+
227
+ 1.9. Modifications means the Source Code and Executable form of any of the following:
228
+
229
+ A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
230
+
231
+ B. Any new file that contains any part of the Original Software or previous Modification; or
232
+
233
+ C. Any new file that is contributed or otherwise made available under the terms of this License.
234
+
235
+ 1.10. Original Software means the Source Code and Executable form of computer software code that is originally released under this License.
236
+
237
+ 1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
238
+
239
+ 1.12. Source Code means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
240
+
241
+ 1.13. You (or Your) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, You includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, control means (a)�the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b)�ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
242
+
243
+ 2. License Grants.
244
+
245
+ 2.1. The Initial Developer Grant.
246
+ Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
247
+ (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
248
+ (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
249
+ (c) The licenses granted in Sections�2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
250
+ (d) Notwithstanding Section�2.1(b) above, no patent license is granted: (1)�for code that You delete from the Original Software, or (2)�for infringements caused by: (i)�the modification of the Original Software, or (ii)�the combination of the Original Software with other software or devices.
251
+
252
+ 2.2. Contributor Grant.
253
+ Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
254
+ (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
255
+ (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1)�Modifications made by that Contributor (or portions thereof); and (2)�the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
256
+ (c) The licenses granted in Sections�2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
257
+ (d) Notwithstanding Section�2.2(b) above, no patent license is granted: (1)�for any code that Contributor has deleted from the Contributor Version; (2)�for infringements caused by: (i)�third party modifications of Contributor Version, or (ii)�the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3)�under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
258
+
259
+ 3. Distribution Obligations.
260
+
261
+ 3.1. Availability of Source Code.
262
+
263
+ Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
264
+
265
+ 3.2. Modifications.
266
+
267
+ The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
268
+
269
+ 3.3. Required Notices.
270
+ You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
271
+
272
+ 3.4. Application of Additional Terms.
273
+ You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
274
+
275
+ 3.5. Distribution of Executable Versions.
276
+ You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
277
+
278
+ 3.6. Larger Works.
279
+ You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
280
+
281
+ 4. Versions of the License.
282
+
283
+ 4.1. New Versions.
284
+ Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
285
+
286
+ 4.2. Effect of New Versions.
287
+
288
+ You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
289
+ 4.3. Modified Versions.
290
+
291
+ When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a)�rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b)�otherwise make it clear that the license contains terms which differ from this License.
292
+
293
+ 5. DISCLAIMER OF WARRANTY.
294
+
295
+ COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
296
+
297
+ 6. TERMINATION.
298
+
299
+ 6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
300
+
301
+ 6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as Participant) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections�2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
302
+
303
+ 6.3. In the event of termination under Sections�6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
304
+
305
+ 7. LIMITATION OF LIABILITY.
306
+
307
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
308
+
309
+ 8. U.S. GOVERNMENT END USERS.
310
+
311
+ The Covered Software is a commercial item, as that term is defined in 48�C.F.R.�2.101 (Oct. 1995), consisting of commercial computer software (as that term is defined at 48 C.F.R. �252.227-7014(a)(1)) and commercial computer software documentation as such terms are used in 48�C.F.R.�12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
312
+
313
+ 9. MISCELLANEOUS.
314
+
315
+ This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
316
+
317
+ 10. RESPONSIBILITY FOR CLAIMS.
318
+
319
+ As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
320
+
321
+ NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
322
+ The GlassFish code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
323
+
324
+
325
+
326
+ ==============================================================
327
+ Cipango SIP Container
328
+ Copyright 2008 NEXCOM Systems
329
+ ==============================================================
330
+
331
+ This product includes some software developed at The Apache Software
332
+ Foundation (http://www.apache.org/).
333
+
334
+ The Jetty Web Container is copyright Mort Bay Consulting Pty Ltd and
335
+ distributed under Apache 2.0 licence.
336
+
337
+ The javax.servlet package used by Jetty is copyright
338
+ Sun Microsystems, Inc and Apache Software Foundation. It is
339
+ distributed under the Common Development and Distribution License.
340
+ You can obtain a copy of the license at
341
+ https://glassfish.dev.java.net/public/CDDLv1.0.html.
342
+
343
+ The default JSP implementation is provided by the Glassfish JSP engine
344
+ from project Glassfish http://glassfish.dev.java.net. Copyright 2005
345
+ Sun Microsystems, Inc. and portions Copyright Apache Software Foundation.
346
+
347
+
348
+ Apache License
349
+ Version 2.0, January 2004
350
+ http://www.apache.org/licenses/
351
+
352
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
353
+
354
+ 1. Definitions.
355
+
356
+ "License" shall mean the terms and conditions for use, reproduction,
357
+ and distribution as defined by Sections 1 through 9 of this document.
358
+
359
+ "Licensor" shall mean the copyright owner or entity authorized by
360
+ the copyright owner that is granting the License.
361
+
362
+ "Legal Entity" shall mean the union of the acting entity and all
363
+ other entities that control, are controlled by, or are under common
364
+ control with that entity. For the purposes of this definition,
365
+ "control" means (i) the power, direct or indirect, to cause the
366
+ direction or management of such entity, whether by contract or
367
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
368
+ outstanding shares, or (iii) beneficial ownership of such entity.
369
+
370
+ "You" (or "Your") shall mean an individual or Legal Entity
371
+ exercising permissions granted by this License.
372
+
373
+ "Source" form shall mean the preferred form for making modifications,
374
+ including but not limited to software source code, documentation
375
+ source, and configuration files.
376
+
377
+ "Object" form shall mean any form resulting from mechanical
378
+ transformation or translation of a Source form, including but
379
+ not limited to compiled object code, generated documentation,
380
+ and conversions to other media types.
381
+
382
+ "Work" shall mean the work of authorship, whether in Source or
383
+ Object form, made available under the License, as indicated by a
384
+ copyright notice that is included in or attached to the work
385
+ (an example is provided in the Appendix below).
386
+
387
+ "Derivative Works" shall mean any work, whether in Source or Object
388
+ form, that is based on (or derived from) the Work and for which the
389
+ editorial revisions, annotations, elaborations, or other modifications
390
+ represent, as a whole, an original work of authorship. For the purposes
391
+ of this License, Derivative Works shall not include works that remain
392
+ separable from, or merely link (or bind by name) to the interfaces of,
393
+ the Work and Derivative Works thereof.
394
+
395
+ "Contribution" shall mean any work of authorship, including
396
+ the original version of the Work and any modifications or additions
397
+ to that Work or Derivative Works thereof, that is intentionally
398
+ submitted to Licensor for inclusion in the Work by the copyright owner
399
+ or by an individual or Legal Entity authorized to submit on behalf of
400
+ the copyright owner. For the purposes of this definition, "submitted"
401
+ means any form of electronic, verbal, or written communication sent
402
+ to the Licensor or its representatives, including but not limited to
403
+ communication on electronic mailing lists, source code control systems,
404
+ and issue tracking systems that are managed by, or on behalf of, the
405
+ Licensor for the purpose of discussing and improving the Work, but
406
+ excluding communication that is conspicuously marked or otherwise
407
+ designated in writing by the copyright owner as "Not a Contribution."
408
+
409
+ "Contributor" shall mean Licensor and any individual or Legal Entity
410
+ on behalf of whom a Contribution has been received by Licensor and
411
+ subsequently incorporated within the Work.
412
+
413
+ 2. Grant of Copyright License. Subject to the terms and conditions of
414
+ this License, each Contributor hereby grants to You a perpetual,
415
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
416
+ copyright license to reproduce, prepare Derivative Works of,
417
+ publicly display, publicly perform, sublicense, and distribute the
418
+ Work and such Derivative Works in Source or Object form.
419
+
420
+ 3. Grant of Patent License. Subject to the terms and conditions of
421
+ this License, each Contributor hereby grants to You a perpetual,
422
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
423
+ (except as stated in this section) patent license to make, have made,
424
+ use, offer to sell, sell, import, and otherwise transfer the Work,
425
+ where such license applies only to those patent claims licensable
426
+ by such Contributor that are necessarily infringed by their
427
+ Contribution(s) alone or by combination of their Contribution(s)
428
+ with the Work to which such Contribution(s) was submitted. If You
429
+ institute patent litigation against any entity (including a
430
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
431
+ or a Contribution incorporated within the Work constitutes direct
432
+ or contributory patent infringement, then any patent licenses
433
+ granted to You under this License for that Work shall terminate
434
+ as of the date such litigation is filed.
435
+
436
+ 4. Redistribution. You may reproduce and distribute copies of the
437
+ Work or Derivative Works thereof in any medium, with or without
438
+ modifications, and in Source or Object form, provided that You
439
+ meet the following conditions:
440
+
441
+ (a) You must give any other recipients of the Work or
442
+ Derivative Works a copy of this License; and
443
+
444
+ (b) You must cause any modified files to carry prominent notices
445
+ stating that You changed the files; and
446
+
447
+ (c) You must retain, in the Source form of any Derivative Works
448
+ that You distribute, all copyright, patent, trademark, and
449
+ attribution notices from the Source form of the Work,
450
+ excluding those notices that do not pertain to any part of
451
+ the Derivative Works; and
452
+
453
+ (d) If the Work includes a "NOTICE" text file as part of its
454
+ distribution, then any Derivative Works that You distribute must
455
+ include a readable copy of the attribution notices contained
456
+ within such NOTICE file, excluding those notices that do not
457
+ pertain to any part of the Derivative Works, in at least one
458
+ of the following places: within a NOTICE text file distributed
459
+ as part of the Derivative Works; within the Source form or
460
+ documentation, if provided along with the Derivative Works; or,
461
+ within a display generated by the Derivative Works, if and
462
+ wherever such third-party notices normally appear. The contents
463
+ of the NOTICE file are for informational purposes only and
464
+ do not modify the License. You may add Your own attribution
465
+ notices within Derivative Works that You distribute, alongside
466
+ or as an addendum to the NOTICE text from the Work, provided
467
+ that such additional attribution notices cannot be construed
468
+ as modifying the License.
469
+
470
+ You may add Your own copyright statement to Your modifications and
471
+ may provide additional or different license terms and conditions
472
+ for use, reproduction, or distribution of Your modifications, or
473
+ for any such Derivative Works as a whole, provided Your use,
474
+ reproduction, and distribution of the Work otherwise complies with
475
+ the conditions stated in this License.
476
+
477
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
478
+ any Contribution intentionally submitted for inclusion in the Work
479
+ by You to the Licensor shall be under the terms and conditions of
480
+ this License, without any additional terms or conditions.
481
+ Notwithstanding the above, nothing herein shall supersede or modify
482
+ the terms of any separate license agreement you may have executed
483
+ with Licensor regarding such Contributions.
484
+
485
+ 6. Trademarks. This License does not grant permission to use the trade
486
+ names, trademarks, service marks, or product names of the Licensor,
487
+ except as required for reasonable and customary use in describing the
488
+ origin of the Work and reproducing the content of the NOTICE file.
489
+
490
+ 7. Disclaimer of Warranty. Unless required by applicable law or
491
+ agreed to in writing, Licensor provides the Work (and each
492
+ Contributor provides its Contributions) on an "AS IS" BASIS,
493
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
494
+ implied, including, without limitation, any warranties or conditions
495
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
496
+ PARTICULAR PURPOSE. You are solely responsible for determining the
497
+ appropriateness of using or redistributing the Work and assume any
498
+ risks associated with Your exercise of permissions under this License.
499
+
500
+ 8. Limitation of Liability. In no event and under no legal theory,
501
+ whether in tort (including negligence), contract, or otherwise,
502
+ unless required by applicable law (such as deliberate and grossly
503
+ negligent acts) or agreed to in writing, shall any Contributor be
504
+ liable to You for damages, including any direct, indirect, special,
505
+ incidental, or consequential damages of any character arising as a
506
+ result of this License or out of the use or inability to use the
507
+ Work (including but not limited to damages for loss of goodwill,
508
+ work stoppage, computer failure or malfunction, or any and all
509
+ other commercial damages or losses), even if such Contributor
510
+ has been advised of the possibility of such damages.
511
+
512
+ 9. Accepting Warranty or Additional Liability. While redistributing
513
+ the Work or Derivative Works thereof, You may choose to offer,
514
+ and charge a fee for, acceptance of support, warranty, indemnity,
515
+ or other liability obligations and/or rights consistent with this
516
+ License. However, in accepting such obligations, You may act only
517
+ on Your own behalf and on Your sole responsibility, not on behalf
518
+ of any other Contributor, and only if You agree to indemnify,
519
+ defend, and hold each Contributor harmless for any liability
520
+ incurred by, or claims asserted against, such Contributor by reason
521
+ of your accepting any such warranty or additional liability.
522
+
523
+ END OF TERMS AND CONDITIONS
524
+
525
+ APPENDIX: How to apply the Apache License to your work.
526
+
527
+ To apply the Apache License to your work, attach the following
528
+ boilerplate notice, with the fields enclosed by brackets "[]"
529
+ replaced with your own identifying information. (Don't include
530
+ the brackets!) The text should be enclosed in the appropriate
531
+ comment syntax for the file format. We also recommend that a
532
+ file or class name and description of purpose be included on the
533
+ same "printed page" as the copyright notice for easier
534
+ identification within third-party archives.
535
+
536
+ Copyright [yyyy] [name of copyright owner]
537
+
538
+ Licensed under the Apache License, Version 2.0 (the "License");
539
+ you may not use this file except in compliance with the License.
540
+ You may obtain a copy of the License at
541
+
542
+ http://www.apache.org/licenses/LICENSE-2.0
543
+
544
+ Unless required by applicable law or agreed to in writing, software
545
+ distributed under the License is distributed on an "AS IS" BASIS,
546
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
547
+ See the License for the specific language governing permissions and
548
+ limitations under the License.
549
+
550
+
551
+
552
+
553
+ COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
554
+
555
+ 1. Definitions.
556
+
557
+ 1.1. Contributor means each individual or entity that creates or contributes to the creation of Modifications.
558
+
559
+ 1.2. Contributor Version means the combination of the Original Software, prior Modifications used by a Contributor (if any), and the Modifications made by that particular Contributor.
560
+
561
+ 1.3. Covered Software means (a) the Original Software, or (b) Modifications, or (c) the combination of files containing Original Software with files containing Modifications, in each case including portions thereof.
562
+
563
+ 1.4. Executable means the Covered Software in any form other than Source Code.
564
+
565
+ 1.5. Initial Developer means the individual or entity that first makes Original Software available under this License.
566
+
567
+ 1.6. Larger Work means a work which combines Covered Software or portions thereof with code not governed by the terms of this License.
568
+
569
+ 1.7. License means this document.
570
+
571
+ 1.8. Licensable means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein.
572
+
573
+ 1.9. Modifications means the Source Code and Executable form of any of the following:
574
+
575
+ A. Any file that results from an addition to, deletion from or modification of the contents of a file containing Original Software or previous Modifications;
576
+
577
+ B. Any new file that contains any part of the Original Software or previous Modification; or
578
+
579
+ C. Any new file that is contributed or otherwise made available under the terms of this License.
580
+
581
+ 1.10. Original Software means the Source Code and Executable form of computer software code that is originally released under this License.
582
+
583
+ 1.11. Patent Claims means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor.
584
+
585
+ 1.12. Source Code means (a) the common form of computer software code in which modifications are made and (b) associated documentation included in or with such code.
586
+
587
+ 1.13. You (or Your) means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, You includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, control means (a)�the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b)�ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity.
588
+
589
+ 2. License Grants.
590
+
591
+ 2.1. The Initial Developer Grant.
592
+ Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, the Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license:
593
+ (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer, to use, reproduce, modify, display, perform, sublicense and distribute the Original Software (or portions thereof), with or without Modifications, and/or as part of a Larger Work; and
594
+ (b) under Patent Claims infringed by the making, using or selling of Original Software, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Software (or portions thereof).
595
+ (c) The licenses granted in Sections�2.1(a) and (b) are effective on the date Initial Developer first distributes or otherwise makes the Original Software available to a third party under the terms of this License.
596
+ (d) Notwithstanding Section�2.1(b) above, no patent license is granted: (1)�for code that You delete from the Original Software, or (2)�for infringements caused by: (i)�the modification of the Original Software, or (ii)�the combination of the Original Software with other software or devices.
597
+
598
+ 2.2. Contributor Grant.
599
+ Conditioned upon Your compliance with Section 3.1 below and subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license:
600
+ (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof), either on an unmodified basis, with other Modifications, as Covered Software and/or as part of a Larger Work; and
601
+ (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: (1)�Modifications made by that Contributor (or portions thereof); and (2)�the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination).
602
+ (c) The licenses granted in Sections�2.2(a) and 2.2(b) are effective on the date Contributor first distributes or otherwise makes the Modifications available to a third party.
603
+ (d) Notwithstanding Section�2.2(b) above, no patent license is granted: (1)�for any code that Contributor has deleted from the Contributor Version; (2)�for infringements caused by: (i)�third party modifications of Contributor Version, or (ii)�the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or (3)�under Patent Claims infringed by Covered Software in the absence of Modifications made by that Contributor.
604
+
605
+ 3. Distribution Obligations.
606
+
607
+ 3.1. Availability of Source Code.
608
+
609
+ Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. You must include a copy of this License with every copy of the Source Code form of the Covered Software You distribute or otherwise make available. You must inform recipients of any such Covered Software in Executable form as to how they can obtain such Covered Software in Source Code form in a reasonable manner on or through a medium customarily used for software exchange.
610
+
611
+ 3.2. Modifications.
612
+
613
+ The Modifications that You create or to which You contribute are governed by the terms of this License. You represent that You believe Your Modifications are Your original creation(s) and/or You have sufficient rights to grant the rights conveyed by this License.
614
+
615
+ 3.3. Required Notices.
616
+ You must include a notice in each of Your Modifications that identifies You as the Contributor of the Modification. You may not remove or alter any copyright, patent or trademark notices contained within the Covered Software, or any notices of licensing or any descriptive text giving attribution to any Contributor or the Initial Developer.
617
+
618
+ 3.4. Application of Additional Terms.
619
+ You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License or the recipients rights hereunder. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, you may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear that any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer.
620
+
621
+ 3.5. Distribution of Executable Versions.
622
+ You may distribute the Executable form of the Covered Software under the terms of this License or under the terms of a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable form does not attempt to limit or alter the recipients rights in the Source Code form from the rights set forth in this License. If You distribute the Covered Software in Executable form under a different license, You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer.
623
+
624
+ 3.6. Larger Works.
625
+ You may create a Larger Work by combining Covered Software with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Software.
626
+
627
+ 4. Versions of the License.
628
+
629
+ 4.1. New Versions.
630
+ Sun Microsystems, Inc. is the initial license steward and may publish revised and/or new versions of this License from time to time. Each version will be given a distinguishing version number. Except as provided in Section 4.3, no one other than the license steward has the right to modify this License.
631
+
632
+ 4.2. Effect of New Versions.
633
+
634
+ You may always continue to use, distribute or otherwise make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. If the Initial Developer includes a notice in the Original Software prohibiting it from being distributed or otherwise made available under any subsequent version of the License, You must distribute and make the Covered Software available under the terms of the version of the License under which You originally received the Covered Software. Otherwise, You may also choose to use, distribute or otherwise make the Covered Software available under the terms of any subsequent version of the License published by the license steward.
635
+ 4.3. Modified Versions.
636
+
637
+ When You are an Initial Developer and You want to create a new license for Your Original Software, You may create and use a modified version of this License if You: (a)�rename the license and remove any references to the name of the license steward (except to note that the license differs from this License); and (b)�otherwise make it clear that the license contains terms which differ from this License.
638
+
639
+ 5. DISCLAIMER OF WARRANTY.
640
+
641
+ COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN AS IS BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
642
+
643
+ 6. TERMINATION.
644
+
645
+ 6.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive.
646
+
647
+ 6.2. If You assert a patent infringement claim (excluding declaratory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You assert such claim is referred to as Participant) alleging that the Participant Software (meaning the Contributor Version where the Participant is a Contributor or the Original Software where the Participant is the Initial Developer) directly or indirectly infringes any patent, then any and all rights granted directly or indirectly to You by such Participant, the Initial Developer (if the Initial Developer is not the Participant) and all Contributors under Sections�2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively and automatically at the expiration of such 60 day notice period, unless if within such 60 day period You withdraw Your claim with respect to the Participant Software against such Participant either unilaterally or pursuant to a written agreement with Participant.
648
+
649
+ 6.3. In the event of termination under Sections�6.1 or 6.2 above, all end user licenses that have been validly granted by You or any distributor hereunder prior to termination (excluding licenses granted to You by any distributor) shall survive termination.
650
+
651
+ 7. LIMITATION OF LIABILITY.
652
+
653
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTYS NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
654
+
655
+ 8. U.S. GOVERNMENT END USERS.
656
+
657
+ The Covered Software is a commercial item, as that term is defined in 48�C.F.R.�2.101 (Oct. 1995), consisting of commercial computer software (as that term is defined at 48 C.F.R. �252.227-7014(a)(1)) and commercial computer software documentation as such terms are used in 48�C.F.R.�12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software with only those rights set forth herein. This U.S. Government Rights clause is in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision that addresses Government rights in computer software under this License.
658
+
659
+ 9. MISCELLANEOUS.
660
+
661
+ This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by the law of the jurisdiction specified in a notice contained within the Original Software (except to the extent applicable law, if any, provides otherwise), excluding such jurisdictions conflict-of-law provisions. Any litigation relating to this License shall be subject to the jurisdiction of the courts located in the jurisdiction and venue specified in a notice contained within the Original Software, with the losing party responsible for costs, including, without limitation, court costs and reasonable attorneys fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. You agree that You alone are responsible for compliance with the United States export administration regulations (and the export control laws and regulation of any other countries) when You use, distribute or otherwise make available any Covered Software.
662
+
663
+ 10. RESPONSIBILITY FOR CLAIMS.
664
+
665
+ As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability.
666
+
667
+ NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
668
+ The GlassFish code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
669
+
670
+
671
+
672
+ ==============================================================
673
+ Cipango SIP Container
674
+ Copyright 2008 NEXCOM Systems
675
+ ==============================================================
676
+
677
+ This product includes some software developed at The Apache Software
678
+ Foundation (http://www.apache.org/).
679
+
680
+ The Jetty Web Container is copyright Mort Bay Consulting Pty Ltd and
681
+ distributed under Apache 2.0 licence.
682
+
683
+ The javax.servlet package used by Jetty is copyright
684
+ Sun Microsystems, Inc and Apache Software Foundation. It is
685
+ distributed under the Common Development and Distribution License.
686
+ You can obtain a copy of the license at
687
+ https://glassfish.dev.java.net/public/CDDLv1.0.html.
688
+
689
+ The default JSP implementation is provided by the Glassfish JSP engine
690
+ from project Glassfish http://glassfish.dev.java.net. Copyright 2005
691
+ Sun Microsystems, Inc. and portions Copyright Apache Software Foundation.
692
+
data/README.rdoc ADDED
@@ -0,0 +1,17 @@
1
+ = cipango-jars
2
+
3
+ Description goes here.
4
+
5
+ == Note on Patches/Pull Requests
6
+
7
+ * Fork the project.
8
+ * Make your feature addition or bug fix.
9
+ * Add tests for it. This is important so I don't break it in a
10
+ future version unintentionally.
11
+ * Commit, do not mess with rakefile, version, or history.
12
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
+ * Send me a pull request. Bonus points for topic branches.
14
+
15
+ == Copyright
16
+
17
+ Copyright (c) 2010 Dominique Broeglin. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,52 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "cipango-jars"
8
+ gem.summary = "Cipango and Jetty minimal dependencies"
9
+ gem.description = "Cipango and Jetty minimal dependencies"
10
+ gem.email = "dominique.broeglin@gmail.com"
11
+ gem.homepage = "http://github.com/dbroeglin/cipango-jars"
12
+ gem.authors = ["Dominique Broeglin"]
13
+ gem.files += Dir['lib/**/*.jar']
14
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
+ end
16
+ Jeweler::GemcutterTasks.new
17
+ rescue LoadError
18
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
+ end
20
+
21
+ task :default => :build
22
+
23
+ require 'rake/rdoctask'
24
+ Rake::RDocTask.new do |rdoc|
25
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
26
+
27
+ rdoc.rdoc_dir = 'rdoc'
28
+ rdoc.title = "cipango-jars #{version}"
29
+ rdoc.rdoc_files.include('README*')
30
+ rdoc.rdoc_files.include('lib/**/*.rb')
31
+ end
32
+
33
+ begin
34
+ require 'ant'
35
+ directory "pkg/classes"
36
+ task :compile => "pkg/classes" do |t|
37
+ ant.javac :srcdir => "ext", :destdir => t.prerequisites.first,
38
+ :source => "1.5", :target => "1.5", :debug => true,
39
+ :classpath => "${java.class.path}:${sun.boot.class.path}:" + Dir["lib/*.jar"].join(':')
40
+ end
41
+
42
+ task :jar => :compile do
43
+ ant.jar :basedir => "pkg/classes", :destfile => "lib/cipango-main-1.0.jar", :includes => "**/*.class"
44
+ end
45
+ rescue LoadError
46
+ task :jar do
47
+ puts "Run 'jar' with JRuby >= 1.5 to re-compile the java war booster"
48
+ end
49
+ end
50
+
51
+ namespace :gemspec do
52
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,57 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{cipango-jars}
8
+ s.version = "1.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Dominique Broeglin"]
12
+ s.date = %q{2010-10-18}
13
+ s.description = %q{Cipango and Jetty minimal dependencies}
14
+ s.email = %q{dominique.broeglin@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "cipango-jars.gemspec",
27
+ "ext/CipangoRunner.java",
28
+ "lib/cipango-1.0.jar",
29
+ "lib/cipango-jars.rb",
30
+ "lib/jetty-6.1.24.jar",
31
+ "lib/jetty-util-6.1.24.jar",
32
+ "lib/servlet-api-2.5-20081211.jar",
33
+ "lib/sip-api-1.1.jar",
34
+ "test/helper.rb",
35
+ "test/test_cipango-jars.rb"
36
+ ]
37
+ s.homepage = %q{http://github.com/dbroeglin/cipango-jars}
38
+ s.rdoc_options = ["--charset=UTF-8"]
39
+ s.require_paths = ["lib"]
40
+ s.rubygems_version = %q{1.3.7}
41
+ s.summary = %q{Cipango and Jetty minimal dependencies}
42
+ s.test_files = [
43
+ "test/helper.rb",
44
+ "test/test_cipango-jars.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ else
53
+ end
54
+ else
55
+ end
56
+ end
57
+
@@ -0,0 +1,46 @@
1
+ package org.cipango;
2
+
3
+ import org.cipango.Server;
4
+
5
+ import org.cipango.deployer.SipAppDeployer;
6
+ import org.cipango.handler.SipContextHandlerCollection;
7
+ import org.cipango.sip.SipConnector;
8
+ import org.cipango.sip.TcpConnector;
9
+ import org.cipango.sip.UdpConnector;
10
+ import org.cipango.sipapp.SipAppContext;
11
+ import org.mortbay.jetty.Connector;
12
+ import org.mortbay.jetty.bio.SocketConnector;
13
+ import org.mortbay.log.Log;
14
+
15
+
16
+ public class CipangoRunner {
17
+
18
+ public static final void main(String[] args) throws Exception {
19
+ Server server = new Server();
20
+
21
+ SipContextHandlerCollection contexts = new SipContextHandlerCollection();
22
+ server.setHandler(contexts);
23
+
24
+ UdpConnector udp = new UdpConnector();
25
+ TcpConnector tcp = new TcpConnector();
26
+
27
+ String sipHost = System.getProperty("sip.host", "0.0.0.0");
28
+ Integer sipPort = Integer.getInteger("sip.port", 5060);
29
+ udp.setHost(sipHost);
30
+ udp.setPort(sipPort);
31
+ tcp.setHost(sipHost);
32
+ tcp.setPort(sipPort);
33
+
34
+ server.getConnectorManager().setConnectors(new SipConnector[] {udp, tcp});
35
+
36
+ Connector connector=new SocketConnector();
37
+ connector.setHost(System.getProperty("http.host", "0.0.0.0"));
38
+ connector.setPort(Integer.getInteger("http.port", 8080));
39
+ server.setConnectors(new Connector[]{connector});
40
+
41
+ SipAppContext sipapp = new SipAppContext(args[0], "/");
42
+ contexts.addHandler(sipapp);
43
+
44
+ server.start();
45
+ }
46
+ }
Binary file
@@ -0,0 +1,30 @@
1
+ module CipangoJars
2
+ PATH = File.expand_path(File.dirname(__FILE__))
3
+
4
+ class << self
5
+ def all_jar_names
6
+ @all_jar_names ||= []
7
+ end
8
+
9
+ def all_jar_paths
10
+ @all_jar_paths ||= []
11
+ end
12
+
13
+ {
14
+ 'cipango' => '1.0',
15
+ 'cipango-dar' => '1.0',
16
+ 'sip-api' => '1.1',
17
+ 'jetty' => '6.1.24',
18
+ 'jetty-util' => '6.1.24',
19
+ 'servlet-api' => '2.5-20081211',
20
+ 'cipango-main' => '1.0'
21
+ }.each_pair do |name, version|
22
+ uname = name.gsub(/-/, '_')
23
+ jar_name = "#{name}-#{version}.jar"
24
+ jar_path = "#{PATH}/#{jar_name}"
25
+ define_method("#{uname}_jar_path") { jar_path }
26
+ CipangoJars.all_jar_names << jar_name
27
+ CipangoJars.all_jar_paths << jar_path
28
+ end
29
+ end
30
+ end
Binary file
Binary file
Binary file
Binary file
data/test/helper.rb ADDED
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+ require 'shoulda'
4
+
5
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
7
+ require 'cipango-jars'
8
+
9
+ class Test::Unit::TestCase
10
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestCipangoJars < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cipango-jars
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ version: 1.0.0
11
+ platform: ruby
12
+ authors:
13
+ - Dominique Broeglin
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-10-18 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Cipango and Jetty minimal dependencies
23
+ email: dominique.broeglin@gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - LICENSE
30
+ - README.rdoc
31
+ files:
32
+ - .document
33
+ - .gitignore
34
+ - LICENSE
35
+ - README.rdoc
36
+ - Rakefile
37
+ - VERSION
38
+ - cipango-jars.gemspec
39
+ - ext/CipangoRunner.java
40
+ - lib/cipango-1.0.jar
41
+ - lib/cipango-jars.rb
42
+ - lib/jetty-6.1.24.jar
43
+ - lib/jetty-util-6.1.24.jar
44
+ - lib/servlet-api-2.5-20081211.jar
45
+ - lib/sip-api-1.1.jar
46
+ - test/helper.rb
47
+ - test/test_cipango-jars.rb
48
+ has_rdoc: true
49
+ homepage: http://github.com/dbroeglin/cipango-jars
50
+ licenses: []
51
+
52
+ post_install_message:
53
+ rdoc_options:
54
+ - --charset=UTF-8
55
+ require_paths:
56
+ - lib
57
+ required_ruby_version: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ hash: 3
63
+ segments:
64
+ - 0
65
+ version: "0"
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ hash: 3
72
+ segments:
73
+ - 0
74
+ version: "0"
75
+ requirements: []
76
+
77
+ rubyforge_project:
78
+ rubygems_version: 1.3.7
79
+ signing_key:
80
+ specification_version: 3
81
+ summary: Cipango and Jetty minimal dependencies
82
+ test_files:
83
+ - test/helper.rb
84
+ - test/test_cipango-jars.rb