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

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