1*4882a593Smuzhiyun 2*4882a593SmuzhiyunIBM Public License Version 1.0 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunTHE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM 5*4882a593SmuzhiyunPUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION 6*4882a593SmuzhiyunOF THE PROGRAM CONSTITUTES RECIPIENT`S ACCEPTANCE OF THIS AGREEMENT. 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun1. DEFINITIONS 9*4882a593Smuzhiyun"Contribution" means: 10*4882a593Smuzhiyun 11*4882a593Smuzhiyunin the case of International Business Machines Corporation ("IBM"), the Original Program, and 12*4882a593Smuzhiyunin the case of each Contributor, 13*4882a593Smuzhiyunchanges to the Program, and 14*4882a593Smuzhiyunadditions to the Program; 15*4882a593Smuzhiyunwhere such changes and/or additions to the Program originate from and 16*4882a593Smuzhiyunare distributed by that particular Contributor. A Contribution 17*4882a593Smuzhiyun`originates` from a Contributor if it was added to the Program by 18*4882a593Smuzhiyunsuch Contributor itself or anyone acting on such Contributor`s 19*4882a593Smuzhiyunbehalf. Contributions do not include additions to the Program which: 20*4882a593Smuzhiyun(i) are separate modules of software distributed in conjunction with 21*4882a593Smuzhiyunthe Program under their own license agreement, and (ii) are not 22*4882a593Smuzhiyunderivative works of the Program. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun"Contributor" means IBM and any other entity that distributes the Program. 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun"Licensed Patents " mean patent claims licensable by a 27*4882a593SmuzhiyunContributor which are necessarily infringed by the use or sale of its 28*4882a593SmuzhiyunContribution alone or when combined with the Program. 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun"Original Program" means the original version of the software 31*4882a593Smuzhiyunaccompanying this Agreement as released by IBM, including source 32*4882a593Smuzhiyuncode, object code and documentation, if any. 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun"Program" means the Original Program and Contributions. 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun"Recipient" means anyone who receives the Program under this 37*4882a593SmuzhiyunAgreement, including all Contributors. 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun2. GRANT OF RIGHTS 40*4882a593SmuzhiyunSubject to the terms of this Agreement, each Contributor hereby 41*4882a593Smuzhiyungrants Recipient a non-exclusive, worldwide, royalty-free copyright 42*4882a593Smuzhiyunlicense to reproduce, prepare derivative works of, publicly display, 43*4882a593Smuzhiyunpublicly perform, distribute and sublicense the Contribution of such 44*4882a593SmuzhiyunContributor, if any, and such derivative works, in source code and 45*4882a593Smuzhiyunobject code form. 46*4882a593SmuzhiyunSubject to the terms of this Agreement, each Contributor hereby 47*4882a593Smuzhiyungrants Recipient a non-exclusive, worldwide, royalty-free patent 48*4882a593Smuzhiyunlicense under Licensed Patents to make, use, sell, offer to sell, 49*4882a593Smuzhiyunimport and otherwise transfer the Contribution of such Contributor, 50*4882a593Smuzhiyunif any, in source code and object code form. This patent license 51*4882a593Smuzhiyunshall apply to the combination of the Contribution and the Program 52*4882a593Smuzhiyunif, at the time the Contribution is added by the Contributor, such 53*4882a593Smuzhiyunaddition of the Contribution causes such combination to be covered by 54*4882a593Smuzhiyunthe Licensed Patents. The patent license shall not apply to any 55*4882a593Smuzhiyunother combinations which include the Contribution. No hardware per 56*4882a593Smuzhiyunse is licensed hereunder. 57*4882a593Smuzhiyun 58*4882a593SmuzhiyunRecipient understands that although each Contributor grants the 59*4882a593Smuzhiyunlicenses to its Contributions set forth herein, no assurances are 60*4882a593Smuzhiyunprovided by any Contributor that the Program does not infringe the 61*4882a593Smuzhiyunpatent or other intellectual property rights of any other entity. 62*4882a593SmuzhiyunEach Contributor disclaims any liability to Recipient for claims 63*4882a593Smuzhiyunbrought by any other entity based on infringement of intellectual 64*4882a593Smuzhiyunproperty rights or otherwise. As a condition to exercising the 65*4882a593Smuzhiyunrights and licenses granted hereunder, each Recipient hereby assumes 66*4882a593Smuzhiyunsole responsibility to secure any other intellectual property rights 67*4882a593Smuzhiyunneeded, if any. For example, if a third party patent license is 68*4882a593Smuzhiyunrequired to allow Recipient to distribute the Program, it is 69*4882a593SmuzhiyunRecipient`s responsibility to acquire that license before 70*4882a593Smuzhiyundistributing the Program. 71*4882a593SmuzhiyunEach Contributor represents that to its knowledge it has 72*4882a593Smuzhiyunsufficient copyright rights in its Contribution, if any, to grant the 73*4882a593Smuzhiyuncopyright license set forth in this Agreement. 74*4882a593Smuzhiyun3. REQUIREMENTS 75*4882a593SmuzhiyunA Contributor may choose to distribute 76*4882a593Smuzhiyunthe Program in object code form under its own license agreement, 77*4882a593Smuzhiyunprovided that: 78*4882a593Smuzhiyun 79*4882a593Smuzhiyunit complies with the terms and conditions of this Agreement; and 80*4882a593Smuzhiyunits license agreement: 81*4882a593Smuzhiyuneffectively disclaims on behalf of all Contributors all warranties 82*4882a593Smuzhiyunand conditions, express and implied, including warranties or 83*4882a593Smuzhiyunconditions of title and non-infringement, and implied warranties or 84*4882a593Smuzhiyunconditions of merchantability and fitness for a particular purpose; 85*4882a593Smuzhiyuneffectively excludes on behalf of all Contributors all liability 86*4882a593Smuzhiyunfor damages, including direct, indirect, special, incidental and 87*4882a593Smuzhiyunconsequential damages, such as lost profits; 88*4882a593Smuzhiyunstates that any provisions which differ from this Agreement are 89*4882a593Smuzhiyunoffered by that Contributor alone and not by any other party; and 90*4882a593Smuzhiyun 91*4882a593Smuzhiyunstates that source code for the Program is available from such 92*4882a593SmuzhiyunContributor, and informs licensees how to obtain it in a reasonable 93*4882a593Smuzhiyunmanner on or through a medium customarily used for software exchange. 94*4882a593SmuzhiyunWhen the Program is made available in source code form: 95*4882a593Smuzhiyun 96*4882a593Smuzhiyunit must be made available under this Agreement; and 97*4882a593Smuzhiyuna copy of this Agreement must be included with each copy of the 98*4882a593SmuzhiyunProgram. 99*4882a593SmuzhiyunEach Contributor must include the following in a conspicuous location in the Program: 100*4882a593Smuzhiyun 101*4882a593SmuzhiyunCopyright (C) 1996, 1999 International Business Machines Corporation and others. All Rights Reserved. 102*4882a593Smuzhiyun 103*4882a593SmuzhiyunIn addition, each Contributor must identify itself as the originator 104*4882a593Smuzhiyunof its Contribution, if any, in a manner that reasonably allows 105*4882a593Smuzhiyunsubsequent Recipients to identify the originator of the Contribution. 106*4882a593Smuzhiyun 107*4882a593Smuzhiyun4. COMMERCIAL DISTRIBUTION 108*4882a593SmuzhiyunCommercial distributors of software may accept certain 109*4882a593Smuzhiyunresponsibilities with respect to end users, business partners and the 110*4882a593Smuzhiyunlike. While this license is intended to facilitate the commercial 111*4882a593Smuzhiyunuse of the Program, the Contributor who includes the Program in a 112*4882a593Smuzhiyuncommercial product offering should do so in a manner which does not 113*4882a593Smuzhiyuncreate potential liability for other Contributors. Therefore, if a 114*4882a593SmuzhiyunContributor includes the Program in a commercial product offering, 115*4882a593Smuzhiyunsuch Contributor ("Commercial Contributor") hereby agrees to defend 116*4882a593Smuzhiyunand indemnify every other Contributor ("Indemnified Contributor") 117*4882a593Smuzhiyunagainst any losses, damages and costs (collectively "Losses") arising 118*4882a593Smuzhiyunfrom claims, lawsuits and other legal actions brought by a third 119*4882a593Smuzhiyunparty against the Indemnified Contributor to the extent caused by the 120*4882a593Smuzhiyunacts or omissions of such Commercial Contributor in connection with 121*4882a593Smuzhiyunits distribution of the Program in a commercial product offering. 122*4882a593SmuzhiyunThe obligations in this section do not apply to any claims or Losses 123*4882a593Smuzhiyunrelating to any actual or alleged intellectual property infringement. 124*4882a593SmuzhiyunIn order to qualify, an Indemnified Contributor must: a) promptly 125*4882a593Smuzhiyunnotify the Commercial Contributor in writing of such claim, and b) 126*4882a593Smuzhiyunallow the Commercial Contributor to control, and cooperate with the 127*4882a593SmuzhiyunCommercial Contributor in, the defense and any related settlement 128*4882a593Smuzhiyunnegotiations. The Indemnified Contributor may participate in any 129*4882a593Smuzhiyunsuch claim at its own expense. 130*4882a593Smuzhiyun 131*4882a593SmuzhiyunFor example, a Contributor might include the Program in a commercial 132*4882a593Smuzhiyunproduct offering, Product X. That Contributor is then a Commercial 133*4882a593SmuzhiyunContributor. If that Commercial Contributor then makes performance 134*4882a593Smuzhiyunclaims, or offers warranties related to Product X, those performance 135*4882a593Smuzhiyunclaims and warranties are such Commercial Contributor`s 136*4882a593Smuzhiyunresponsibility alone. Under this section, the Commercial Contributor 137*4882a593Smuzhiyunwould have to defend claims against the other Contributors related to 138*4882a593Smuzhiyunthose performance claims and warranties, and if a court requires any 139*4882a593Smuzhiyunother Contributor to pay any damages as a result, the Commercial 140*4882a593SmuzhiyunContributor must pay those damages. 141*4882a593Smuzhiyun 142*4882a593Smuzhiyun5. NO WARRANTY 143*4882a593SmuzhiyunEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS 144*4882a593SmuzhiyunPROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 145*4882a593SmuzhiyunKIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY 146*4882a593SmuzhiyunWARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY 147*4882a593SmuzhiyunOR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely 148*4882a593Smuzhiyunresponsible for determining the appropriateness of using and 149*4882a593Smuzhiyundistributing the Program and assumes all risks associated with its 150*4882a593Smuzhiyunexercise of rights under this Agreement, including but not limited to 151*4882a593Smuzhiyunthe risks and costs of program errors, compliance with applicable 152*4882a593Smuzhiyunlaws, damage to or loss of data, programs or equipment, and 153*4882a593Smuzhiyununavailability or interruption of operations. 154*4882a593Smuzhiyun 155*4882a593Smuzhiyun6. DISCLAIMER OF LIABILITY 156*4882a593SmuzhiyunEXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT 157*4882a593SmuzhiyunNOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, 158*4882a593SmuzhiyunINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 159*4882a593Smuzhiyun(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON 160*4882a593SmuzhiyunANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 161*4882a593SmuzhiyunTORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 162*4882a593SmuzhiyunTHE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS 163*4882a593SmuzhiyunGRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 164*4882a593Smuzhiyun 165*4882a593Smuzhiyun7. GENERAL 166*4882a593SmuzhiyunIf any provision of this Agreement is invalid or unenforceable under 167*4882a593Smuzhiyunapplicable law, it shall not affect the validity or enforceability of 168*4882a593Smuzhiyunthe remainder of the terms of this Agreement, and without further 169*4882a593Smuzhiyunaction by the parties hereto, such provision shall be reformed to the 170*4882a593Smuzhiyunminimum extent necessary to make such provision valid and enforceable. 171*4882a593Smuzhiyun 172*4882a593SmuzhiyunIf Recipient institutes patent litigation against a Contributor with 173*4882a593Smuzhiyunrespect to a patent applicable to software (including a cross-claim 174*4882a593Smuzhiyunor counterclaim in a lawsuit), then any patent licenses granted by 175*4882a593Smuzhiyunthat Contributor to such Recipient under this Agreement shall 176*4882a593Smuzhiyunterminate as of the date such litigation is filed. In addition, if 177*4882a593SmuzhiyunRecipient institutes patent litigation against any entity (including 178*4882a593Smuzhiyuna cross-claim or counterclaim in a lawsuit) alleging that the Program 179*4882a593Smuzhiyunitself (excluding combinations of the Program with other software or 180*4882a593Smuzhiyunhardware) infringes such Recipient`s patent(s), then such Recipient`s 181*4882a593Smuzhiyunrights granted under Section 2(b) shall terminate as of the date such 182*4882a593Smuzhiyunlitigation is filed. 183*4882a593Smuzhiyun 184*4882a593SmuzhiyunAll Recipient`s rights under this Agreement shall terminate if it 185*4882a593Smuzhiyunfails to comply with any of the material terms or conditions of this 186*4882a593SmuzhiyunAgreement and does not cure such failure in a reasonable period of 187*4882a593Smuzhiyuntime after becoming aware of such noncompliance. If all Recipient`s 188*4882a593Smuzhiyunrights under this Agreement terminate, Recipient agrees to cease use 189*4882a593Smuzhiyunand distribution of the Program as soon as reasonably practicable. 190*4882a593SmuzhiyunHowever, Recipient`s obligations under this Agreement and any 191*4882a593Smuzhiyunlicenses granted by Recipient relating to the Program shall continue 192*4882a593Smuzhiyunand survive. 193*4882a593Smuzhiyun 194*4882a593SmuzhiyunIBM may publish new versions (including revisions) of this Agreement 195*4882a593Smuzhiyunfrom time to time. Each new version of the Agreement will be given a 196*4882a593Smuzhiyundistinguishing version number. The Program (including Contributions) 197*4882a593Smuzhiyunmay always be distributed subject to the version of the Agreement 198*4882a593Smuzhiyununder which it was received. In addition, after a new version of the 199*4882a593SmuzhiyunAgreement is published, Contributor may elect to distribute the 200*4882a593SmuzhiyunProgram (including its Contributions) under the new version. No one 201*4882a593Smuzhiyunother than IBM has the right to modify this Agreement. Except as 202*4882a593Smuzhiyunexpressly stated in Sections 2(a) and 2(b) above, Recipient receives 203*4882a593Smuzhiyunno rights or licenses to the intellectual property of any Contributor 204*4882a593Smuzhiyununder this Agreement, whether expressly, by implication, estoppel or 205*4882a593Smuzhiyunotherwise. All rights in the Program not expressly granted under 206*4882a593Smuzhiyunthis Agreement are reserved. 207*4882a593Smuzhiyun 208*4882a593SmuzhiyunThis Agreement is governed by the laws of the State of New York and 209*4882a593Smuzhiyunthe intellectual property laws of the United States of America. No 210*4882a593Smuzhiyunparty to this Agreement will bring a legal action under this 211*4882a593SmuzhiyunAgreement more than one year after the cause of action arose. Each 212*4882a593Smuzhiyunparty waives its rights to a jury trial in any resulting litigation. 213*4882a593Smuzhiyun 214