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

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