download target added BLD200404111800
authormmatula@netbeans.org
Fri, 09 Apr 2004 08:07:54 +0000
changeset 1502cb0a8c918213
parent 1501 247cb6945784
child 1503 a2753717b597
download target added
mdr/build.xml
mdr/licenses.txt
     1.1 --- a/mdr/build.xml	Wed Apr 07 19:26:45 2004 +0000
     1.2 +++ b/mdr/build.xml	Fri Apr 09 08:07:54 2004 +0000
     1.3 @@ -46,4 +46,29 @@
     1.4      <target name="clean" description="Clean build products.">
     1.5          <ant antfile="nbproject/build-impl.xml" target="clean"/>
     1.6      </target>
     1.7 +
     1.8 +  <!-- Build MDR download zips -->
     1.9 +  <target name="download">
    1.10 +    <echo message="Building MDR download zip files..."/>
    1.11 +    <ant dir="../openide" target="libs"/>
    1.12 +    <ant dir="jmi" target="netbeans"/>
    1.13 +    <ant dir="mof" target="netbeans"/>
    1.14 +    <ant dir="mdrapi" target="netbeans"/>
    1.15 +    <ant dir="jmiutils" target="jar"/>
    1.16 +    <ant target="jar"/>
    1.17 +    <mkdir dir="download"/>
    1.18 +    <copy todir="download">
    1.19 +        <fileset dir="${mdr/jmi.dir}/${nb.modules.dir}/ext" includes="jmi.jar"/>
    1.20 +        <fileset dir="${mdr/mof.dir}/${nb.modules.dir}/ext" includes="mof.jar"/>
    1.21 +        <fileset dir="${mdr/nbjmiutils.dir}/${nb.modules.dir}/ext" includes="mdr.jar"/>
    1.22 +        <fileset dir="${mdr/nbjmiutils.dir}/${nb.modules.dir}/ext" includes="jmiutils.jar"/>        
    1.23 +        <fileset dir="${mdr/mdrapi.dir}/${nb.modules.dir}" includes="org-netbeans-api-mdr.jar"/>
    1.24 +        <fileset dir="..\openide\util\build\netbeans\lib" includes="openide-util.jar"/>
    1.25 +        <fileset dir="." includes="licenses.txt"/>
    1.26 +    </copy>
    1.27 +    <move file="download/org-netbeans-api-mdr.jar" tofile="download/mdrapi.jar"/>
    1.28 +    <echo file="download/versioninfo.txt" append="false">Build number: ${buildnumber}
    1.29 +    </echo>
    1.30 +    <zip destfile="mdr-standalone.zip" basedir="download"/>
    1.31 +  </target>
    1.32  </project>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mdr/licenses.txt	Fri Apr 09 08:07:54 2004 +0000
     2.3 @@ -0,0 +1,786 @@
     2.4 +Sun Microsystems, Inc. 
     2.5 +Software License Agreement
     2.6 +
     2.7 +READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE
     2.8 +TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE 
     2.9 +MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE 
    2.10 +TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE 
    2.11 +ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING 
    2.12 +THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE 
    2.13 +TO ALL THESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE 
    2.14 +OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS ACCESSED 
    2.15 +ELECTRONICALLY, SELECT THE "DECLINE" BUTTON AT THE END OF THIS 
    2.16 +AGREEMENT. 
    2.17 +
    2.18 +1. LICENSE TO USE.  Sun grants you a non-exclusive and non-transferable 
    2.19 +license for the internal use only of the accompanying software and 
    2.20 +documentation and any error corrections provided by Sun (collectively 
    2.21 +"Software"), by the number of users and the class of computer hardware 
    2.22 +for which the corresponding fee has been paid. 
    2.23 +
    2.24 +2. RESTRICTIONS.  Software is confidential and copyrighted. Title to 
    2.25 +Software and all associated intellectual property rights is retained 
    2.26 +by Sun and/or its licensors. Except as specifically authorized in any 
    2.27 +Supplemental License Terms, you may not make copies of Software, other 
    2.28 +than a single copy of Software for archival purposes. Unless 
    2.29 +enforcement is prohibited by applicable law, you may not modify, 
    2.30 +decompile, or reverse engineer Software.  Licensee acknowledges that 
    2.31 +Licensed Software is not designed or intended for use in the design, 
    2.32 +construction, operation or maintenance of any nuclear facility. 
    2.33 +Sun Microsystems, Inc. disclaims any express or implied warranty of 
    2.34 +fitness for such uses.   No right, title or interest in or to any 
    2.35 +trademark, service mark, logo or trade name of Sun or its licensors 
    2.36 +is granted under this Agreement. 
    2.37 +
    2.38 +3. LIMITED WARRANTY.  Sun warrants to you that for a period of ninety 
    2.39 +(90) days from the date of purchase, as evidenced by a copy of the 
    2.40 +receipt, the media on which Software is furnished (if any) will be 
    2.41 +free of defects in materials and workmanship under normal use.  
    2.42 +Except for the foregoing, Software is provided "AS IS". Your exclusive 
    2.43 +remedy and Sun's entire liability under this limited warranty will be 
    2.44 +at Sun's option to replace Software media or refund the fee paid for 
    2.45 +Software. 
    2.46 +
    2.47 +4. DISCLAIMER OF WARRANTY.  UNLESS SPECIFIED IN THIS AGREEMENT, ALL 
    2.48 +EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, 
    2.49 +INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR 
    2.50 +A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO 
    2.51 +THE EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. 
    2.52 +
    2.53 +5. LIMITATION OF LIABILITY.  TO THE EXTENT NOT PROHIBITED BY LAW, 
    2.54 +IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, 
    2.55 +PROFIT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL 
    2.56 +OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY 
    2.57 +OF LIABILITY, ARISING OUT OF OR RELATED TO THE USE OF OR INABILITY 
    2.58 +TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY 
    2.59 +OF SUCH DAMAGES.  
    2.60 +In no event will Sun's liability to you, whether in contract, tort 
    2.61 +(including negligence), or otherwise, exceed the amount paid by you 
    2.62 +for Software under this Agreement. The foregoing limitations will apply 
    2.63 +even if the above stated warranty fails of its essential purpose. 
    2.64 +
    2.65 +6. Termination.  This Agreement is effective until terminated.  You 
    2.66 +may terminate this Agreement at any time by destroying all copies 
    2.67 +of Software.  This Agreement will terminate immediately without notice 
    2.68 +from Sun if you fail to comply with any provision of this Agreement.  
    2.69 +Upon Termination, you must destroy all copies of Software. 
    2.70 +
    2.71 +7. Export Regulations. All Software and technical data delivered under 
    2.72 +this Agreement are subject to US export control laws and may be subject 
    2.73 +to export or import regulations in other countries.  You agree 
    2.74 +to comply strictly with all such laws and regulations and acknowledge 
    2.75 +that you have the responsibility to obtain such licenses to export, 
    2.76 +re-export, or import as may be required after delivery to you. 
    2.77 +
    2.78 +8. U.S. Government Restricted Rights.  If Software is being acquired 
    2.79 +by or on behalf of the U.S. Government or by a U.S. Government prime 
    2.80 +contractor or subcontractor (at any tier), then the Government's 
    2.81 +rights in Software and accompanying documentation will be only as set 
    2.82 +forth in this Agreement; this is in accordance with 48 CFR 227.7201 
    2.83 +through 227.7202-4 (for Department of Defense (DOD) acquisitions) 
    2.84 +and with 48 CFR 2.101 and 12.212 (for non-DOD acquisitions). 
    2.85 +
    2.86 +9. Governing Law.  Any action related to this Agreement will be 
    2.87 +governed by California law and controlling U.S. federal law.  No 
    2.88 +choice of law rules of any jurisdiction will apply. 
    2.89 +
    2.90 +10. Severability. If any provision of this Agreement is held to be 
    2.91 +unenforceable, this Agreement will remain in effect with the provision 
    2.92 +omitted, unless omission would frustrate the intent of the parties, 
    2.93 +in which case this Agreement will immediately terminate. 
    2.94 +
    2.95 +11. Integration.  This Agreement is the entire agreement between you 
    2.96 +and Sun relating to its subject matter.  It supersedes all prior or 
    2.97 +contemporaneous oral or written communications, proposals, 
    2.98 +representations and warranties and prevails over any conflicting 
    2.99 +or additional terms of any quote, order, acknowledgment, or other 
   2.100 +communication between the parties relating to its subject matter
   2.101 +during the term of this Agreement. No modification of this Agreement 
   2.102 +will be binding, unless in writing and signed by an authorized 
   2.103 +representative of each party. 
   2.104 +
   2.105 +JAVATM INTERFACE CLASSES
   2.106 +JAVA METADATA INTERFACE ("JMI"), VERSION 1.0, SAMPLE CLASS INTERFACES 
   2.107 +SUPPLEMENTAL LICENSE TERMS
   2.108 +
   2.109 +These supplemental license terms ("Supplemental Terms") add to or 
   2.110 +modify the terms of the Software License Agreement (collectively, 
   2.111 +the "Agreement"). Capitalized terms not defined in these Supplemental 
   2.112 +Terms shall have the same meanings ascribed to them in the Agreement. 
   2.113 +These Supplemental Terms shall supersede any inconsistent or 
   2.114 +conflicting terms in the Agreement, or in any license contained 
   2.115 +within the Software. 
   2.116 +
   2.117 +1. Software Internal Use and Development License Grant. Subject to 
   2.118 +the terms and conditions of this Agreement, including, but not 
   2.119 +limited to Section 3 (Java Technology Restrictions) of these 
   2.120 +Supplemental Terms, Sun grants you a non-exclusive, non-transferable, 
   2.121 +limited license to reproduce internally and use internally 
   2.122 +the Software, complete and unmodified, for the sole purpose of 
   2.123 +designing, developing, testing and running your Java applets 
   2.124 +and applications. For clarification, the Software will be considered 
   2.125 +unmodified if you have compiled the Software using a compliant Java 
   2.126 +compiler.
   2.127 +
   2.128 +2. License to Distribute Software.  In addition to the license granted 
   2.129 +in Section 1 (Software Internal Use and Development License Grant) 
   2.130 +of these Supplemental Terms, subject to the terms and conditions 
   2.131 +of this Agreement, including but not limited to Section 3 (Java 
   2.132 +Technology Restrictions), Sun grants you a non-exclusive, 
   2.133 +non-transferable, limited license to reproduce and distribute 
   2.134 +the Software provided that you (i) distribute the Software complete 
   2.135 +and unmodified and only bundled as part of your Programs, 
   2.136 +(ii) do not distribute additional software intended to replace any 
   2.137 +component(s) of the Software, (iii) do not remove or alter any 
   2.138 +proprietary legends or notices contained in the Software, (iv) only 
   2.139 +distribute the Software subject to a license agreement that protects 
   2.140 +Sun's interests consistent with the terms contained in this Agreement, 
   2.141 +and (v) agree to defend and indemnify Sun and its licensors from 
   2.142 +and against any damages, costs, liabilities, settlement amounts 
   2.143 +and/or expenses (including attorneys' fees) incurred in connection 
   2.144 +with any claim, lawsuit or action by any third party that arises 
   2.145 +or results from the use or distribution of any and all Programs and/or 
   2.146 +Software. 
   2.147 +
   2.148 +3. Java Technology Restrictions. You may not modify the Java Platform 
   2.149 +Interface ("JPI", identified as classes contained within the "java" 
   2.150 +package or any subpackages of the "java" package), by creating 
   2.151 +additional classes within the JPI or otherwise causing the addition to 
   2.152 +or modification of the classes in the JPI. In the event that you 
   2.153 +create an additional class and associated API(s) which (i) extends 
   2.154 +the functionality of the Java Platform, and (ii) is exposed to third 
   2.155 +party software developers for the purpose of developing additional 
   2.156 +software which invokes such additional API, you must promptly publish 
   2.157 +broadly an accurate specification for such API for free use by 
   2.158 +all developers. You may not create, or authorize your licensees 
   2.159 +to create additional classes, interfaces, or subpackages that are 
   2.160 +in any way identified as "java", "javax", "sun" or similar convention 
   2.161 +as specified by Sun in any naming convention designation. 
   2.162 +
   2.163 +4. Trademarks and Logos. You acknowledge and agree as between you and 
   2.164 +Sun that Sun owns the SUN, SOLARIS, JAVA, JINI, FORTE, and iPLANET 
   2.165 +trademarks and all SUN, SOLARIS, JAVA, JINI, FORTE, and 
   2.166 +iPLANET-related trademarks, service marks, logos and other brand 
   2.167 +designations ("Sun Marks"), and you agree to comply with the 
   2.168 +Sun Trademark and Logo Usage Requirements currently located at 
   2.169 +http://www.sun.com/policies/trademarks. Any use you make of the 
   2.170 +Sun Marks inures to Sun's benefit. 
   2.171 +
   2.172 +5. Termination for Infringement. Either party may terminate this 
   2.173 +Agreement immediately should any Software become, or in either 
   2.174 +party's opinion be likely to become, the subject of a claim 
   2.175 +of infringement of any intellectual property right. 
   2.176 +
   2.177 +For inquiries please contact: 
   2.178 +Sun Microsystems, Inc. 
   2.179 +4150 Network Circle
   2.180 +Santa Clara
   2.181 +California 95054. 
   2.182 +(LFI#115025/Form ID#011801)
   2.183 +
   2.184 +================================================================
   2.185 +
   2.186 +Copyright 1997-1999, DSTC (Cooperative Research Centre for Enterprise 
   2.187 +Distributed Systems Technology)
   2.188 +Copyright 1997-1999, Electronic Data Systems
   2.189 +Copyright 1997-1999, IBM Corporation
   2.190 +Copyright 1997-1999, International Computers Limited
   2.191 +Copyright 1997-1999, Objectivity Inc.
   2.192 +Copyright 2000-2001, Object Management Group
   2.193 +Copyright 1997-1999, Oracle Corporation
   2.194 +Copyright 1997-1999, Platinum Technology Inc.
   2.195 +Copyright 1997-1999, Rational Software Corporation
   2.196 +Copyright 1997-1999, System Software Associates
   2.197 +Copyright 1997-1999, Unisys Corporation
   2.198 +
   2.199 +The companies listed above have granted to the 
   2.200 +Object Management Group, Inc. (OMG) a nonexclusive, royalty-free, 
   2.201 +paid up, worldwide license to copy and distribute this document and 
   2.202 +to modify this document and distribute copies of the modified version. 
   2.203 +Each of the copyright holders listed above has agreed that no person 
   2.204 +shall be deemed to have infringed the copyright in the included 
   2.205 +material of any such copyright holder by reason of having used 
   2.206 +the specification set forth herein or having conformed any computer 
   2.207 +software to the specification.
   2.208 +
   2.209 +PATENT
   2.210 +The attention of adopters is directed to the possibility that 
   2.211 +compliance with or adoption of OMG specifications may require use of 
   2.212 +an invention covered by patent rights. OMG shall not be responsible 
   2.213 +for identifying patents for which a license may be required by any 
   2.214 +OMG specification, or for conducting legal inquiries into the legal
   2.215 +validity or scope of those patents that are brought to its attention. 
   2.216 +OMG specifications are prospective and advisory only. Prospective 
   2.217 +users are responsible for protecting themselves against liability for 
   2.218 +infringement of patents.
   2.219 +
   2.220 +NOTICE
   2.221 +
   2.222 +The information contained in this document is subject to change 
   2.223 +without notice. The material in this document details an 
   2.224 +Object Management Group specification in accordance with the license 
   2.225 +and notices set forth on this page. This document does not represent 
   2.226 +a commitment to implement any portion of this specification 
   2.227 +in any company's products.
   2.228 +WHILE THE INFORMATION IN THIS PUBLICATION IS BELIEVED TO BE
   2.229 +ACCURATE, THE OBJECT MANAGEMENT GROUP AND THE COMPANIES
   2.230 +LISTED ABOVE MAKE NO WARRANTY OF ANY KIND, EXPRESS OR
   2.231 +IMPLIED, WITH REGARD TO THIS MATERIAL INCLUDING, BUT NOT LIM-ITED
   2.232 +TO ANY WARRANTY OF TITLE OR OWNERSHIP, IMPLIED WAR-RANTY
   2.233 +OF MERCHANTABILITY OR WARRANTY OF FITNESS FOR
   2.234 +
   2.235 +PARTICULAR PURPOSE OR USE. In no event shall The Object Management Group 
   2.236 +or any of the companies listed above be liable for errors contained 
   2.237 +herein or for indirect, incidental, special, consequential, reliance 
   2.238 +or cover damages, including loss of profits, revenue, data or use, 
   2.239 +incurred by any user or any third party. The copyright holders listed 
   2.240 +above acknowledge that the Object Management Group (acting itself or
   2.241 +through its designees) is and shall at all times be the sole entity 
   2.242 +that may authorize developers, suppliers and sellers of computer 
   2.243 +software to use certification marks, trademarks or other special 
   2.244 +designations to indicate compliance with these materials.
   2.245 +This document contains information which is protected by copyright. 
   2.246 +All Rights Reserved. No part of this work covered by copyright herein 
   2.247 +may be reproduced or used in any form or by any means--graphic, 
   2.248 +electronic, or mechanical, including photocopying, recording, taping, 
   2.249 +or information storage and retrieval systems--without permission of 
   2.250 +the copyright owner.
   2.251 +
   2.252 +RESTRICTED RIGHTS LEGEND. Use, duplication, or disclosure by 
   2.253 +government is subject to restrictions as set forth in subdivision 
   2.254 +(c) (1) (ii) of the Right in Technical Data and Computer Software 
   2.255 +Clause at DFARS 252.227.7013 OMG and Object Management are registered 
   2.256 +trademarks of the Object Management Group, Inc. Object Request Broker, 
   2.257 +OMG IDL, ORB, CORBA, CORBAfacilities, CORBAservices, COSS, and IIOP 
   2.258 +are trademarks of the Object Management Group, Inc. X/Open is a
   2.259 +trademark of X/Open Company Ltd.
   2.260 +
   2.261 +The UML logo is a trademark of Rational Software Corp.
   2.262 +
   2.263 +ISSUE REPORTING
   2.264 +All OMG specifications are subject to continuous review and 
   2.265 +improvement. As part of this process we encourage readers to report 
   2.266 +any ambiguities, inconsistencies, or inaccuracies they may find 
   2.267 +by completing the issue reporting form at 
   2.268 +http://www.omg.org/technology/issuesform.htm
   2.269 +
   2.270 +================================================================
   2.271 +
   2.272 +SUN PUBLIC LICENSE Version 1.0
   2.273 +
   2.274 + 1. Definitions.
   2.275 +
   2.276 +  1.0.1. "Commercial Use" means distribution or otherwise making
   2.277 +  the Covered Code available to a third party.
   2.278 +
   2.279 +  1.1. "Contributor" means each entity that creates or
   2.280 +  contributes to the creation of Modifications.
   2.281 +
   2.282 +  1.2. "Contributor Version" means the combination of the
   2.283 +  Original Code, prior Modifications used by a Contributor, and
   2.284 +  the Modifications made by that particular Contributor.
   2.285 +
   2.286 +  1.3. "Covered Code" means the Original Code or Modifications
   2.287 +  or the combination of the Original Code and Modifications, in
   2.288 +  each case including portions thereof and corresponding
   2.289 +  documentation released with the source code.
   2.290 +
   2.291 +  1.4. "Electronic Distribution Mechanism" means a mechanism
   2.292 +  generally accepted in the software development community for
   2.293 +  the electronic transfer of data.
   2.294 +
   2.295 +  1.5. "Executable" means Covered Code in any form other than
   2.296 +  Source Code.
   2.297 +
   2.298 +  1.6. "Initial Developer" means the individual or entity
   2.299 +  identified as the Initial Developer in the Source Code notice
   2.300 +  required by Exhibit A.
   2.301 +
   2.302 +  1.7. "Larger Work" means a work which combines Covered Code or
   2.303 +  portions thereof with code not governed by the terms of this
   2.304 +  License.
   2.305 +
   2.306 +  1.8. "License" means this document.
   2.307 +
   2.308 +  1.8.1. "Licensable" means having the right to grant, to the
   2.309 +  maximum extent possible, whether at the time of the initial
   2.310 +  grant or subsequently acquired, any and all of the rights
   2.311 +  conveyed herein.
   2.312 +
   2.313 +  1.9. "Modifications" means any addition to or deletion from
   2.314 +  the substance or structure of either the Original Code or any
   2.315 +  previous Modifications. When Covered Code is released as a
   2.316 +  series of files, a Modification is:
   2.317 +
   2.318 +  A. Any addition to or deletion from the contents of a file
   2.319 +  containing Original Code or previous Modifications.
   2.320 +
   2.321 +  B. Any new file that contains any part of the Original Code or
   2.322 +  previous Modifications.
   2.323 +
   2.324 +  1.10. "Original Code" means Source Code of computer software
   2.325 +  code which is described in the Source Code notice required by
   2.326 +  Exhibit A as Original Code, and which, at the time of its
   2.327 +  release under this License is not already Covered Code
   2.328 +  governed by this License.
   2.329 +
   2.330 +  1.10.1. "Patent Claims" means any patent claim(s), now owned
   2.331 +  or hereafter acquired, including without limitation, method,
   2.332 +  process, and apparatus claims, in any patent Licensable by
   2.333 +  grantor.
   2.334 +
   2.335 +  1.11. "Source Code" means the preferred form of the Covered
   2.336 +  Code for making modifications to it, including all modules it
   2.337 +  contains, plus any associated documentation, interface
   2.338 +  definition files, scripts used to control compilation and
   2.339 +  installation of an Executable, or source code differential
   2.340 +  comparisons against either the Original Code or another well
   2.341 +  known, available Covered Code of the Contributor's choice. The
   2.342 +  Source Code can be in a compressed or archival form, provided
   2.343 +  the appropriate decompression or de-archiving software is
   2.344 +  widely available for no charge.
   2.345 +
   2.346 +  1.12. "You" (or "Your") means an individual or a legal entity
   2.347 +  exercising rights under, and complying with all of the terms
   2.348 +  of, this License or a future version of this License issued
   2.349 +  under Section 6.1. For legal entities, "You" includes any
   2.350 +  entity which controls, is controlled by, or is under common
   2.351 +  control with You. For purposes of this definition, "control"
   2.352 +  means (a) the power, direct or indirect, to cause the
   2.353 +  direction or management of such entity, whether by contract or
   2.354 +  otherwise, or (b) ownership of more than fifty percent (50%)
   2.355 +  of the outstanding shares or beneficial ownership of such
   2.356 +  entity.
   2.357 +
   2.358 +2. Source Code License.
   2.359 +
   2.360 +2.1 The Initial Developer Grant.
   2.361 +
   2.362 +  The Initial Developer hereby grants You a world-wide, royalty-
   2.363 +  free, non-exclusive license, subject to third party
   2.364 +  intellectual property claims:
   2.365 +
   2.366 +  (a)  under intellectual property rights (other than patent or
   2.367 +  trademark) Licensable by Initial Developer to use, reproduce,
   2.368 +  modify, display, perform, sublicense and distribute the
   2.369 +  Original Code (or portions thereof) with or without
   2.370 +  Modifications, and/or as part of a Larger Work; and
   2.371 +
   2.372 +  (b) under Patent Claims infringed by the making, using or
   2.373 +  selling of Original Code, to make, have made, use, practice,
   2.374 +  sell, and offer for sale, and/or otherwise dispose of the
   2.375 +  Original Code (or portions thereof).
   2.376 +
   2.377 +  (c) the licenses granted in this Section 2.1(a) and (b) are
   2.378 +  effective on the date Initial Developer first distributes
   2.379 +  Original Code under the terms of this License.
   2.380 +
   2.381 +  (d) Notwithstanding Section 2.1(b) above, no patent license is
   2.382 +  granted: 1)   for code that You delete from the Original Code;
   2.383 +  2) separate from the   Original Code; or 3) for infringements
   2.384 +  caused by: i) the modification of the Original Code or ii) the
   2.385 +  combination of the Original Code with other software or
   2.386 +  devices.
   2.387 +
   2.388 +2.2. Contributor Grant.
   2.389 +
   2.390 +  Subject to third party intellectual property claims, each
   2.391 +  Contributor hereby grants You a world-wide, royalty-free, non-
   2.392 +  exclusive license
   2.393 +
   2.394 +  (a) under intellectual property rights (other than patent or
   2.395 +  trademark) Licensable by Contributor, to use, reproduce,
   2.396 +  modify, display, perform, sublicense and distribute the
   2.397 +  Modifications created by such Contributor (or portions
   2.398 +  thereof) either on an unmodified basis, with other
   2.399 +  Modifications, as Covered Code and/or as part of a Larger
   2.400 +  Work; and
   2.401 +
   2.402 +  (b) under Patent Claims infringed by the making, using, or
   2.403 +  selling of Modifications made by that Contributor either alone
   2.404 +  and/or in combination with its Contributor Version (or
   2.405 +  portions of such combination), to make, use, sell, offer for
   2.406 +  sale, have made, and/or otherwise dispose of: 1) Modifications
   2.407 +  made by that Contributor (or portions thereof); and 2) the
   2.408 +  combination of Modifications made by that Contributor with its
   2.409 +  Contributor Version (or portions of such combination).
   2.410 +
   2.411 +  (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
   2.412 +  effective on the date Contributor first makes Commercial Use
   2.413 +  of the Covered Code.
   2.414 +
   2.415 +  (d)  notwithstanding Section 2.2(b) above, no patent license
   2.416 +  is granted: 1) for any code that Contributor has deleted from
   2.417 +  the Contributor Version; 2)  separate from the Contributor
   2.418 +  Version; 3) for infringements caused by: i) third party
   2.419 +  modifications of Contributor Version or ii) the combination of
   2.420 +  Modifications made by that Contributor with other software
   2.421 +  (except as part of the Contributor Version) or other devices;
   2.422 +  or 4) under Patent Claims infringed by Covered Code in the
   2.423 +  absence of Modifications made by that Contributor.
   2.424 +
   2.425 +3. Distribution Obligations.
   2.426 +
   2.427 +3.1. Application of License.
   2.428 +
   2.429 +  The Modifications which You create or to which You contribute
   2.430 +  are governed by the terms of this License, including without
   2.431 +  limitation Section 2.2. The Source Code version of Covered
   2.432 +  Code may be distributed only under the terms of this License
   2.433 +  or a future version of this License released under Section
   2.434 +  6.1, and You must include a copy of this License with every
   2.435 +  copy of the Source Code You distribute. You may not offer or
   2.436 +  impose any terms on any Source Code version that alters or
   2.437 +  restricts the applicable version of this License or the
   2.438 +  recipients' rights hereunder. However, You may include an
   2.439 +  additional document offering the additional rights described
   2.440 +  in Section 3.5.
   2.441 +
   2.442 +3.2. Availability of Source Code.
   2.443 +
   2.444 +  Any Modification which You create or to which You contribute
   2.445 +  must be made available in Source Code form under the terms of
   2.446 +  this License either on the same media as an Executable version
   2.447 +  or via an accepted Electronic Distribution Mechanism to anyone
   2.448 +  to whom you made an Executable version available; and if made
   2.449 +  available via Electronic Distribution Mechanism, must remain
   2.450 +  available for at least twelve (12) months after the date it
   2.451 +  initially became available, or at least six (6) months after a
   2.452 +  subsequent version of that particular Modification has been
   2.453 +  made available to such recipients. You are responsible for
   2.454 +  ensuring that the Source Code version remains available even
   2.455 +  if the Electronic Distribution Mechanism is maintained by a
   2.456 +  third party.
   2.457 +
   2.458 +3.3. Description of Modifications.
   2.459 +
   2.460 +  You must cause all Covered Code to which You contribute to
   2.461 +  contain a file documenting the changes You made to create that
   2.462 +  Covered Code and the date of any change. You must include a
   2.463 +  prominent statement that the Modification is derived, directly
   2.464 +  or indirectly, from Original Code provided by the Initial
   2.465 +  Developer and including the name of the Initial Developer in
   2.466 +  (a) the Source Code, and (b) in any notice in an Executable
   2.467 +  version or related documentation in which You describe the
   2.468 +  origin or ownership of the Covered Code.
   2.469 +
   2.470 +3.4. Intellectual Property Matters.
   2.471 +
   2.472 +  (a) Third Party Claims.
   2.473 +
   2.474 +  If Contributor has knowledge that a license under a third
   2.475 +  party's intellectual property rights is required to exercise
   2.476 +  the rights granted by such Contributor under Sections 2.1 or
   2.477 +  2.2, Contributor must include a text file with the Source Code
   2.478 +  distribution titled "LEGAL'' which describes the claim and the
   2.479 +  party making the claim in sufficient detail that a recipient
   2.480 +  will know whom to contact. If Contributor obtains such
   2.481 +  knowledge after the Modification is made available as
   2.482 +  described in Section 3.2, Contributor shall promptly modify
   2.483 +  the LEGAL file in all copies Contributor makes available
   2.484 +  thereafter and shall take other steps (such as notifying
   2.485 +  appropriate mailing lists or newsgroups) reasonably calculated
   2.486 +  to inform those who received the Covered Code that new
   2.487 +  knowledge has been obtained.
   2.488 +
   2.489 +  (b) Contributor APIs.
   2.490 +
   2.491 +  If Contributor's Modifications include an application
   2.492 +  programming interface ("API") and Contributor has knowledge of
   2.493 +  patent licenses which are reasonably necessary to implement
   2.494 +  that API, Contributor must also include this information in
   2.495 +  the LEGAL file.
   2.496 +
   2.497 +  (c) Representations.
   2.498 +
   2.499 +  Contributor represents that, except as disclosed pursuant to
   2.500 +  Section 3.4(a) above, Contributor believes that Contributor's
   2.501 +  Modifications are Contributor's original creation(s) and/or
   2.502 +  Contributor has sufficient rights to grant the rights conveyed
   2.503 +  by this License.
   2.504 +
   2.505 +3.5. Required Notices.
   2.506 +
   2.507 +  You must duplicate the notice in Exhibit A in each file of the
   2.508 +  Source Code. If it is not possible to put such notice in a
   2.509 +  particular Source Code file due to its structure, then You
   2.510 +  must include such notice in a location (such as a relevant
   2.511 +  directory) where a user would be likely to look for such a
   2.512 +  notice.  If You created one or more Modification(s) You may
   2.513 +  add your name as a Contributor to the notice described in
   2.514 +  Exhibit A. You must also duplicate this License in any
   2.515 +  documentation for the Source Code where You describe
   2.516 +  recipients' rights or ownership rights relating to Covered
   2.517 +  Code. You may choose to offer, and to charge a fee for,
   2.518 +  warranty, support, indemnity or liability obligations to one
   2.519 +  or more recipients of Covered Code. However, You may do so
   2.520 +  only on Your own behalf, and not on behalf of the Initial
   2.521 +  Developer or any Contributor. You must make it absolutely
   2.522 +  clear than any such warranty, support, indemnity or liability
   2.523 +  obligation is offered by You alone, and You hereby agree to
   2.524 +  indemnify the Initial Developer and every Contributor for any
   2.525 +  liability incurred by the Initial Developer or such
   2.526 +  Contributor as a result of warranty, support, indemnity or
   2.527 +  liability terms You offer.
   2.528 +
   2.529 +3.6. Distribution of Executable Versions.
   2.530 +
   2.531 +  You may distribute Covered Code in Executable form only if the
   2.532 +  requirements of Section 3.1-3.5 have been met for that Covered
   2.533 +  Code, and if You include a notice stating that the Source Code
   2.534 +  version of the Covered Code is available under the terms of
   2.535 +  this License, including a description of how and where You
   2.536 +  have fulfilled the obligations of Section 3.2. The notice must
   2.537 +  be conspicuously included in any notice in an Executable
   2.538 +  version, related documentation or collateral in which You
   2.539 +  describe recipients' rights relating to the Covered Code. You
   2.540 +  may distribute the Executable version of Covered Code or
   2.541 +  ownership rights under a license of Your choice, which may
   2.542 +  contain terms different from this License, provided that You
   2.543 +  are in compliance with the terms of this License and that the
   2.544 +  license for the Executable version does not attempt to limit
   2.545 +  or alter the recipient's rights in the Source Code version
   2.546 +  from the rights set forth in this License. If You distribute
   2.547 +  the Executable version under a different license You must make
   2.548 +  it absolutely clear that any terms which differ from this
   2.549 +  License are offered by You alone, not by the Initial Developer
   2.550 +  or any Contributor. You hereby agree to indemnify the Initial
   2.551 +  Developer and every Contributor for any liability incurred by
   2.552 +  the Initial Developer or such Contributor as a result of any
   2.553 +  such terms You offer.
   2.554 +
   2.555 +3.7. Larger Works.
   2.556 +
   2.557 +  You may create a Larger Work by combining Covered Code with
   2.558 +  other code not governed by the terms of this License and
   2.559 +  distribute the Larger Work as a single product. In such a
   2.560 +  case, You must make sure the requirements of this License are
   2.561 +  fulfilled for the Covered Code.
   2.562 +
   2.563 +4. Inability to Comply Due to Statute or Regulation.
   2.564 +
   2.565 +  If it is impossible for You to comply with any of the terms of
   2.566 +  this License with respect to some or all of the Covered Code
   2.567 +  due to statute, judicial order, or regulation then You must:
   2.568 +  (a) comply with the terms of this License to the maximum
   2.569 +  extent possible; and (b) describe the limitations and the code
   2.570 +  they affect. Such description must be included in the LEGAL
   2.571 +  file described in Section 3.4 and must be included with all
   2.572 +  distributions of the Source Code. Except to the extent
   2.573 +  prohibited by statute or regulation, such description must be
   2.574 +  sufficiently detailed for a recipient of ordinary skill to be
   2.575 +  able to understand it.
   2.576 +
   2.577 +5. Application of this License.
   2.578 +
   2.579 +  This License applies to code to which the Initial Developer
   2.580 +  has attached the notice in Exhibit A and to related Covered
   2.581 +  Code.
   2.582 +
   2.583 +6. Versions of the License.
   2.584 +
   2.585 +6.1. New Versions.
   2.586 +
   2.587 +  Sun Microsystems, Inc. ("Sun") may publish revised and/or new
   2.588 +  versions of the License from time to time. Each version will
   2.589 +  be given a distinguishing version number.
   2.590 +
   2.591 +6.2. Effect of New Versions.
   2.592 +
   2.593 +  Once Covered Code has been published under a particular
   2.594 +  version of the License, You may always continue to use it
   2.595 +  under the terms of that version. You may also choose to use
   2.596 +  such Covered Code under the terms of any subsequent version of
   2.597 +  the License published by Sun. No one other than Sun has the
   2.598 +  right to modify the terms applicable to Covered Code created
   2.599 +  under this License.
   2.600 +
   2.601 +6.3. Derivative Works.
   2.602 +
   2.603 +  If You create or use a modified version of this License (which
   2.604 +  you may only do in order to apply it to code which is not
   2.605 +  already Covered Code governed by this License), You must: (a)
   2.606 +  rename Your license so that the phrases "Sun," "Sun Public
   2.607 +  License," or "SPL" or any confusingly similar phrase do not
   2.608 +  appear in your license (except to note that your license
   2.609 +  differs from this License) and (b) otherwise make it clear
   2.610 +  that Your version of the license contains terms which differ
   2.611 +  from the Sun Public License. (Filling in the name of the
   2.612 +  Initial Developer, Original Code or Contributor in the notice
   2.613 +  described in Exhibit A shall not of themselves be deemed to be
   2.614 +  modifications of this License.)
   2.615 +
   2.616 +7. DISCLAIMER OF WARRANTY.
   2.617 +
   2.618 +  COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS''
   2.619 +  BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
   2.620 +  IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE
   2.621 +  COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A
   2.622 +  PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO
   2.623 +  THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU.
   2.624 +  SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU
   2.625 +  (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME
   2.626 +  THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION.
   2.627 +  THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF
   2.628 +  THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED
   2.629 +  HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
   2.630 +
   2.631 +8. TERMINATION.
   2.632 +
   2.633 +  8.1. This License and the rights granted hereunder will
   2.634 +  terminate automatically if You fail to comply with terms
   2.635 +  herein and fail to cure such breach within 30 days of becoming
   2.636 +  aware of the breach. All sublicenses to the Covered Code which
   2.637 +  are properly granted shall survive any termination of this
   2.638 +  License. Provisions which, by their nature, must remain in
   2.639 +  effect beyond the termination of this License shall survive.
   2.640 +
   2.641 +  8.2. If You initiate litigation by asserting a patent
   2.642 +  infringement claim (excluding declaratory judgment actions)
   2.643 +  against Initial Developer or a Contributor (the Initial
   2.644 +  Developer or Contributor against whom You file such action is
   2.645 +  referred to as "Participant")  alleging that:
   2.646 +
   2.647 +  (a) such Participant's Contributor Version directly or
   2.648 +  indirectly infringes any patent, then any and all rights
   2.649 +  granted by such Participant to You under Sections 2.1 and/or
   2.650 +  2.2 of this License shall, upon 60 days notice from
   2.651 +  Participant terminate prospectively, unless if within 60 days
   2.652 +  after receipt of notice You either: (i) agree in writing to
   2.653 +  pay Participant a mutually agreeable reasonable royalty for
   2.654 +  Your past and future use of Modifications made by such
   2.655 +  Participant, or (ii) withdraw Your litigation claim with
   2.656 +  respect to the Contributor Version against such Participant.
   2.657 +  If within 60 days of notice, a reasonable royalty and payment
   2.658 +  arrangement are not mutually agreed upon in writing by the
   2.659 +  parties or the litigation claim is not withdrawn, the rights
   2.660 +  granted by Participant to You under Sections 2.1 and/or 2.2
   2.661 +  automatically terminate at the expiration of the 60 day notice
   2.662 +  period specified above.
   2.663 +
   2.664 +  (b) any software, hardware, or device, other than such
   2.665 +  Participant's Contributor Version, directly or indirectly
   2.666 +  infringes any patent, then any rights granted to You by such
   2.667 +  Participant under Sections 2.1(b) and 2.2(b) are revoked
   2.668 +  effective as of the date You first made, used, sold,
   2.669 +  distributed, or had made, Modifications made by that
   2.670 +  Participant.
   2.671 +
   2.672 +  8.3. If You assert a patent infringement claim against
   2.673 +  Participant alleging that such Participant's Contributor
   2.674 +  Version directly or indirectly infringes any patent where such
   2.675 +  claim is resolved (such as by license or settlement) prior to
   2.676 +  the initiation of patent infringement litigation, then the
   2.677 +  reasonable value of the licenses granted by such Participant
   2.678 +  under Sections 2.1 or 2.2 shall be taken into account in
   2.679 +  determining the amount or value of any payment or license.
   2.680 +
   2.681 +  8.4. In the event of termination under Sections 8.1 or 8.2
   2.682 +  above,  all end user license agreements (excluding
   2.683 +  distributors and resellers) which have been validly granted by
   2.684 +  You or any distributor hereunder prior to termination shall
   2.685 +  survive termination.
   2.686 +
   2.687 +9. LIMITATION OF LIABILITY.
   2.688 +
   2.689 +  UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
   2.690 +  (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
   2.691 +  INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR
   2.692 +  OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
   2.693 +  LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
   2.694 +  CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
   2.695 +  LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE,
   2.696 +  COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
   2.697 +  COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE
   2.698 +  BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS
   2.699 +  LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH
   2.700 +  OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO
   2.701 +  THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME
   2.702 +  JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF
   2.703 +  INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND
   2.704 +  LIMITATION MAY NOT APPLY TO YOU.
   2.705 +
   2.706 +10. U.S. GOVERNMENT END USERS.
   2.707 +
   2.708 +  The Covered Code is a "commercial item," as that term is
   2.709 +  defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of
   2.710 +  "commercial computer software" and "commercial computer
   2.711 +  software documentation," as such terms are used in 48 C.F.R.
   2.712 +  12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48
   2.713 +  C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S.
   2.714 +  Government End Users acquire Covered Code with only those
   2.715 +  rights set forth herein.
   2.716 +
   2.717 +11. MISCELLANEOUS.
   2.718 +
   2.719 +  This License represents the complete agreement concerning
   2.720 +  subject matter hereof. If any provision of this License is
   2.721 +  held to be unenforceable, such provision shall be reformed
   2.722 +  only to the extent necessary to make it enforceable. This
   2.723 +  License shall be governed by California law provisions (except
   2.724 +  to the extent applicable law, if any, provides otherwise),
   2.725 +  excluding its conflict-of-law provisions. With respect to
   2.726 +  disputes in which at least one party is a citizen of, or an
   2.727 +  entity chartered or registered to do business in the United
   2.728 +  States of America, any litigation relating to this License
   2.729 +  shall be subject to the jurisdiction of the Federal Courts of
   2.730 +  the Northern District of California, with venue lying in Santa
   2.731 +  Clara County, California, with the losing party responsible
   2.732 +  for costs, including without limitation, court costs and
   2.733 +  reasonable attorneys' fees and expenses. The application of
   2.734 +  the United Nations Convention on Contracts for the
   2.735 +  International Sale of Goods is expressly excluded. Any law or
   2.736 +  regulation which provides that the language of a contract
   2.737 +  shall be construed against the drafter shall not apply to this
   2.738 +  License.
   2.739 +
   2.740 +12. RESPONSIBILITY FOR CLAIMS.
   2.741 +
   2.742 +  As between Initial Developer and the Contributors, each party
   2.743 +  is responsible for claims and damages arising, directly or
   2.744 +  indirectly, out of its utilization of rights under this
   2.745 +  License and You agree to work with Initial Developer and
   2.746 +  Contributors to distribute such responsibility on an equitable
   2.747 +  basis. Nothing herein is intended or shall be deemed to
   2.748 +  constitute any admission of liability.
   2.749 +
   2.750 +13. MULTIPLE-LICENSED CODE.
   2.751 +
   2.752 +  Initial Developer may designate portions of the Covered Code
   2.753 +  as ?Multiple-Licensed?. ?Multiple-Licensed? means that the
   2.754 +  Initial Developer permits you to utilize portions of the
   2.755 +  Covered Code under Your choice of the alternative licenses, if
   2.756 +  any, specified by the Initial Developer in the file described
   2.757 +  in Exhibit A.
   2.758 +
   2.759 +Exhibit A -Sun Public License Notice.
   2.760 +
   2.761 +  The contents of this file are subject to the Sun Public
   2.762 +  License Version 1.0 (the "License"); you may not use this file
   2.763 +  except in compliance with the License. A copy of the License
   2.764 +  is available at http://www.sun.com/
   2.765 +
   2.766 +  The Original Code is _________________. The Initial Developer
   2.767 +  of the Original Code is ___________. Portions created by
   2.768 +  ______ are Copyright (C)_________. All Rights Reserved.
   2.769 +
   2.770 +  Contributor(s): ______________________________________.
   2.771 +
   2.772 +  Alternatively, the contents of this file may be used under the
   2.773 +  terms of the _____ license (the  ?[___] License?), in which
   2.774 +  case the provisions of [______] License are applicable
   2.775 +  instead of those above. If you wish to allow use of your
   2.776 +  version of this file only under the terms of the [____]
   2.777 +  License and not to allow others to use your version of this
   2.778 +  file under the SPL, indicate your decision by deleting the
   2.779 +  provisions above and replace  them with the notice and other
   2.780 +  provisions required by the [___] License. If you do not delete
   2.781 +  the provisions above, a recipient may use your version of this
   2.782 +  file under either the SPL or the [___] License."
   2.783 +
   2.784 +  [NOTE: The text of this Exhibit A may differ slightly from the
   2.785 +  text of the notices in the Source Code files of the Original
   2.786 +  Code. You should use the text of this Exhibit A rather than
   2.787 +  the text found in the Original Code Source Code for Your
   2.788 +  Modifications.]
   2.789 +