adding 1.6.5 update site
[gae.git] / java / demos / new_project_template / COPYING
blob32bc9dc093ebb113f7a13b4154fcd0b8c75a0045
2 Apache License
3 Version 2.0, January 2004
4 http://www.apache.org/licenses/ 
6 1. Definitions.
8 "License" shall mean the terms and conditions for use, reproduction, and 
9 distribution as defined by Sections 1 through 9 of this document. 
11 "Licensor" shall mean the copyright owner or entity authorized by the 
12 copyright owner that is granting the License. 
14 "Legal Entity" shall mean the union of the acting entity and all other 
15 entities that control, are controlled by, or are under common control with 
16 that entity. For the purposes of this definition, "control" means (i) the 
17 power, direct or indirect, to cause the direction or management of such 
18 entity, whether by contract or otherwise, or (ii) ownership of fifty percent 
19 (50%) or more of the outstanding shares, or (iii) beneficial ownership of 
20 such entity. 
22 "You" (or "Your") shall mean an individual or Legal Entity exercising 
23 permissions granted by this License. 
25 "Source" form shall mean the preferred form for making modifications, 
26 including but not limited to software source code, documentation source, and 
27 configuration files. 
29 "Object" form shall mean any form resulting from mechanical transformation 
30 or translation of a Source form, including but not limited to compiled 
31 object code, generated documentation, and conversions to other media types. 
33 "Work" shall mean the work of authorship, whether in Source or Object form, 
34 made available under the License, as indicated by a copyright notice that is 
35 included in or attached to the work (an example is provided in the Appendix 
36 below). 
38 "Derivative Works" shall mean any work, whether in Source or Object form, 
39 that is based on (or derived from) the Work and for which the editorial 
40 revisions, annotations, elaborations, or other modifications represent, as a 
41 whole, an original work of authorship. For the purposes of this License, 
42 Derivative Works shall not include works that remain separable from, or 
43 merely link (or bind by name) to the interfaces of, the Work and Derivative 
44 Works thereof. 
46 "Contribution" shall mean any work of authorship, including the original 
47 version of the Work and any modifications or additions to that Work or 
48 Derivative Works thereof, that is intentionally submitted to Licensor for 
49 inclusion in the Work by the copyright owner or by an individual or Legal 
50 Entity authorized to submit on behalf of the copyright owner. For the 
51 purposes of this definition, "submitted" means any form of electronic, 
52 verbal, or written communication sent to the Licensor or its 
53 representatives, including but not limited to communication on electronic 
54 mailing lists, source code control systems, and issue tracking systems that 
55 are managed by, or on behalf of, the Licensor for the purpose of discussing 
56 and improving the Work, but excluding communication that is conspicuously 
57 marked or otherwise designated in writing by the copyright owner as "Not a 
58 Contribution." 
60 "Contributor" shall mean Licensor and any individual or Legal Entity on 
61 behalf of whom a Contribution has been received by Licensor and subsequently 
62 incorporated within the Work. 
64 2. Grant of Copyright License. Subject to the terms and conditions of this 
65 License, each Contributor hereby grants to You a perpetual, worldwide, 
66 non-exclusive, no-charge, royalty-free, irrevocable copyright license to 
67 reproduce, prepare Derivative Works of, publicly display, publicly perform, 
68 sublicense, and distribute the Work and such Derivative Works in Source or 
69 Object form. 
71 3. Grant of Patent License. Subject to the terms and conditions of this 
72 License, each Contributor hereby grants to You a perpetual, worldwide, 
73 non-exclusive, no-charge, royalty-free, irrevocable (except as stated in 
74 this section) patent license to make, have made, use, offer to sell, sell, 
75 import, and otherwise transfer the Work, where such license applies only to 
76 those patent claims licensable by such Contributor that are necessarily 
77 infringed by their Contribution(s) alone or by combination of their 
78 Contribution(s) with the Work to which such Contribution(s) was submitted. 
79 If You institute patent litigation against any entity (including a 
80 cross-claim or counterclaim in a lawsuit) alleging that the Work or a 
81 Contribution incorporated within the Work constitutes direct or contributory 
82 patent infringement, then any patent licenses granted to You under this 
83 License for that Work shall terminate as of the date such litigation is 
84 filed. 
86 4. Redistribution. You may reproduce and distribute copies of the Work or 
87 Derivative Works thereof in any medium, with or without modifications, and 
88 in Source or Object form, provided that You meet the following conditions: 
90 a. You must give any other recipients of the Work or Derivative Works a copy 
91 of this License; and 
93 b. You must cause any modified files to carry prominent notices stating that 
94 You changed the files; and 
96 c. You must retain, in the Source form of any Derivative Works that You 
97 distribute, all copyright, patent, trademark, and attribution notices from 
98 the Source form of the Work, excluding those notices that do not pertain to 
99 any part of the Derivative Works; and 
101 d. If the Work includes a "NOTICE" text file as part of its distribution, 
102 then any Derivative Works that You distribute must include a readable copy 
103 of the attribution notices contained within such NOTICE file, excluding 
104 those notices that do not pertain to any part of the Derivative Works, in at 
105 least one of the following places: within a NOTICE text file distributed as 
106 part of the Derivative Works; within the Source form or documentation, if 
107 provided along with the Derivative Works; or, within a display generated by 
108 the Derivative Works, if and wherever such third-party notices normally 
109 appear. The contents of the NOTICE file are for informational purposes only 
110 and do not modify the License. You may add Your own attribution notices 
111 within Derivative Works that You distribute, alongside or as an addendum to 
112 the NOTICE text from the Work, provided that such additional attribution 
113 notices cannot be construed as modifying the License.
115 You may add Your own copyright statement to Your modifications and may 
116 provide additional or different license terms and conditions for use, 
117 reproduction, or distribution of Your modifications, or for any such 
118 Derivative Works as a whole, provided Your use, reproduction, and 
119 distribution of the Work otherwise complies with the conditions stated in 
120 this License. 
122 5. Submission of Contributions. Unless You explicitly state otherwise, any 
123 Contribution intentionally submitted for inclusion in the Work by You to the 
124 Licensor shall be under the terms and conditions of this License, without 
125 any additional terms or conditions. Notwithstanding the above, nothing 
126 herein shall supersede or modify the terms of any separate license agreement 
127 you may have executed with Licensor regarding such Contributions. 
129 6. Trademarks. This License does not grant permission to use the trade 
130 names, trademarks, service marks, or product names of the Licensor, except 
131 as required for reasonable and customary use in describing the origin of the 
132 Work and reproducing the content of the NOTICE file. 
134 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in 
135 writing, Licensor provides the Work (and each Contributor provides its 
136 Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
137 KIND, either express or implied, including, without limitation, any 
138 warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or 
139 FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining 
140 the appropriateness of using or redistributing the Work and assume any risks 
141 associated with Your exercise of permissions under this License. 
143 8. Limitation of Liability. In no event and under no legal theory, whether 
144 in tort (including negligence), contract, or otherwise, unless required by 
145 applicable law (such as deliberate and grossly negligent acts) or agreed to 
146 in writing, shall any Contributor be liable to You for damages, including 
147 any direct, indirect, special, incidental, or consequential damages of any 
148 character arising as a result of this License or out of the use or inability 
149 to use the Work (including but not limited to damages for loss of goodwill, 
150 work stoppage, computer failure or malfunction, or any and all other 
151 commercial damages or losses), even if such Contributor has been advised of 
152 the possibility of such damages. 
154 9. Accepting Warranty or Additional Liability. While redistributing the Work 
155 or Derivative Works thereof, You may choose to offer, and charge a fee for, 
156 acceptance of support, warranty, indemnity, or other liability obligations 
157 and/or rights consistent with this License. However, in accepting such 
158 obligations, You may act only on Your own behalf and on Your sole 
159 responsibility, not on behalf of any other Contributor, and only if You 
160 agree to indemnify, defend, and hold each Contributor harmless for any 
161 liability incurred by, or claims asserted against, such Contributor by 
162 reason of your accepting any such warranty or additional liability.