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

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