Shawn Pearce | fd6bb9f | 2013-05-08 14:14:24 -0700 | [diff] [blame] | 1 | Prolog Cafe (A Prolog to Java Translator System) |
| 2 | Copyright (C) 1997-2009 by Mutsunori Banbara and Naoyuki Tamura |
| 3 | |
| 4 | Prolog Cafe is free software; you can redistribute it and/or modify |
| 5 | it under the terms of either: |
| 6 | |
| 7 | * the GNU General Public License as published by the Free Software |
| 8 | Foundation; either version 2 of the License, or (at your option) |
| 9 | any later version, or |
| 10 | |
| 11 | * the Eclipse Public License |
| 12 | ---- |
| 13 | |
Shawn Pearce | c0e65f7 | 2013-05-13 09:44:25 -0700 | [diff] [blame] | 14 | In the context of Gerrit Code Review, Prolog Cafe is consumed under |
| 15 | the <<prologcafe_EPL,EPL>>. Gerrit Code Review uses a fork derived |
| 16 | from the 1.2.5 release and offers the corresponding source code at |
| 17 | link:https://gerrit.googlesource.com/prolog-cafe[]. |
| 18 | |
Shawn Pearce | fd6bb9f | 2013-05-08 14:14:24 -0700 | [diff] [blame] | 19 | ---- |
| 20 | GNU GENERAL PUBLIC LICENSE |
| 21 | Version 2, June 1991 |
| 22 | |
| 23 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., |
| 24 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 25 | Everyone is permitted to copy and distribute verbatim copies |
| 26 | of this license document, but changing it is not allowed. |
| 27 | |
| 28 | Preamble |
| 29 | |
| 30 | The licenses for most software are designed to take away your |
| 31 | freedom to share and change it. By contrast, the GNU General Public |
| 32 | License is intended to guarantee your freedom to share and change free |
| 33 | software--to make sure the software is free for all its users. This |
| 34 | General Public License applies to most of the Free Software |
| 35 | Foundation's software and to any other program whose authors commit to |
| 36 | using it. (Some other Free Software Foundation software is covered by |
| 37 | the GNU Lesser General Public License instead.) You can apply it to |
| 38 | your programs, too. |
| 39 | |
| 40 | When we speak of free software, we are referring to freedom, not |
| 41 | price. Our General Public Licenses are designed to make sure that you |
| 42 | have the freedom to distribute copies of free software (and charge for |
| 43 | this service if you wish), that you receive source code or can get it |
| 44 | if you want it, that you can change the software or use pieces of it |
| 45 | in new free programs; and that you know you can do these things. |
| 46 | |
| 47 | To protect your rights, we need to make restrictions that forbid |
| 48 | anyone to deny you these rights or to ask you to surrender the rights. |
| 49 | These restrictions translate to certain responsibilities for you if you |
| 50 | distribute copies of the software, or if you modify it. |
| 51 | |
| 52 | For example, if you distribute copies of such a program, whether |
| 53 | gratis or for a fee, you must give the recipients all the rights that |
| 54 | you have. You must make sure that they, too, receive or can get the |
| 55 | source code. And you must show them these terms so they know their |
| 56 | rights. |
| 57 | |
| 58 | We protect your rights with two steps: (1) copyright the software, and |
| 59 | (2) offer you this license which gives you legal permission to copy, |
| 60 | distribute and/or modify the software. |
| 61 | |
| 62 | Also, for each author's protection and ours, we want to make certain |
| 63 | that everyone understands that there is no warranty for this free |
| 64 | software. If the software is modified by someone else and passed on, we |
| 65 | want its recipients to know that what they have is not the original, so |
| 66 | that any problems introduced by others will not reflect on the original |
| 67 | authors' reputations. |
| 68 | |
| 69 | Finally, any free program is threatened constantly by software |
| 70 | patents. We wish to avoid the danger that redistributors of a free |
| 71 | program will individually obtain patent licenses, in effect making the |
| 72 | program proprietary. To prevent this, we have made it clear that any |
| 73 | patent must be licensed for everyone's free use or not licensed at all. |
| 74 | |
| 75 | The precise terms and conditions for copying, distribution and |
| 76 | modification follow. |
| 77 | |
| 78 | GNU GENERAL PUBLIC LICENSE |
| 79 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 80 | |
| 81 | 0. This License applies to any program or other work which contains |
| 82 | a notice placed by the copyright holder saying it may be distributed |
| 83 | under the terms of this General Public License. The "Program", below, |
| 84 | refers to any such program or work, and a "work based on the Program" |
| 85 | means either the Program or any derivative work under copyright law: |
| 86 | that is to say, a work containing the Program or a portion of it, |
| 87 | either verbatim or with modifications and/or translated into another |
| 88 | language. (Hereinafter, translation is included without limitation in |
| 89 | the term "modification".) Each licensee is addressed as "you". |
| 90 | |
| 91 | Activities other than copying, distribution and modification are not |
| 92 | covered by this License; they are outside its scope. The act of |
| 93 | running the Program is not restricted, and the output from the Program |
| 94 | is covered only if its contents constitute a work based on the |
| 95 | Program (independent of having been made by running the Program). |
| 96 | Whether that is true depends on what the Program does. |
| 97 | |
| 98 | 1. You may copy and distribute verbatim copies of the Program's |
| 99 | source code as you receive it, in any medium, provided that you |
| 100 | conspicuously and appropriately publish on each copy an appropriate |
| 101 | copyright notice and disclaimer of warranty; keep intact all the |
| 102 | notices that refer to this License and to the absence of any warranty; |
| 103 | and give any other recipients of the Program a copy of this License |
| 104 | along with the Program. |
| 105 | |
| 106 | You may charge a fee for the physical act of transferring a copy, and |
| 107 | you may at your option offer warranty protection in exchange for a fee. |
| 108 | |
| 109 | 2. You may modify your copy or copies of the Program or any portion |
| 110 | of it, thus forming a work based on the Program, and copy and |
| 111 | distribute such modifications or work under the terms of Section 1 |
| 112 | above, provided that you also meet all of these conditions: |
| 113 | |
| 114 | a) You must cause the modified files to carry prominent notices |
| 115 | stating that you changed the files and the date of any change. |
| 116 | |
| 117 | b) You must cause any work that you distribute or publish, that in |
| 118 | whole or in part contains or is derived from the Program or any |
| 119 | part thereof, to be licensed as a whole at no charge to all third |
| 120 | parties under the terms of this License. |
| 121 | |
| 122 | c) If the modified program normally reads commands interactively |
| 123 | when run, you must cause it, when started running for such |
| 124 | interactive use in the most ordinary way, to print or display an |
| 125 | announcement including an appropriate copyright notice and a |
| 126 | notice that there is no warranty (or else, saying that you provide |
| 127 | a warranty) and that users may redistribute the program under |
| 128 | these conditions, and telling the user how to view a copy of this |
| 129 | License. (Exception: if the Program itself is interactive but |
| 130 | does not normally print such an announcement, your work based on |
| 131 | the Program is not required to print an announcement.) |
| 132 | |
| 133 | These requirements apply to the modified work as a whole. If |
| 134 | identifiable sections of that work are not derived from the Program, |
| 135 | and can be reasonably considered independent and separate works in |
| 136 | themselves, then this License, and its terms, do not apply to those |
| 137 | sections when you distribute them as separate works. But when you |
| 138 | distribute the same sections as part of a whole which is a work based |
| 139 | on the Program, the distribution of the whole must be on the terms of |
| 140 | this License, whose permissions for other licensees extend to the |
| 141 | entire whole, and thus to each and every part regardless of who wrote it. |
| 142 | |
| 143 | Thus, it is not the intent of this section to claim rights or contest |
| 144 | your rights to work written entirely by you; rather, the intent is to |
| 145 | exercise the right to control the distribution of derivative or |
| 146 | collective works based on the Program. |
| 147 | |
| 148 | In addition, mere aggregation of another work not based on the Program |
| 149 | with the Program (or with a work based on the Program) on a volume of |
| 150 | a storage or distribution medium does not bring the other work under |
| 151 | the scope of this License. |
| 152 | |
| 153 | 3. You may copy and distribute the Program (or a work based on it, |
| 154 | under Section 2) in object code or executable form under the terms of |
| 155 | Sections 1 and 2 above provided that you also do one of the following: |
| 156 | |
| 157 | a) Accompany it with the complete corresponding machine-readable |
| 158 | source code, which must be distributed under the terms of Sections |
| 159 | 1 and 2 above on a medium customarily used for software interchange; or, |
| 160 | |
| 161 | b) Accompany it with a written offer, valid for at least three |
| 162 | years, to give any third party, for a charge no more than your |
| 163 | cost of physically performing source distribution, a complete |
| 164 | machine-readable copy of the corresponding source code, to be |
| 165 | distributed under the terms of Sections 1 and 2 above on a medium |
| 166 | customarily used for software interchange; or, |
| 167 | |
| 168 | c) Accompany it with the information you received as to the offer |
| 169 | to distribute corresponding source code. (This alternative is |
| 170 | allowed only for noncommercial distribution and only if you |
| 171 | received the program in object code or executable form with such |
| 172 | an offer, in accord with Subsection b above.) |
| 173 | |
| 174 | The source code for a work means the preferred form of the work for |
| 175 | making modifications to it. For an executable work, complete source |
| 176 | code means all the source code for all modules it contains, plus any |
| 177 | associated interface definition files, plus the scripts used to |
| 178 | control compilation and installation of the executable. However, as a |
| 179 | special exception, the source code distributed need not include |
| 180 | anything that is normally distributed (in either source or binary |
| 181 | form) with the major components (compiler, kernel, and so on) of the |
| 182 | operating system on which the executable runs, unless that component |
| 183 | itself accompanies the executable. |
| 184 | |
| 185 | If distribution of executable or object code is made by offering |
| 186 | access to copy from a designated place, then offering equivalent |
| 187 | access to copy the source code from the same place counts as |
| 188 | distribution of the source code, even though third parties are not |
| 189 | compelled to copy the source along with the object code. |
| 190 | |
| 191 | 4. You may not copy, modify, sublicense, or distribute the Program |
| 192 | except as expressly provided under this License. Any attempt |
| 193 | otherwise to copy, modify, sublicense or distribute the Program is |
| 194 | void, and will automatically terminate your rights under this License. |
| 195 | However, parties who have received copies, or rights, from you under |
| 196 | this License will not have their licenses terminated so long as such |
| 197 | parties remain in full compliance. |
| 198 | |
| 199 | 5. You are not required to accept this License, since you have not |
| 200 | signed it. However, nothing else grants you permission to modify or |
| 201 | distribute the Program or its derivative works. These actions are |
| 202 | prohibited by law if you do not accept this License. Therefore, by |
| 203 | modifying or distributing the Program (or any work based on the |
| 204 | Program), you indicate your acceptance of this License to do so, and |
| 205 | all its terms and conditions for copying, distributing or modifying |
| 206 | the Program or works based on it. |
| 207 | |
| 208 | 6. Each time you redistribute the Program (or any work based on the |
| 209 | Program), the recipient automatically receives a license from the |
| 210 | original licensor to copy, distribute or modify the Program subject to |
| 211 | these terms and conditions. You may not impose any further |
| 212 | restrictions on the recipients' exercise of the rights granted herein. |
| 213 | You are not responsible for enforcing compliance by third parties to |
| 214 | this License. |
| 215 | |
| 216 | 7. If, as a consequence of a court judgment or allegation of patent |
| 217 | infringement or for any other reason (not limited to patent issues), |
| 218 | conditions are imposed on you (whether by court order, agreement or |
| 219 | otherwise) that contradict the conditions of this License, they do not |
| 220 | excuse you from the conditions of this License. If you cannot |
| 221 | distribute so as to satisfy simultaneously your obligations under this |
| 222 | License and any other pertinent obligations, then as a consequence you |
| 223 | may not distribute the Program at all. For example, if a patent |
| 224 | license would not permit royalty-free redistribution of the Program by |
| 225 | all those who receive copies directly or indirectly through you, then |
| 226 | the only way you could satisfy both it and this License would be to |
| 227 | refrain entirely from distribution of the Program. |
| 228 | |
| 229 | If any portion of this section is held invalid or unenforceable under |
| 230 | any particular circumstance, the balance of the section is intended to |
| 231 | apply and the section as a whole is intended to apply in other |
| 232 | circumstances. |
| 233 | |
| 234 | It is not the purpose of this section to induce you to infringe any |
| 235 | patents or other property right claims or to contest validity of any |
| 236 | such claims; this section has the sole purpose of protecting the |
| 237 | integrity of the free software distribution system, which is |
| 238 | implemented by public license practices. Many people have made |
| 239 | generous contributions to the wide range of software distributed |
| 240 | through that system in reliance on consistent application of that |
| 241 | system; it is up to the author/donor to decide if he or she is willing |
| 242 | to distribute software through any other system and a licensee cannot |
| 243 | impose that choice. |
| 244 | |
| 245 | This section is intended to make thoroughly clear what is believed to |
| 246 | be a consequence of the rest of this License. |
| 247 | |
| 248 | 8. If the distribution and/or use of the Program is restricted in |
| 249 | certain countries either by patents or by copyrighted interfaces, the |
| 250 | original copyright holder who places the Program under this License |
| 251 | may add an explicit geographical distribution limitation excluding |
| 252 | those countries, so that distribution is permitted only in or among |
| 253 | countries not thus excluded. In such case, this License incorporates |
| 254 | the limitation as if written in the body of this License. |
| 255 | |
| 256 | 9. The Free Software Foundation may publish revised and/or new versions |
| 257 | of the General Public License from time to time. Such new versions will |
| 258 | be similar in spirit to the present version, but may differ in detail to |
| 259 | address new problems or concerns. |
| 260 | |
| 261 | Each version is given a distinguishing version number. If the Program |
| 262 | specifies a version number of this License which applies to it and "any |
| 263 | later version", you have the option of following the terms and conditions |
| 264 | either of that version or of any later version published by the Free |
| 265 | Software Foundation. If the Program does not specify a version number of |
| 266 | this License, you may choose any version ever published by the Free Software |
| 267 | Foundation. |
| 268 | |
| 269 | 10. If you wish to incorporate parts of the Program into other free |
| 270 | programs whose distribution conditions are different, write to the author |
| 271 | to ask for permission. For software which is copyrighted by the Free |
| 272 | Software Foundation, write to the Free Software Foundation; we sometimes |
| 273 | make exceptions for this. Our decision will be guided by the two goals |
| 274 | of preserving the free status of all derivatives of our free software and |
| 275 | of promoting the sharing and reuse of software generally. |
| 276 | |
| 277 | NO WARRANTY |
| 278 | |
| 279 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
| 280 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
| 281 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
| 282 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
| 283 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 284 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
| 285 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
| 286 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
| 287 | REPAIR OR CORRECTION. |
| 288 | |
| 289 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
| 290 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
| 291 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
| 292 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
| 293 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
| 294 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
| 295 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
| 296 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
| 297 | POSSIBILITY OF SUCH DAMAGES. |
| 298 | |
| 299 | END OF TERMS AND CONDITIONS |
| 300 | |
| 301 | How to Apply These Terms to Your New Programs |
| 302 | |
| 303 | If you develop a new program, and you want it to be of the greatest |
| 304 | possible use to the public, the best way to achieve this is to make it |
| 305 | free software which everyone can redistribute and change under these terms. |
| 306 | |
| 307 | To do so, attach the following notices to the program. It is safest |
| 308 | to attach them to the start of each source file to most effectively |
| 309 | convey the exclusion of warranty; and each file should have at least |
| 310 | the "copyright" line and a pointer to where the full notice is found. |
| 311 | |
| 312 | <one line to give the program's name and a brief idea of what it does.> |
| 313 | Copyright (C) <year> <name of author> |
| 314 | |
| 315 | This program is free software; you can redistribute it and/or modify |
| 316 | it under the terms of the GNU General Public License as published by |
| 317 | the Free Software Foundation; either version 2 of the License, or |
| 318 | (at your option) any later version. |
| 319 | |
| 320 | This program is distributed in the hope that it will be useful, |
| 321 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 322 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 323 | GNU General Public License for more details. |
| 324 | |
| 325 | You should have received a copy of the GNU General Public License along |
| 326 | with this program; if not, write to the Free Software Foundation, Inc., |
| 327 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 328 | |
| 329 | Also add information on how to contact you by electronic and paper mail. |
| 330 | |
| 331 | If the program is interactive, make it output a short notice like this |
| 332 | when it starts in an interactive mode: |
| 333 | |
| 334 | Gnomovision version 69, Copyright (C) year name of author |
| 335 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
| 336 | This is free software, and you are welcome to redistribute it |
| 337 | under certain conditions; type `show c' for details. |
| 338 | |
| 339 | The hypothetical commands `show w' and `show c' should show the appropriate |
| 340 | parts of the General Public License. Of course, the commands you use may |
| 341 | be called something other than `show w' and `show c'; they could even be |
| 342 | mouse-clicks or menu items--whatever suits your program. |
| 343 | |
| 344 | You should also get your employer (if you work as a programmer) or your |
| 345 | school, if any, to sign a "copyright disclaimer" for the program, if |
| 346 | necessary. Here is a sample; alter the names: |
| 347 | |
| 348 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
| 349 | `Gnomovision' (which makes passes at compilers) written by James Hacker. |
| 350 | |
| 351 | <signature of Ty Coon>, 1 April 1989 |
| 352 | Ty Coon, President of Vice |
| 353 | |
| 354 | This General Public License does not permit incorporating your program into |
| 355 | proprietary programs. If your program is a subroutine library, you may |
| 356 | consider it more useful to permit linking proprietary applications with the |
| 357 | library. If this is what you want to do, use the GNU Lesser General |
| 358 | Public License instead of this License. |
| 359 | ---- |
| 360 | |
Shawn Pearce | c0e65f7 | 2013-05-13 09:44:25 -0700 | [diff] [blame] | 361 | [[prologcafe_EPL]] |
Shawn Pearce | fd6bb9f | 2013-05-08 14:14:24 -0700 | [diff] [blame] | 362 | ---- |
| 363 | Eclipse Public License - v 1.0 |
| 364 | |
| 365 | THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE |
| 366 | PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION |
| 367 | OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. |
| 368 | |
| 369 | 1. DEFINITIONS |
| 370 | |
| 371 | "Contribution" means: |
| 372 | |
| 373 | a) in the case of the initial Contributor, the initial code and |
| 374 | documentation distributed under this Agreement, and |
| 375 | b) in the case of each subsequent Contributor: |
| 376 | |
| 377 | i) changes to the Program, and |
| 378 | |
| 379 | ii) additions to the Program; |
| 380 | |
| 381 | where such changes and/or additions to the Program originate from |
| 382 | and are distributed by that particular Contributor. A Contribution |
| 383 | 'originates' from a Contributor if it was added to the Program |
| 384 | by such Contributor itself or anyone acting on such Contributor's |
| 385 | behalf. Contributions do not include additions to the Program which: |
| 386 | (i) are separate modules of software distributed in conjunction |
| 387 | with the Program under their own license agreement, and (ii) are |
| 388 | not derivative works of the Program. |
| 389 | |
| 390 | "Contributor" means any person or entity that distributes the Program. |
| 391 | |
| 392 | "Licensed Patents " mean patent claims licensable by a Contributor |
| 393 | which are necessarily infringed by the use or sale of its |
| 394 | Contribution alone or when combined with the Program. |
| 395 | |
| 396 | "Program" means the Contributions distributed in accordance with |
| 397 | this Agreement. |
| 398 | |
| 399 | "Recipient" means anyone who receives the Program under this |
| 400 | Agreement, including all Contributors. |
| 401 | |
| 402 | 2. GRANT OF RIGHTS |
| 403 | |
| 404 | a) Subject to the terms of this Agreement, each Contributor hereby |
| 405 | grants Recipient a non-exclusive, worldwide, royalty-free copyright |
| 406 | license to reproduce, prepare derivative works of, publicly display, |
| 407 | publicly perform, distribute and sublicense the Contribution of such |
| 408 | Contributor, if any, and such derivative works, in source code and |
| 409 | object code form. |
| 410 | |
| 411 | b) Subject to the terms of this Agreement, each Contributor hereby |
| 412 | grants Recipient a non-exclusive, worldwide, royalty-free patent |
| 413 | license under Licensed Patents to make, use, sell, offer to sell, |
| 414 | import and otherwise transfer the Contribution of such Contributor, |
| 415 | if any, in source code and object code form. This patent license |
| 416 | shall apply to the combination of the Contribution and the Program |
| 417 | if, at the time the Contribution is added by the Contributor, such |
| 418 | addition of the Contribution causes such combination to be covered |
| 419 | by the Licensed Patents. The patent license shall not apply to any |
| 420 | other combinations which include the Contribution. No hardware per |
| 421 | se is licensed hereunder. |
| 422 | |
| 423 | c) Recipient understands that although each Contributor grants the |
| 424 | licenses to its Contributions set forth herein, no assurances are |
| 425 | provided by any Contributor that the Program does not infringe |
| 426 | the patent or other intellectual property rights of any other |
| 427 | entity. Each Contributor disclaims any liability to Recipient |
| 428 | for claims brought by any other entity based on infringement |
| 429 | of intellectual property rights or otherwise. As a condition to |
| 430 | exercising the rights and licenses granted hereunder, each Recipient |
| 431 | hereby assumes sole responsibility to secure any other intellectual |
| 432 | property rights needed, if any. For example, if a third party patent |
| 433 | license is required to allow Recipient to distribute the Program, |
| 434 | it is Recipient's responsibility to acquire that license before |
| 435 | distributing the Program. |
| 436 | |
| 437 | d) Each Contributor represents that to its knowledge it has |
| 438 | sufficient copyright rights in its Contribution, if any, to grant |
| 439 | the copyright license set forth in this Agreement. |
| 440 | |
| 441 | 3. REQUIREMENTS |
| 442 | |
| 443 | A Contributor may choose to distribute the Program in object code |
| 444 | form under its own license agreement, provided that: |
| 445 | |
| 446 | a) it complies with the terms and conditions of this Agreement; and |
| 447 | |
| 448 | b) its license agreement: |
| 449 | |
| 450 | i) effectively disclaims on behalf of all Contributors all warranties |
| 451 | and conditions, express and implied, including warranties or |
| 452 | conditions of title and non-infringement, and implied warranties or |
| 453 | conditions of merchantability and fitness for a particular purpose; |
| 454 | |
| 455 | ii) effectively excludes on behalf of all Contributors all liability |
| 456 | for damages, including direct, indirect, special, incidental and |
| 457 | consequential damages, such as lost profits; |
| 458 | |
| 459 | iii) states that any provisions which differ from this Agreement |
| 460 | are offered by that Contributor alone and not by any other |
| 461 | party; and |
| 462 | |
| 463 | iv) states that source code for the Program is available from such |
| 464 | Contributor, and informs licensees how to obtain it in a reasonable |
| 465 | manner on or through a medium customarily used for software exchange. |
| 466 | |
| 467 | When the Program is made available in source code form: |
| 468 | |
| 469 | a) it must be made available under this Agreement; and |
| 470 | |
| 471 | b) a copy of this Agreement must be included with each copy of the Program. |
| 472 | |
| 473 | Contributors may not remove or alter any copyright notices contained |
| 474 | within the Program. |
| 475 | |
| 476 | Each Contributor must identify itself as the originator of its |
| 477 | Contribution, if any, in a manner that reasonably allows subsequent |
| 478 | Recipients to identify the originator of the Contribution. |
| 479 | |
| 480 | 4. COMMERCIAL DISTRIBUTION |
| 481 | |
| 482 | Commercial distributors of software may accept certain |
| 483 | responsibilities with respect to end users, business partners and the |
| 484 | like. While this license is intended to facilitate the commercial |
| 485 | use of the Program, the Contributor who includes the Program in a |
| 486 | commercial product offering should do so in a manner which does not |
| 487 | create potential liability for other Contributors. Therefore, if a |
| 488 | Contributor includes the Program in a commercial product offering, |
| 489 | such Contributor ("Commercial Contributor") hereby agrees to defend |
| 490 | and indemnify every other Contributor ("Indemnified Contributor") |
| 491 | against any losses, damages and costs (collectively "Losses") arising |
| 492 | from claims, lawsuits and other legal actions brought by a third |
| 493 | party against the Indemnified Contributor to the extent caused by |
| 494 | the acts or omissions of such Commercial Contributor in connection |
| 495 | with its distribution of the Program in a commercial product |
| 496 | offering. The obligations in this section do not apply to any claims |
| 497 | or Losses relating to any actual or alleged intellectual property |
| 498 | infringement. In order to qualify, an Indemnified Contributor must: |
| 499 | a) promptly notify the Commercial Contributor in writing of such |
| 500 | claim, and b) allow the Commercial Contributor to control, and |
| 501 | cooperate with the Commercial Contributor in, the defense and any |
| 502 | related settlement negotiations. The Indemnified Contributor may |
| 503 | participate in any such claim at its own expense. |
| 504 | |
| 505 | For example, a Contributor might include the Program in a |
| 506 | commercial product offering, Product X. That Contributor is then a |
| 507 | Commercial Contributor. If that Commercial Contributor then makes |
| 508 | performance claims, or offers warranties related to Product X, those |
| 509 | performance claims and warranties are such Commercial Contributor's |
| 510 | responsibility alone. Under this section, the Commercial Contributor |
| 511 | would have to defend claims against the other Contributors related |
| 512 | to those performance claims and warranties, and if a court requires |
| 513 | any other Contributor to pay any damages as a result, the Commercial |
| 514 | Contributor must pay those damages. |
| 515 | |
| 516 | 5. NO WARRANTY |
| 517 | |
| 518 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS |
| 519 | PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 520 | KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY |
| 521 | WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY |
| 522 | OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely |
| 523 | responsible for determining the appropriateness of using and |
| 524 | distributing the Program and assumes all risks associated with |
| 525 | its exercise of rights under this Agreement , including but not |
| 526 | limited to the risks and costs of program errors, compliance with |
| 527 | applicable laws, damage to or loss of data, programs or equipment, |
| 528 | and unavailability or interruption of operations. |
| 529 | |
| 530 | 6. DISCLAIMER OF LIABILITY |
| 531 | |
| 532 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT |
| 533 | NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, |
| 534 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 535 | (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| 536 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 537 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
| 538 | OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY |
| 539 | RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 540 | SUCH DAMAGES. |
| 541 | |
| 542 | 7. GENERAL |
| 543 | |
| 544 | If any provision of this Agreement is invalid or unenforceable under |
| 545 | applicable law, it shall not affect the validity or enforceability of |
| 546 | the remainder of the terms of this Agreement, and without further |
| 547 | action by the parties hereto, such provision shall be reformed |
| 548 | to the minimum extent necessary to make such provision valid and |
| 549 | enforceable. |
| 550 | |
| 551 | If Recipient institutes patent litigation against any entity |
| 552 | (including a cross-claim or counterclaim in a lawsuit) alleging |
| 553 | that the Program itself (excluding combinations of the Program with |
| 554 | other software or hardware) infringes such Recipient's patent(s), |
| 555 | then such Recipient's rights granted under Section 2(b) shall |
| 556 | terminate as of the date such litigation is filed. |
| 557 | |
| 558 | All Recipient's rights under this Agreement shall terminate if |
| 559 | it fails to comply with any of the material terms or conditions |
| 560 | of this Agreement and does not cure such failure in a reasonable |
| 561 | period of time after becoming aware of such noncompliance. If all |
| 562 | Recipient's rights under this Agreement terminate, Recipient agrees |
| 563 | to cease use and distribution of the Program as soon as reasonably |
| 564 | practicable. However, Recipient's obligations under this Agreement |
| 565 | and any licenses granted by Recipient relating to the Program shall |
| 566 | continue and survive. |
| 567 | |
| 568 | Everyone is permitted to copy and distribute copies of this |
| 569 | Agreement, but in order to avoid inconsistency the Agreement is |
| 570 | copyrighted and may only be modified in the following manner. The |
| 571 | Agreement Steward reserves the right to publish new versions |
| 572 | (including revisions) of this Agreement from time to time. No |
| 573 | one other than the Agreement Steward has the right to modify |
| 574 | this Agreement. The Eclipse Foundation is the initial Agreement |
| 575 | Steward. The Eclipse Foundation may assign the responsibility to |
| 576 | serve as the Agreement Steward to a suitable separate entity. Each |
| 577 | new version of the Agreement will be given a distinguishing |
| 578 | version number. The Program (including Contributions) may always be |
| 579 | distributed subject to the version of the Agreement under which it |
| 580 | was received. In addition, after a new version of the Agreement is |
| 581 | published, Contributor may elect to distribute the Program (including |
| 582 | its Contributions) under the new version. Except as expressly stated |
| 583 | in Sections 2(a) and 2(b) above, Recipient receives no rights or |
| 584 | licenses to the intellectual property of any Contributor under |
| 585 | this Agreement, whether expressly, by implication, estoppel or |
| 586 | otherwise. All rights in the Program not expressly granted under |
| 587 | this Agreement are reserved. |
| 588 | |
| 589 | This Agreement is governed by the laws of the State of New York and |
| 590 | the intellectual property laws of the United States of America. No |
| 591 | party to this Agreement will bring a legal action under this |
| 592 | Agreement more than one year after the cause of action arose. Each |
| 593 | party waives its rights to a jury trial in any resulting litigation. |