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 26 kB

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