Permalink
Browse files

Bug 236108 - changing licence from NPL/GPL to MPL/GPL to help the Apa…

…che people. The bug in question also suggests an eventual switch to MIT; that may come later.
  • Loading branch information...
1 parent b6866d8 commit fd8ecd7ca0898127f5ceee1d8d11338180e8f3ce gerv%gerv.net committed Nov 10, 2006
Showing with 6,483 additions and 4,272 deletions.
  1. +32 −30 README.html
  2. +34 −0 apiClasses.properties
  3. +27 −23 build.properties
  4. +34 −0 build.xml
  5. +34 −0 deprecatedsrc/build.xml
  6. +26 −23 deprecatedsrc/org/mozilla/javascript/ClassDefinitionException.java
  7. +28 −25 deprecatedsrc/org/mozilla/javascript/NotAFunctionException.java
  8. +28 −25 deprecatedsrc/org/mozilla/javascript/PropertyException.java
  9. +34 −0 docs/RhinoDebugger.html
  10. +34 −0 docs/ScriptingJava.html
  11. +34 −0 docs/api.html
  12. +34 −0 docs/bsf.html
  13. +34 −0 docs/changes.html
  14. +34 −0 docs/debugger.html
  15. +34 −0 docs/doc.html
  16. +34 −0 docs/download.html
  17. +34 −0 docs/embedding-engine.html
  18. +34 −0 docs/examples.html
  19. +34 −0 docs/faq.html
  20. +34 −0 docs/footprint.html
  21. +34 −0 docs/help.html
  22. +34 −0 docs/index.html
  23. +34 −0 docs/javaone.html
  24. +34 −0 docs/jsc.html
  25. +34 −0 docs/limits.html
  26. +34 −0 docs/opt.html
  27. +34 −0 docs/overview.html
  28. +34 −0 docs/owner.js
  29. +34 −0 docs/perf.html
  30. +34 −0 docs/rhino15R1.html
  31. +34 −0 docs/rhino15R2.html
  32. +34 −0 docs/rhino15R3.html
  33. +34 −0 docs/rhino15R4-debugger.html
  34. +34 −0 docs/rhino15R4.html
  35. +34 −0 docs/rhino15R41.html
  36. +34 −0 docs/rhino15R5.html
  37. +34 −0 docs/rhino16R1.html
  38. +34 −0 docs/rhino16R2.html
  39. +34 −0 docs/rhino16R3.html
  40. +34 −0 docs/runtime.html
  41. +34 −0 docs/scopes.html
  42. +34 −0 docs/scriptjava.html
  43. +34 −0 docs/serialization.html
  44. +34 −0 docs/shell.html
  45. +34 −0 docs/tutorial.html
  46. +26 −23 examples/Control.java
  47. +28 −25 examples/Counter.java
  48. +27 −24 examples/CounterTest.java
  49. +27 −24 examples/DynamicScopes.java
  50. +27 −24 examples/E4X/e4x_example.js
  51. +27 −24 examples/File.java
  52. +26 −23 examples/Foo.java
  53. +26 −23 examples/Matrix.java
  54. +34 −0 examples/NervousText.html
  55. +34 −0 examples/NervousText.js
  56. +27 −24 examples/PrimitiveWrapFactory.java
  57. +26 −23 examples/RunScript.java
  58. +26 −23 examples/RunScript2.java
  59. +26 −23 examples/RunScript3.java
  60. +26 −23 examples/RunScript4.java
  61. +26 −23 examples/Shell.java
  62. +34 −0 examples/SwingApplication.js
  63. +27 −24 examples/checkParam.js
  64. +27 −24 examples/enum.js
  65. +28 −25 examples/jsdoc.js
  66. +28 −25 examples/liveConnect.js
  67. +28 −25 examples/unique.js
  68. +34 −0 src/build.xml
  69. +27 −24 src/org/mozilla/classfile/ByteCode.java
  70. +27 −24 src/org/mozilla/classfile/ClassFileWriter.java
  71. +28 −25 src/org/mozilla/javascript/Arguments.java
  72. +30 −27 src/org/mozilla/javascript/BaseFunction.java
  73. +28 −25 src/org/mozilla/javascript/Callable.java
  74. +27 −24 src/org/mozilla/javascript/ClassCache.java
  75. +28 −25 src/org/mozilla/javascript/ClassShutter.java
  76. +27 −24 src/org/mozilla/javascript/CompilerEnvirons.java
  77. +25 −37 src/org/mozilla/javascript/Context.java
  78. +28 −25 src/org/mozilla/javascript/ContextAction.java
  79. +27 −24 src/org/mozilla/javascript/ContextFactory.java
  80. +28 −25 src/org/mozilla/javascript/ContextListener.java
  81. +29 −26 src/org/mozilla/javascript/DToA.java
  82. +29 −26 src/org/mozilla/javascript/Decompiler.java
  83. +27 −24 src/org/mozilla/javascript/DefaultErrorReporter.java
  84. +30 −28 src/org/mozilla/javascript/DefiningClassLoader.java
  85. +27 −25 src/org/mozilla/javascript/Delegator.java
  86. +27 −24 src/org/mozilla/javascript/EcmaError.java
  87. +27 −24 src/org/mozilla/javascript/ErrorReporter.java
  88. +27 −24 src/org/mozilla/javascript/EvaluatorException.java
  89. +27 −24 src/org/mozilla/javascript/Function.java
  90. +28 −25 src/org/mozilla/javascript/FunctionNode.java
  91. +30 −27 src/org/mozilla/javascript/FunctionObject.java
  92. +28 −25 src/org/mozilla/javascript/GeneratedClassLoader.java
  93. +31 −28 src/org/mozilla/javascript/IRFactory.java
  94. +28 −25 src/org/mozilla/javascript/IdFunctionCall.java
  95. +27 −24 src/org/mozilla/javascript/IdFunctionObject.java
  96. +27 −24 src/org/mozilla/javascript/IdScriptableObject.java
  97. +29 −26 src/org/mozilla/javascript/ImporterTopLevel.java
  98. +27 −24 src/org/mozilla/javascript/InterfaceAdapter.java
  99. +28 −25 src/org/mozilla/javascript/InterpretedFunction.java
  100. +33 −30 src/org/mozilla/javascript/Interpreter.java
  101. +28 −25 src/org/mozilla/javascript/InterpreterData.java
  102. +34 −31 src/org/mozilla/javascript/JavaAdapter.java
  103. +31 −28 src/org/mozilla/javascript/JavaMembers.java
  104. +28 −25 src/org/mozilla/javascript/JavaScriptException.java
  105. +27 −24 src/org/mozilla/javascript/Kit.java
  106. +27 −24 src/org/mozilla/javascript/LazilyLoadedCtor.java
  107. +28 −25 src/org/mozilla/javascript/MemberBox.java
  108. +29 −26 src/org/mozilla/javascript/NativeArray.java
  109. +29 −26 src/org/mozilla/javascript/NativeBoolean.java
  110. +27 −24 src/org/mozilla/javascript/NativeCall.java
  111. +28 −25 src/org/mozilla/javascript/NativeDate.java
  112. +28 −25 src/org/mozilla/javascript/NativeError.java
  113. +30 −27 src/org/mozilla/javascript/NativeFunction.java
  114. +29 −26 src/org/mozilla/javascript/NativeGlobal.java
  115. +31 −28 src/org/mozilla/javascript/NativeJavaArray.java
  116. +31 −28 src/org/mozilla/javascript/NativeJavaClass.java
  117. +29 −26 src/org/mozilla/javascript/NativeJavaConstructor.java
  118. +29 −26 src/org/mozilla/javascript/NativeJavaMethod.java
  119. +31 −28 src/org/mozilla/javascript/NativeJavaObject.java
  120. +29 −26 src/org/mozilla/javascript/NativeJavaPackage.java
  121. +29 −26 src/org/mozilla/javascript/NativeJavaTopPackage.java
  122. +28 −25 src/org/mozilla/javascript/NativeMath.java
  123. +29 −26 src/org/mozilla/javascript/NativeNumber.java
  124. +29 −26 src/org/mozilla/javascript/NativeObject.java
  125. +30 −27 src/org/mozilla/javascript/NativeScript.java
  126. +29 −26 src/org/mozilla/javascript/NativeString.java
  127. +28 −25 src/org/mozilla/javascript/NativeWith.java
  128. +29 −26 src/org/mozilla/javascript/Node.java
  129. +30 −27 src/org/mozilla/javascript/NodeTransformer.java
  130. +27 −24 src/org/mozilla/javascript/ObjArray.java
  131. +27 −24 src/org/mozilla/javascript/ObjToIntMap.java
  132. +33 −30 src/org/mozilla/javascript/Parser.java
  133. +34 −0 src/org/mozilla/javascript/PolicySecurityController.java
  134. +28 −25 src/org/mozilla/javascript/Ref.java
  135. +28 −25 src/org/mozilla/javascript/RefCallable.java
  136. +27 −25 src/org/mozilla/javascript/RegExpProxy.java
  137. +28 −25 src/org/mozilla/javascript/RhinoException.java
  138. +27 −24 src/org/mozilla/javascript/Script.java
  139. +27 −24 src/org/mozilla/javascript/ScriptOrFnNode.java
  140. +35 −32 src/org/mozilla/javascript/ScriptRuntime.java
  141. +27 −24 src/org/mozilla/javascript/Scriptable.java
  142. +29 −26 src/org/mozilla/javascript/ScriptableObject.java
  143. +34 −0 src/org/mozilla/javascript/SecureCaller.java
  144. +28 −25 src/org/mozilla/javascript/SecurityController.java
  145. +28 −25 src/org/mozilla/javascript/SecurityUtilities.java
  146. +27 −24 src/org/mozilla/javascript/SpecialRef.java
  147. +27 −25 src/org/mozilla/javascript/Synchronizer.java
  148. +30 −27 src/org/mozilla/javascript/Token.java
  149. +32 −29 src/org/mozilla/javascript/TokenStream.java
  150. +27 −24 src/org/mozilla/javascript/UintMap.java
  151. +28 −25 src/org/mozilla/javascript/Undefined.java
  152. +27 −24 src/org/mozilla/javascript/UniqueTag.java
  153. +25 −24 src/org/mozilla/javascript/VMBridge.java
  154. +28 −25 src/org/mozilla/javascript/WrapFactory.java
  155. +27 −24 src/org/mozilla/javascript/WrappedException.java
  156. +28 −25 src/org/mozilla/javascript/Wrapper.java
  157. +27 −24 src/org/mozilla/javascript/continuations/Continuation.java
  158. +27 −24 src/org/mozilla/javascript/debug/DebugFrame.java
  159. +28 −25 src/org/mozilla/javascript/debug/DebuggableObject.java
  160. +28 −25 src/org/mozilla/javascript/debug/DebuggableScript.java
  161. +27 −24 src/org/mozilla/javascript/debug/Debugger.java
  162. +25 −24 src/org/mozilla/javascript/jdk11/VMBridge_jdk11.java
  163. +25 −25 src/org/mozilla/javascript/jdk13/VMBridge_jdk13.java
  164. +29 −27 src/org/mozilla/javascript/optimizer/Block.java
  165. +27 −25 src/org/mozilla/javascript/optimizer/ClassCompiler.java
  166. +31 −29 src/org/mozilla/javascript/optimizer/Codegen.java
  167. +28 −26 src/org/mozilla/javascript/optimizer/DataFlowBitSet.java
  168. +28 −26 src/org/mozilla/javascript/optimizer/OptFunctionNode.java
  169. +29 −27 src/org/mozilla/javascript/optimizer/OptRuntime.java
  170. +28 −26 src/org/mozilla/javascript/optimizer/OptTransformer.java
  171. +28 −26 src/org/mozilla/javascript/optimizer/Optimizer.java
  172. +30 −27 src/org/mozilla/javascript/regexp/NativeRegExp.java
  173. +29 −26 src/org/mozilla/javascript/regexp/NativeRegExpCtor.java
  174. +26 −23 src/org/mozilla/javascript/regexp/RegExpImpl.java
  175. +26 −23 src/org/mozilla/javascript/regexp/SubString.java
  176. +27 −23 src/org/mozilla/javascript/resources/Messages.properties
  177. +29 −23 src/org/mozilla/javascript/resources/Messages_fr.properties
  178. +29 −23 src/org/mozilla/javascript/serialize/ScriptableInputStream.java
  179. +28 −22 src/org/mozilla/javascript/serialize/ScriptableOutputStream.java
  180. +27 −24 src/org/mozilla/javascript/xml/XMLLib.java
  181. +30 −27 src/org/mozilla/javascript/xml/XMLObject.java
  182. +34 −0 testsrc/org/mozilla/javascript/StandardTests.java
  183. +34 −0 toolsrc/build.xml
  184. +28 −25 toolsrc/org/mozilla/javascript/tools/ToolErrorReporter.java
  185. +30 −28 toolsrc/org/mozilla/javascript/tools/debugger/Dim.java
  186. +28 −25 toolsrc/org/mozilla/javascript/tools/debugger/GuiCallback.java
  187. +30 −28 toolsrc/org/mozilla/javascript/tools/debugger/Main.java
  188. +29 −27 toolsrc/org/mozilla/javascript/tools/debugger/ScopeProvider.java
  189. +30 −28 toolsrc/org/mozilla/javascript/tools/debugger/SwingGui.java
  190. +34 −0 toolsrc/org/mozilla/javascript/tools/debugger/build.xml
  191. +27 −24 toolsrc/org/mozilla/javascript/tools/debugger/test.js
  192. +27 −24 toolsrc/org/mozilla/javascript/tools/idswitch/CodePrinter.java
  193. +27 −24 toolsrc/org/mozilla/javascript/tools/idswitch/FileBody.java
  194. +28 −25 toolsrc/org/mozilla/javascript/tools/idswitch/IdValuePair.java
  195. +27 −24 toolsrc/org/mozilla/javascript/tools/idswitch/Main.java
  196. +34 −0 toolsrc/org/mozilla/javascript/tools/idswitch/README
  197. +27 −24 toolsrc/org/mozilla/javascript/tools/idswitch/SwitchGenerator.java
  198. +29 −27 toolsrc/org/mozilla/javascript/tools/jsc/Main.java
  199. +26 −22 toolsrc/org/mozilla/javascript/tools/resources/Messages.properties
  200. +27 −25 toolsrc/org/mozilla/javascript/tools/shell/ConsoleTextArea.java
  201. +26 −23 toolsrc/org/mozilla/javascript/tools/shell/Environment.java
  202. +32 −29 toolsrc/org/mozilla/javascript/tools/shell/Global.java
  203. +27 −25 toolsrc/org/mozilla/javascript/tools/shell/JSConsole.java
  204. +27 −24 toolsrc/org/mozilla/javascript/tools/shell/JavaPolicySecurity.java
  205. +31 −28 toolsrc/org/mozilla/javascript/tools/shell/Main.java
  206. +28 −25 toolsrc/org/mozilla/javascript/tools/shell/QuitAction.java
  207. +28 −25 toolsrc/org/mozilla/javascript/tools/shell/SecurityProxy.java
  208. +27 −24 toolsrc/org/mozilla/javascript/tools/shell/ShellContextFactory.java
  209. +34 −0 xmlimplsrc/build.xml
  210. +27 −24 xmlimplsrc/org/mozilla/javascript/xmlimpl/LogicalEquality.java
  211. +29 −26 xmlimplsrc/org/mozilla/javascript/xmlimpl/Namespace.java
  212. +27 −24 xmlimplsrc/org/mozilla/javascript/xmlimpl/NamespaceHelper.java
  213. +29 −26 xmlimplsrc/org/mozilla/javascript/xmlimpl/QName.java
  214. +29 −26 xmlimplsrc/org/mozilla/javascript/xmlimpl/XML.java
  215. +27 −24 xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLCtor.java
  216. +27 −24 xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLLibImpl.java
  217. +29 −26 xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLList.java
  218. +28 −25 xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLName.java
  219. +30 −27 xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLObjectImpl.java
  220. +30 −27 xmlimplsrc/org/mozilla/javascript/xmlimpl/XMLWithScope.java
