You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

license.html 25 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html lang="en">
  3. <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
  4. <head>
  5. <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  6. <title>Apache Ant - License</title>
  7. <link type="text/css" href="./page.css" rel="stylesheet">
  8. <meta name="author" content="The Apache Software Foundation">
  9. <meta name="email" content="">
  10. </head>
  11. <body>
  12. <p class="navpath">
  13. <script src="./breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
  14. </p>
  15. <div class="logobar">
  16. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  17. <tr>
  18. <td align="left"><img border="0" alt="Apache Ant site" src="./images/group-logo.gif"></td>
  19. <td align="center" width="100%"><img alt="Apache Ant logo" border="0" src="./images/project-logo.gif"></td>
  20. <td align="right">
  21. <form target="_blank" onsubmit="q.value = query.value + ' site:ant.apache.org'" action="http://www.google.com/search" method="get">
  22. <table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="#4C6C8F">
  23. <tr>
  24. <td colspan="3"><img height="10" width="1" alt="" src="./images/spacer.gif"></td>
  25. </tr>
  26. <tr>
  27. <td><img height="1" width="1" alt="" src="./images/spacer.gif"></td>
  28. <td nowrap="nowrap" class="searchcaption">
  29. <input name="q" type="hidden">
  30. <input size="15" id="query" type="text">
  31. <img height="1" width="5" alt="" src="./images/spacer.gif">
  32. <input name="Search" value="Search" type="submit">
  33. <br>
  34. the Apache Ant site
  35. </td>
  36. <td><img height="1" width="1" alt="" src="./images/spacer.gif"></td>
  37. </tr>
  38. <tr>
  39. <td><img alt="" border="0" height="10" width="9" src="./images/search-left.gif"></td>
  40. <td><img height="1" width="1" alt="" src="./images/spacer.gif"></td>
  41. <td><img alt="" border="0" height="10" width="9" src="./images/search-right.gif"></td>
  42. </tr>
  43. </table>
  44. </form>
  45. </td>
  46. </tr>
  47. </table>
  48. </div>
  49. <div class="tab">
  50. <table summary="tab bar" border="0" cellpadding="0" cellspacing="0">
  51. <tr>
  52. <td width="8"><img alt="" height="5" width="8" src="./images/spacer.gif"></td><td valign="bottom">
  53. <table summary="selected tab" style="height: 1.5em" border="0" cellpadding="0" cellspacing="0">
  54. <tr>
  55. <td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="./images/tabSel-left.gif"></td><td valign="middle" bgcolor="#4C6C8F"><font color="#ffffff" size="2" face="Arial, Helvetica, Sans-serif"><b>Home</b></font></td><td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="./images/tabSel-right.gif"></td>
  56. </tr>
  57. </table>
  58. </td>
  59. <td width="5"><img alt="" height="8" width="8" src="./images/spacer.gif"></td><td valign="bottom">
  60. <table summary="non selected tab" style="height: 1.4em" border="0" cellpadding="0" cellspacing="0">
  61. <tr>
  62. <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="./images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a href="./projects/index.html"><font size="2" face="Arial, Helvetica, Sans-serif">Projects</font></a></td><td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="./images/tab-right.gif"></td>
  63. </tr>
  64. </table>
  65. </td>
  66. </tr>
  67. </table>
  68. </div>
  69. <div class="bluebar"></div>
  70. <div class="menucontainer">
  71. <div class="menu">
  72. <ul>
  73. <li class="menuheader">Apache Ant
  74. <ul>
  75. <li>
  76. <a href="./index.html">Welcome</a>
  77. </li>
  78. <li>
  79. <span class="sel">License</span>
  80. </li>
  81. <li>
  82. <a href="./antnews.html">News</a>
  83. </li>
  84. </ul>
  85. </li>
  86. <li class="menuheader">Documentation
  87. <ul>
  88. <li>
  89. <a href="./manual/index.html">Manual</a>
  90. </li>
  91. <li>
  92. <a href="./projects.html">Related Projects</a>
  93. </li>
  94. <li>
  95. <a href="./external.html">External Tools and Tasks</a>
  96. </li>
  97. <li>
  98. <a href="./resources.html">Resources</a>
  99. </li>
  100. <li>
  101. <a href="./faq.html">Frequently Asked Questions</a>
  102. </li>
  103. <li>
  104. <a href="http://wiki.apache.org/ant/FrontPage">Wiki</a>
  105. </li>
  106. <li>
  107. <a href="./problems.html">Having Problems?</a>
  108. </li>
  109. </ul>
  110. </li>
  111. <li class="menuheader">Download
  112. <ul>
  113. <li>
  114. <a href="http://ant.apache.org/bindownload.cgi">Binary Distributions</a>
  115. </li>
  116. <li>
  117. <a href="http://ant.apache.org/srcdownload.cgi">Source Distributions</a>
  118. </li>
  119. </ul>
  120. </li>
  121. <li class="menuheader">Contributing
  122. <ul>
  123. <li>
  124. <a href="./mail.html">Mailing Lists</a>
  125. </li>
  126. <li>
  127. <a href="./svn.html">Subversion Repositories</a>
  128. </li>
  129. <li>
  130. <a href="./bugs.html">Bug Database</a>
  131. </li>
  132. <li>
  133. <a href="http://www.apache.org/foundation/contributing.html">Donations</a>
  134. </li>
  135. </ul>
  136. </li>
  137. <li class="menuheader">Project Management
  138. <ul>
  139. <li>
  140. <a href="./contributors.html">Contributors</a>
  141. </li>
  142. <li>
  143. <a href="./mission.html">Apache Ant Mission</a>
  144. </li>
  145. <li>
  146. <a href="./bylaws.html">Project Bylaws</a>
  147. </li>
  148. <li>
  149. <a href="./legal.html">Legal</a>
  150. </li>
  151. </ul>
  152. </li>
  153. </ul>
  154. </div>
  155. <img style="float: left" height="10" width="10" border="0" alt="" src="./images/menu-left.gif">
  156. <img style="float: right" height="10" width="10" border="0" alt="" src="./images/menu-right.gif">
  157. </div>
  158. <div class="lightbluebar">&nbsp;</div>
  159. <div class="main">
  160. <div class="content">
  161. <h1 class="title">License</h1>
  162. <h3 class="section">
  163. <a name="The Apache Software License Version 2.0"></a>
  164. The Apache Software License Version 2.0
  165. </h3>
  166. <p>The Apache Software License Version 2.0 applies
  167. to all releases of Ant starting with ant 1.6.1</p>
  168. <pre class="code">/*
  169. * Apache License
  170. * Version 2.0, January 2004
  171. * http://www.apache.org/licenses/
  172. *
  173. * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  174. *
  175. * 1. Definitions.
  176. *
  177. * &quot;License&quot; shall mean the terms and conditions for use, reproduction,
  178. * and distribution as defined by Sections 1 through 9 of this document.
  179. *
  180. * &quot;Licensor&quot; shall mean the copyright owner or entity authorized by
  181. * the copyright owner that is granting the License.
  182. *
  183. * &quot;Legal Entity&quot; shall mean the union of the acting entity and all
  184. * other entities that control, are controlled by, or are under common
  185. * control with that entity. For the purposes of this definition,
  186. * &quot;control&quot; means (i) the power, direct or indirect, to cause the
  187. * direction or management of such entity, whether by contract or
  188. * otherwise, or (ii) ownership of fifty percent (50%) or more of the
  189. * outstanding shares, or (iii) beneficial ownership of such entity.
  190. *
  191. * &quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity
  192. * exercising permissions granted by this License.
  193. *
  194. * &quot;Source&quot; form shall mean the preferred form for making modifications,
  195. * including but not limited to software source code, documentation
  196. * source, and configuration files.
  197. *
  198. * &quot;Object&quot; form shall mean any form resulting from mechanical
  199. * transformation or translation of a Source form, including but
  200. * not limited to compiled object code, generated documentation,
  201. * and conversions to other media types.
  202. *
  203. * &quot;Work&quot; shall mean the work of authorship, whether in Source or
  204. * Object form, made available under the License, as indicated by a
  205. * copyright notice that is included in or attached to the work
  206. * (an example is provided in the Appendix below).
  207. *
  208. * &quot;Derivative Works&quot; shall mean any work, whether in Source or Object
  209. * form, that is based on (or derived from) the Work and for which the
  210. * editorial revisions, annotations, elaborations, or other modifications
  211. * represent, as a whole, an original work of authorship. For the purposes
  212. * of this License, Derivative Works shall not include works that remain
  213. * separable from, or merely link (or bind by name) to the interfaces of,
  214. * the Work and Derivative Works thereof.
  215. *
  216. * &quot;Contribution&quot; shall mean any work of authorship, including
  217. * the original version of the Work and any modifications or additions
  218. * to that Work or Derivative Works thereof, that is intentionally
  219. * submitted to Licensor for inclusion in the Work by the copyright owner
  220. * or by an individual or Legal Entity authorized to submit on behalf of
  221. * the copyright owner. For the purposes of this definition, &quot;submitted&quot;
  222. * means any form of electronic, verbal, or written communication sent
  223. * to the Licensor or its representatives, including but not limited to
  224. * communication on electronic mailing lists, source code control systems,
  225. * and issue tracking systems that are managed by, or on behalf of, the
  226. * Licensor for the purpose of discussing and improving the Work, but
  227. * excluding communication that is conspicuously marked or otherwise
  228. * designated in writing by the copyright owner as &quot;Not a Contribution.&quot;
  229. *
  230. * &quot;Contributor&quot; shall mean Licensor and any individual or Legal Entity
  231. * on behalf of whom a Contribution has been received by Licensor and
  232. * subsequently incorporated within the Work.
  233. *
  234. * 2. Grant of Copyright License. Subject to the terms and conditions of
  235. * this License, each Contributor hereby grants to You a perpetual,
  236. * worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  237. * copyright license to reproduce, prepare Derivative Works of,
  238. * publicly display, publicly perform, sublicense, and distribute the
  239. * Work and such Derivative Works in Source or Object form.
  240. *
  241. * 3. Grant of Patent License. Subject to the terms and conditions of
  242. * this License, each Contributor hereby grants to You a perpetual,
  243. * worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  244. * (except as stated in this section) patent license to make, have made,
  245. * use, offer to sell, sell, import, and otherwise transfer the Work,
  246. * where such license applies only to those patent claims licensable
  247. * by such Contributor that are necessarily infringed by their
  248. * Contribution(s) alone or by combination of their Contribution(s)
  249. * with the Work to which such Contribution(s) was submitted. If You
  250. * institute patent litigation against any entity (including a
  251. * cross-claim or counterclaim in a lawsuit) alleging that the Work
  252. * or a Contribution incorporated within the Work constitutes direct
  253. * or contributory patent infringement, then any patent licenses
  254. * granted to You under this License for that Work shall terminate
  255. * as of the date such litigation is filed.
  256. *
  257. * 4. Redistribution. You may reproduce and distribute copies of the
  258. * Work or Derivative Works thereof in any medium, with or without
  259. * modifications, and in Source or Object form, provided that You
  260. * meet the following conditions:
  261. *
  262. * (a) You must give any other recipients of the Work or
  263. * Derivative Works a copy of this License; and
  264. *
  265. * (b) You must cause any modified files to carry prominent notices
  266. * stating that You changed the files; and
  267. *
  268. * (c) You must retain, in the Source form of any Derivative Works
  269. * that You distribute, all copyright, patent, trademark, and
  270. * attribution notices from the Source form of the Work,
  271. * excluding those notices that do not pertain to any part of
  272. * the Derivative Works; and
  273. *
  274. * (d) If the Work includes a &quot;NOTICE&quot; text file as part of its
  275. * distribution, then any Derivative Works that You distribute must
  276. * include a readable copy of the attribution notices contained
  277. * within such NOTICE file, excluding those notices that do not
  278. * pertain to any part of the Derivative Works, in at least one
  279. * of the following places: within a NOTICE text file distributed
  280. * as part of the Derivative Works; within the Source form or
  281. * documentation, if provided along with the Derivative Works; or,
  282. * within a display generated by the Derivative Works, if and
  283. * wherever such third-party notices normally appear. The contents
  284. * of the NOTICE file are for informational purposes only and
  285. * do not modify the License. You may add Your own attribution
  286. * notices within Derivative Works that You distribute, alongside
  287. * or as an addendum to the NOTICE text from the Work, provided
  288. * that such additional attribution notices cannot be construed
  289. * as modifying the License.
  290. *
  291. * You may add Your own copyright statement to Your modifications and
  292. * may provide additional or different license terms and conditions
  293. * for use, reproduction, or distribution of Your modifications, or
  294. * for any such Derivative Works as a whole, provided Your use,
  295. * reproduction, and distribution of the Work otherwise complies with
  296. * the conditions stated in this License.
  297. *
  298. * 5. Submission of Contributions. Unless You explicitly state otherwise,
  299. * any Contribution intentionally submitted for inclusion in the Work
  300. * by You to the Licensor shall be under the terms and conditions of
  301. * this License, without any additional terms or conditions.
  302. * Notwithstanding the above, nothing herein shall supersede or modify
  303. * the terms of any separate license agreement you may have executed
  304. * with Licensor regarding such Contributions.
  305. *
  306. * 6. Trademarks. This License does not grant permission to use the trade
  307. * names, trademarks, service marks, or product names of the Licensor,
  308. * except as required for reasonable and customary use in describing the
  309. * origin of the Work and reproducing the content of the NOTICE file.
  310. *
  311. * 7. Disclaimer of Warranty. Unless required by applicable law or
  312. * agreed to in writing, Licensor provides the Work (and each
  313. * Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,
  314. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  315. * implied, including, without limitation, any warranties or conditions
  316. * of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  317. * PARTICULAR PURPOSE. You are solely responsible for determining the
  318. * appropriateness of using or redistributing the Work and assume any
  319. * risks associated with Your exercise of permissions under this License.
  320. *
  321. * 8. Limitation of Liability. In no event and under no legal theory,
  322. * whether in tort (including negligence), contract, or otherwise,
  323. * unless required by applicable law (such as deliberate and grossly
  324. * negligent acts) or agreed to in writing, shall any Contributor be
  325. * liable to You for damages, including any direct, indirect, special,
  326. * incidental, or consequential damages of any character arising as a
  327. * result of this License or out of the use or inability to use the
  328. * Work (including but not limited to damages for loss of goodwill,
  329. * work stoppage, computer failure or malfunction, or any and all
  330. * other commercial damages or losses), even if such Contributor
  331. * has been advised of the possibility of such damages.
  332. *
  333. * 9. Accepting Warranty or Additional Liability. While redistributing
  334. * the Work or Derivative Works thereof, You may choose to offer,
  335. * and charge a fee for, acceptance of support, warranty, indemnity,
  336. * or other liability obligations and/or rights consistent with this
  337. * License. However, in accepting such obligations, You may act only
  338. * on Your own behalf and on Your sole responsibility, not on behalf
  339. * of any other Contributor, and only if You agree to indemnify,
  340. * defend, and hold each Contributor harmless for any liability
  341. * incurred by, or claims asserted against, such Contributor by reason
  342. * of your accepting any such warranty or additional liability.
  343. *
  344. * END OF TERMS AND CONDITIONS
  345. *
  346. * APPENDIX: How to apply the Apache License to your work.
  347. *
  348. * To apply the Apache License to your work, attach the following
  349. * boilerplate notice, with the fields enclosed by brackets &quot;[]&quot;
  350. * replaced with your own identifying information. (Don't include
  351. * the brackets!) The text should be enclosed in the appropriate
  352. * comment syntax for the file format. We also recommend that a
  353. * file or class name and description of purpose be included on the
  354. * same &quot;printed page&quot; as the copyright notice for easier
  355. * identification within third-party archives.
  356. *
  357. * Copyright [yyyy] Apache Software Foundation
  358. *
  359. * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
  360. * you may not use this file except in compliance with the License.
  361. * You may obtain a copy of the License at
  362. *
  363. * http://www.apache.org/licenses/LICENSE-2.0
  364. *
  365. * Unless required by applicable law or agreed to in writing, software
  366. * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
  367. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  368. * See the License for the specific language governing permissions and
  369. * limitations under the License.
  370. */
  371. </pre>
  372. <p>You can download the original license file <a href="./LICENSE" target="_new">here.</a></p>
  373. <p>The License is accompanied by a NOTICE</p>
  374. <pre class="code">
  375. =========================================================================
  376. == NOTICE file corresponding to the section 4 d of ==
  377. == the Apache License, Version 2.0, ==
  378. == in this case for the Apache Ant distribution. ==
  379. =========================================================================
  380. This product includes software developed by
  381. The Apache Software Foundation (http://www.apache.org/).
  382. This product includes also software developed by :
  383. - the W3C consortium (http://www.w3c.org) ,
  384. - the SAX project (http://www.saxproject.org)
  385. Please read the different LICENSE files present in the root directory of
  386. this distribution.
  387. The names &quot;Ant&quot; and &quot;Apache Software Foundation&quot; must not be used to
  388. endorse or promote products derived from this software without prior
  389. written permission. For written permission, please contact
  390. apache@apache.org.
  391. </pre>
  392. <h3 class="section">
  393. <a name="The Apache Software License, Version 1.1"></a>
  394. The Apache Software License, Version 1.1
  395. </h3>
  396. <p> The Apache Software License, Version 1.1, applies to all versions of up to ant 1.6.0 included.</p>
  397. <pre class="code">/*
  398. * ============================================================================
  399. * The Apache Software License, Version 1.1
  400. * ============================================================================
  401. *
  402. * Copyright (C) 2000-2003 The Apache Software Foundation. All
  403. * rights reserved.
  404. *
  405. * Redistribution and use in source and binary forms, with or without modifica-
  406. * tion, are permitted provided that the following conditions are met:
  407. *
  408. * 1. Redistributions of source code must retain the above copyright notice,
  409. * this list of conditions and the following disclaimer.
  410. *
  411. * 2. Redistributions in binary form must reproduce the above copyright notice,
  412. * this list of conditions and the following disclaimer in the documentation
  413. * and/or other materials provided with the distribution.
  414. *
  415. * 3. The end-user documentation included with the redistribution, if any, must
  416. * include the following acknowledgment: &quot;This product includes software
  417. * developed by the Apache Software Foundation (http://www.apache.org/).&quot;
  418. * Alternately, this acknowledgment may appear in the software itself, if
  419. * and wherever such third-party acknowledgments normally appear.
  420. *
  421. * 4. The names &quot;Ant&quot; and &quot;Apache Software Foundation&quot; must not be used to
  422. * endorse or promote products derived from this software without prior
  423. * written permission. For written permission, please contact
  424. * apache@apache.org.
  425. *
  426. * 5. Products derived from this software may not be called &quot;Apache&quot;, nor may
  427. * &quot;Apache&quot; appear in their name, without prior written permission of the
  428. * Apache Software Foundation.
  429. *
  430. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  431. * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  432. * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  433. * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  434. * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
  435. * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  436. * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  437. * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  438. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  439. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  440. *
  441. * This software consists of voluntary contributions made by many individuals
  442. * on behalf of the Apache Software Foundation. For more information on the
  443. * Apache Software Foundation, please see &lt;http://www.apache.org/&gt;.
  444. *
  445. */
  446. </pre>
  447. </div>
  448. </div>
  449. <p class="copyright">
  450. <script type="text/javascript" language="JavaScript"><!--
  451. document.write(" - "+"Last Published: " + document.lastModified);
  452. // -->
  453. </script>
  454. </p>
  455. </body>
  456. </html>