View
@@ -1,37 +1,39 @@
<html>
-<!--
- - The contents of this file are subject to the Netscape Public
- - License Version 1.1 (the "License"); you may not use this file
- - except in compliance with the License. You may obtain a copy of
- - the License at http://www.mozilla.org/NPL/
- -
- - Software distributed under the License is distributed on an "AS
- - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- - implied. See the License for the specific language governing
- - rights and limitations under the License.
- -
+<!-- ***** BEGIN LICENSE BLOCK *****
+ - Version: MPL 1.1/GPL 2.0
+ -
+ - The contents of this file are subject to the Mozilla Public License Version
+ - 1.1 (the "License"); you may not use this file except in compliance with
+ - the License. You may obtain a copy of the License at
+ - http://www.mozilla.org/MPL/
+ -
+ - Software distributed under the License is distributed on an "AS IS" basis,
+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ - for the specific language governing rights and limitations under the
+ - License.
+ -
- The Original Code is Rhino code, released
- May 6, 1999.
- -
- - The Initial Developer of the Original Code is Netscape
- - Communications Corporation. Portions created by Netscape are
- - Copyright (C) 1998-1999 Netscape Communications Corporation. All
- - Rights Reserved.
- -
+ -
+ - The Initial Developer of the Original Code is
+ - Netscape Communications Corporation.
+ - Portions created by the Initial Developer are Copyright (C) 1998-1999
+ - the Initial Developer. All Rights Reserved.
+ -
- Contributor(s):
- - Norris Boyd
- -
- - Alternatively, the contents of this file may be used under the
- - terms of the GNU Public License (the "GPL"), in which case the
- - provisions of the GPL are applicable instead of those above.
- - If you wish to allow use of your version of this file only
- - under the terms of the GPL and not to allow others to use your
- - version of this file under the NPL, indicate your decision by
- - deleting the provisions above and replace them with the notice
- - and other provisions required by the GPL. If you do not delete
- - the provisions above, a recipient may use your version of this
- - file under either the NPL or the GPL.
- -->
+ - Norris Boyd
+ -
+ - Alternatively, the contents of this file may be used under the terms of
+ - the GNU General Public License Version 2 or later (the "GPL"), in which
+ - case the provisions of the GPL are applicable instead of those above. If
+ - you wish to allow use of your version of this file only under the terms of
+ - the GPL and not to allow others to use your version of this file under the
+ - MPL, indicate your decision by deleting the provisions above and replacing
+ - them with the notice and other provisions required by the GPL. If you do
+ - not delete the provisions above, a recipient may use your version of this
+ - file under either the MPL or the GPL.
+ -
+ - ***** END LICENSE BLOCK ***** -->
<body>
<h1>
<span CLASS=LXRSHORTDESC>
View
@@ -1,3 +1,37 @@
+# ***** BEGIN LICENSE BLOCK *****
+# Version: MPL 1.1/GPL 2.0
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Original Code is Rhino code, released May 6, 1999.
+#
+# The Initial Developer of the Original Code is
+# Netscape Communications Corporation.
+# Portions created by the Initial Developer are Copyright (C) 1997-1999
+# the Initial Developer. All Rights Reserved.
+#
+# Contributor(s):
+#
+# Alternatively, the contents of this file may be used under the terms of
+# the GNU General Public License Version 2 or later (the "GPL"), in which
+# case the provisions of the GPL are applicable instead of those above. If
+# you wish to allow use of your version of this file only under the terms of
+# the GPL and not to allow others to use your version of this file under the
+# MPL, indicate your decision by deleting the provisions above and replacing
+# them with the notice and other provisions required by the GPL. If you do
+# not delete the provisions above, a recipient may use your version of this
+# file under either the MPL or the GPL.
+#
+# ***** END LICENSE BLOCK *****
+
apiClasses=\
src/org/mozilla/javascript/Callable.java,\
src/org/mozilla/javascript/ClassCache.java,\
View
@@ -1,34 +1,38 @@
-# The contents of this file are subject to the Netscape Public
-# License Version 1.1 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.mozilla.org/NPL/
+# ***** BEGIN LICENSE BLOCK *****
+# Version: MPL 1.1/GPL 2.0
#
-# Software distributed under the License is distributed on an "AS
-# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-# implied. See the License for the specific language governing
-# rights and limitations under the License.
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+# http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
#
# The Original Code is Rhino code, released
# May 6, 1999.
#
-# The Initial Developer of the Original Code is Netscape
-# Communications Corporation. Portions created by Netscape are
-# Copyright (C) 1997-1999 Netscape Communications Corporation. All
-# Rights Reserved.
+# The Initial Developer of the Original Code is
+# Netscape Communications Corporation.
+# Portions created by the Initial Developer are Copyright (C) 1997-1999
+# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
-# Igor Bukanov
+# Igor Bukanov
+#
+# Alternatively, the contents of this file may be used under the terms of
+# the GNU General Public License Version 2 or later (the "GPL"), in which
+# case the provisions of the GPL are applicable instead of those above. If
+# you wish to allow use of your version of this file only under the terms of
+# the GPL and not to allow others to use your version of this file under the
+# MPL, indicate your decision by deleting the provisions above and replacing
+# them with the notice and other provisions required by the GPL. If you do
+# not delete the provisions above, a recipient may use your version of this
+# file under either the MPL or the GPL.
#
-# Alternatively, the contents of this file may be used under the
-# terms of the GNU Public License (the "GPL"), in which case the
-# provisions of the GPL are applicable instead of those above.
-# If you wish to allow use of your version of this file only
-# under the terms of the GPL and not to allow others to use your
-# version of this file under the NPL, indicate your decision by
-# deleting the provisions above and replace them with the notice
-# and other provisions required by the GPL. If you do not delete
-# the provisions above, a recipient may use your version of this
-# file under either the NPL or the GPL.
+# ***** END LICENSE BLOCK *****
name: rhino
Name: Rhino
View
@@ -1,4 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+ - Version: MPL 1.1/GPL 2.0
+ -
+ - The contents of this file are subject to the Mozilla Public License Version
+ - 1.1 (the "License"); you may not use this file except in compliance with
+ - the License. You may obtain a copy of the License at
+ - http://www.mozilla.org/MPL/
+ -
+ - Software distributed under the License is distributed on an "AS IS" basis,
+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ - for the specific language governing rights and limitations under the
+ - License.
+ -
+ - The Original Code is Rhino code, released May 6, 1999.
+ -
+ - The Initial Developer of the Original Code is
+ - Netscape Communications Corporation.
+ - Portions created by the Initial Developer are Copyright (C) 1997-1999
+ - the Initial Developer. All Rights Reserved.
+ -
+ - Contributor(s):
+ -
+ - Alternatively, the contents of this file may be used under the terms of
+ - the GNU General Public License Version 2 or later (the "GPL"), in which
+ - case the provisions of the GPL are applicable instead of those above. If
+ - you wish to allow use of your version of this file only under the terms of
+ - the GPL and not to allow others to use your version of this file under the
+ - MPL, indicate your decision by deleting the provisions above and replacing
+ - them with the notice and other provisions required by the GPL. If you do
+ - not delete the provisions above, a recipient may use your version of this
+ - file under either the MPL or the GPL.
+ -
+ - ***** END LICENSE BLOCK ***** -->
+
<!--
Build file for Rhino using Ant (see http://jakarta.apache.org/ant/index.html)
View
@@ -1,4 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+ - Version: MPL 1.1/GPL 2.0
+ -
+ - The contents of this file are subject to the Mozilla Public License Version
+ - 1.1 (the "License"); you may not use this file except in compliance with
+ - the License. You may obtain a copy of the License at
+ - http://www.mozilla.org/MPL/
+ -
+ - Software distributed under the License is distributed on an "AS IS" basis,
+ - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ - for the specific language governing rights and limitations under the
+ - License.
+ -
+ - The Original Code is Rhino code, released May 6, 1999.
+ -
+ - The Initial Developer of the Original Code is
+ - Netscape Communications Corporation.
+ - Portions created by the Initial Developer are Copyright (C) 1997-1999
+ - the Initial Developer. All Rights Reserved.
+ -
+ - Contributor(s):
+ -
+ - Alternatively, the contents of this file may be used under the terms of
+ - the GNU General Public License Version 2 or later (the "GPL"), in which
+ - case the provisions of the GPL are applicable instead of those above. If
+ - you wish to allow use of your version of this file only under the terms of
+ - the GPL and not to allow others to use your version of this file under the
+ - MPL, indicate your decision by deleting the provisions above and replacing
+ - them with the notice and other provisions required by the GPL. If you do
+ - not delete the provisions above, a recipient may use your version of this
+ - file under either the MPL or the GPL.
+ -
+ - ***** END LICENSE BLOCK ***** -->
+
<project name="src" default="compile" basedir="..">
@@ -1,37 +1,40 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
- * The contents of this file are subject to the Netscape Public
- * License Version 1.1 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.mozilla.org/NPL/
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0
*
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
- * The Initial Developer of the Original Code is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1997-1999 Netscape Communications Corporation. All
- * Rights Reserved.
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1997-1999
+ * the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
- * Alternatively, the contents of this file may be used under the
- * terms of the GNU Public License (the "GPL"), in which case the
- * provisions of the GPL are applicable instead of those above.
- * If you wish to allow use of your version of this file only
- * under the terms of the GPL and not to allow others to use your
- * version of this file under the NPL, indicate your decision by
- * deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL. If you do not delete
- * the provisions above, a recipient may use your version of this
- * file under either the NPL or the GPL.
- */
+ * Alternatively, the contents of this file may be used under the terms of
+ * the GNU General Public License Version 2 or later (the "GPL"), in which
+ * case the provisions of the GPL are applicable instead of those above. If
+ * you wish to allow use of your version of this file only under the terms of
+ * the GPL and not to allow others to use your version of this file under the
+ * MPL, indicate your decision by deleting the provisions above and replacing
+ * them with the notice and other provisions required by the GPL. If you do
+ * not delete the provisions above, a recipient may use your version of this
+ * file under either the MPL or the GPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
// API class
package org.mozilla.javascript;
@@ -1,38 +1,41 @@
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
- * The contents of this file are subject to the Netscape Public
- * License Version 1.1 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.mozilla.org/NPL/
+ * ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0
*
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
*
* The Original Code is Rhino code, released
* May 6, 1999.
*
- * The Initial Developer of the Original Code is Netscape
- * Communications Corporation. Portions created by Netscape are
- * Copyright (C) 1997-1999 Netscape Communications Corporation. All
- * Rights Reserved.
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1997-1999
+ * the Initial Developer. All Rights Reserved.
*
* Contributor(s):
- * Igor Bukanov
- *
- * Alternatively, the contents of this file may be used under the
- * terms of the GNU Public License (the "GPL"), in which case the
- * provisions of the GPL are applicable instead of those above.
- * If you wish to allow use of your version of this file only
- * under the terms of the GPL and not to allow others to use your
- * version of this file under the NPL, indicate your decision by
- * deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL. If you do not delete
- * the provisions above, a recipient may use your version of this
- * file under either the NPL or the GPL.
- */
+ * Igor Bukanov
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * the GNU General Public License Version 2 or later (the "GPL"), in which
+ * case the provisions of the GPL are applicable instead of those above. If
+ * you wish to allow use of your version of this file only under the terms of
+ * the GPL and not to allow others to use your version of this file under the
+ * MPL, indicate your decision by deleting the provisions above and replacing
+ * them with the notice and other provisions required by the GPL. If you do
+ * not delete the provisions above, a recipient may use your version of this
+ * file under either the MPL or the GPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
// API class
package org.mozilla.javascript;
Oops, something went wrong.

0 comments on commit fd8ecd7

Please sign in to comment.