incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmue...@apache.org
Subject [1/4] git commit: changed all licenses to ASLv2
Date Mon, 16 Jan 2012 16:17:18 GMT
Updated Branches:
  refs/heads/master 6c5be40b3 -> c1d74e2c0


changed all licenses to ASLv2

issue: Apache source headers in callback-weinre
       https://issues.apache.org/jira/browse/CB-10


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/commit/c1d74e2c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/tree/c1d74e2c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/diff/c1d74e2c

Branch: refs/heads/master
Commit: c1d74e2c0940f58f6788bd27eb44ee1cfb760ba1
Parents: 6c5be40
Author: Patrick Mueller <pmuellr@apache.org>
Authored: Mon Jan 16 11:12:39 2012 -0500
Committer: Patrick Mueller <pmuellr@apache.org>
Committed: Mon Jan 16 11:12:39 2012 -0500

----------------------------------------------------------------------
 README.md                                          |   19 ++
 .../macosx/weinre.app/Contents/Info.plist          |   20 ++-
 .../macosx/weinre.app/Contents/MacOS/launcher      |   20 ++-
 .../src/weinre/application/GUIMain.java            |  140 +++++++------
 .../src/weinre/application/GUIPreferences.java     |   30 ++-
 .../src/weinre/application/ShellSizeTracker.java   |   62 +++--
 weinre.build/README.md                             |   19 ++
 weinre.build/build-continuous.sh                   |   22 ++-
 weinre.build/build.properties                      |   18 ++-
 weinre.build/build.xml                             |   18 ++-
 weinre.build/debug.sh                              |   20 ++
 weinre.build/get-vendor.xml                        |   18 ++-
 weinre.build/new-release-notes.md                  |   21 ++-
 weinre.build/sample.personal.properties            |   18 ++-
 weinre.build/scripts/build-client-html.py          |   18 ++-
 weinre.build/scripts/build-css-properties.py       |   18 ++-
 weinre.build/scripts/build-target-scripts.py       |   18 ++-
 weinre.build/scripts/changelog.sh                  |   20 ++-
 weinre.build/scripts/closed-issues.py              |   23 ++-
 weinre.build/scripts/collect-all-json-idl.py       |   18 ++-
 weinre.build/scripts/simple-idl2json.py            |  170 ++++++++-------
 weinre.build/vendor.properties                     |   18 ++-
 weinre.doc/Building.body.html                      |   18 ++-
 weinre.doc/ChangeLog.body.html                     |   18 ++-
 weinre.doc/Home.body.html                          |   18 ++-
 weinre.doc/Installing.body.html                    |   18 ++-
 weinre.doc/License.body.html                       |   30 ++-
 weinre.doc/MultiUser.body.html                     |   18 ++-
 weinre.doc/Running.body.html                       |   18 ++-
 weinre.doc/Security.body.html                      |   18 ++-
 weinre.doc/TestDrive.body.html                     |   52 +++--
 weinre.doc/UserInterface.body.html                 |   18 ++-
 weinre.doc/boilerplate-header.html.txt             |   18 ++-
 weinre.doc/boilerplate-trailer.html.txt            |   18 ++-
 weinre.doc/css/main.css                            |   18 ++-
 weinre.doc/scripts/main.js                         |   36 ++-
 weinre.server/interfaces/WeinreClientCommands.idl  |   26 ++-
 weinre.server/interfaces/WeinreClientEvents.idl    |   26 ++-
 .../interfaces/WeinreExtraClientCommands.idl       |   22 ++-
 .../interfaces/WeinreExtraTargetEvents.idl         |   22 ++-
 weinre.server/interfaces/WeinreTargetCommands.idl  |   22 ++-
 weinre.server/interfaces/WeinreTargetEvents.idl    |   26 ++-
 weinre.server/src/weinre/server/Channel.java       |   18 ++-
 .../src/weinre/server/ChannelManager.java          |   52 +++--
 .../weinre/server/ChannelManagerEventListener.java |   24 ++-
 weinre.server/src/weinre/server/Client.java        |   44 +++--
 .../src/weinre/server/ConnectionManager.java       |   62 +++--
 weinre.server/src/weinre/server/Connector.java     |   54 +++--
 .../src/weinre/server/ConsoleOutputStream.java     |   30 ++-
 .../src/weinre/server/ExtensionManager.java        |   60 +++--
 weinre.server/src/weinre/server/Main.java          |   60 +++--
 .../src/weinre/server/MessageHandler.java          |   88 +++++----
 weinre.server/src/weinre/server/MessageQueue.java  |   44 +++--
 .../src/weinre/server/ServerSettings.java          |   96 +++++----
 weinre.server/src/weinre/server/Target.java        |   54 +++--
 weinre.server/src/weinre/server/Utility.java       |   54 +++--
 weinre.server/src/weinre/server/WatchDog.java      |   46 +++--
 .../server/http/ClassPathResourceHandler.java      |   28 ++-
 .../src/weinre/server/http/DebugHandler.java       |   32 ++-
 .../server/http/FilteredRequestLogHandler.java     |   22 ++-
 .../src/weinre/server/http/HttpServer.java         |   54 +++--
 .../src/weinre/server/http/HttpSocketHandler.java  |   88 +++++----
 .../src/weinre/server/http/ProxyServer.java        |   48 +++--
 .../server/service/WeinreClientCommands.java       |   46 +++--
 .../server/service/WeinreTargetCommands.java       |   38 ++-
 weinre.web/client/ExtensionRegistryStub.js         |   18 ++-
 weinre.web/client/InspectorBackendStub.js          |   18 ++-
 weinre.web/client/InspectorFrontendHostStub.js     |   18 ++-
 weinre.web/client/web-inspector-API.js             |   22 ++-
 weinre.web/client/weinre/check-for-webkit.js       |   18 ++-
 weinre.web/client/weinre/client.css                |   18 ++-
 weinre.web/client/weinre/hacks.js                  |   20 ++-
 weinre.web/demo/weinre-demo-min.html               |   18 ++-
 weinre.web/demo/weinre-demo.css                    |   20 ++-
 weinre.web/demo/weinre-demo.html                   |   18 ++-
 weinre.web/demo/weinre-demo.js                     |   18 ++-
 weinre.web/index.html                              |   18 ++-
 weinre.web/index.js                                |   18 ++-
 weinre.web/interfaces/interfaces.css               |   28 ++-
 weinre.web/interfaces/interfaces.html              |   18 ++-
 weinre.web/interfaces/interfaces.js                |   18 ++-
 weinre.web/modules/weinre/client/Client.coffee     |   18 ++-
 .../modules/weinre/client/ConnectorList.coffee     |   18 ++-
 .../modules/weinre/client/DOMTemplates.coffee      |   18 ++-
 .../weinre/client/ExtensionRegistryImpl.coffee     |   18 ++-
 .../weinre/client/InspectorBackendImpl.coffee      |   18 ++-
 .../weinre/client/InspectorFrontendHostImpl.coffee |   18 ++-
 .../modules/weinre/client/RemotePanel.coffee       |   18 ++-
 .../weinre/client/WeinreClientEventsImpl.coffee    |   18 ++-
 .../client/WeinreExtraTargetEventsImpl.coffee      |   18 ++-
 weinre.web/modules/weinre/common/Binding.coffee    |   18 ++-
 weinre.web/modules/weinre/common/Callback.coffee   |   18 ++-
 .../modules/weinre/common/EventListeners.coffee    |   18 ++-
 weinre.web/modules/weinre/common/Ex.coffee         |   18 ++-
 weinre.web/modules/weinre/common/HookLib.coffee    |   18 ++-
 .../modules/weinre/common/IDGenerator.coffee       |   18 ++-
 weinre.web/modules/weinre/common/IDLTools.coffee   |   18 ++-
 .../modules/weinre/common/MessageDispatcher.coffee |   18 ++-
 .../modules/weinre/common/MethodNamer.coffee       |   18 ++-
 weinre.web/modules/weinre/common/StackTrace.coffee |   18 ++-
 .../modules/weinre/common/WebSocketXhr.coffee      |   18 ++-
 weinre.web/modules/weinre/common/Weinre.coffee     |   18 ++-
 weinre.web/modules/weinre/target/CSSStore.coffee   |   18 ++-
 .../modules/weinre/target/CheckForProblems.coffee  |   18 ++-
 weinre.web/modules/weinre/target/Console.coffee    |   18 ++-
 .../weinre/target/ElementHighlighter.coffee        |   18 ++-
 .../weinre/target/ElementHighlighterDivs2.coffee   |   18 ++-
 weinre.web/modules/weinre/target/HookSites.coffee  |   18 ++-
 .../weinre/target/InjectedScriptHostImpl.coffee    |   18 ++-
 .../modules/weinre/target/NetworkRequest.coffee    |   18 ++-
 weinre.web/modules/weinre/target/NodeStore.coffee  |   18 ++-
 weinre.web/modules/weinre/target/SqlStepper.coffee |   18 ++-
 weinre.web/modules/weinre/target/Target.coffee     |   18 ++-
 weinre.web/modules/weinre/target/Timeline.coffee   |   18 ++-
 .../target/WeinreExtraClientCommandsImpl.coffee    |   18 ++-
 .../weinre/target/WeinreTargetEventsImpl.coffee    |   18 ++-
 weinre.web/modules/weinre/target/WiCSSImpl.coffee  |   18 ++-
 .../modules/weinre/target/WiConsoleImpl.coffee     |   18 ++-
 weinre.web/modules/weinre/target/WiDOMImpl.coffee  |   18 ++-
 .../modules/weinre/target/WiDOMStorageImpl.coffee  |   18 ++-
 .../modules/weinre/target/WiDatabaseImpl.coffee    |   18 ++-
 .../modules/weinre/target/WiInspectorImpl.coffee   |   18 ++-
 .../modules/weinre/target/WiRuntimeImpl.coffee     |   18 ++-
 .../weinre/unused/ElementHighlighterCanvas.coffee  |   18 ++-
 .../weinre/unused/ElementHighlighterDivs4.coffee   |   18 ++-
 weinre.web/tests/element-highlighter.html          |   19 ++
 weinre.web/tests/index.html                        |   19 ++
 weinre.web/versions.js                             |   18 ++-
 128 files changed, 2545 insertions(+), 959 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 2ffdf99..5d2773a 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
 For more information on weinre:
 [http://callback.github.com/callback-weinre/](http://callback.github.com/callback-weinre/)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.application/resources/macosx/weinre.app/Contents/Info.plist
----------------------------------------------------------------------
diff --git a/weinre.application/resources/macosx/weinre.app/Contents/Info.plist b/weinre.application/resources/macosx/weinre.app/Contents/Info.plist
index 3e8310a..f1b4861 100644
--- a/weinre.application/resources/macosx/weinre.app/Contents/Info.plist
+++ b/weinre.application/resources/macosx/weinre.app/Contents/Info.plist
@@ -2,10 +2,22 @@
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- * 
- * Copyright (c) 2010, 2011 IBM Corporation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <plist version="1.0">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.application/resources/macosx/weinre.app/Contents/MacOS/launcher
----------------------------------------------------------------------
diff --git a/weinre.application/resources/macosx/weinre.app/Contents/MacOS/launcher b/weinre.application/resources/macosx/weinre.app/Contents/MacOS/launcher
index ffc287d..f76ffc5 100644
--- a/weinre.application/resources/macosx/weinre.app/Contents/MacOS/launcher
+++ b/weinre.application/resources/macosx/weinre.app/Contents/MacOS/launcher
@@ -1,10 +1,22 @@
 #!/bin/sh
 
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
-# 
-# Copyright (c) 2010, 2011 IBM Corporation
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 BASEDIR=`dirname $0`

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.application/src/weinre/application/GUIMain.java
----------------------------------------------------------------------
diff --git a/weinre.application/src/weinre/application/GUIMain.java b/weinre.application/src/weinre/application/GUIMain.java
index 7ae91a4..28208ff 100644
--- a/weinre.application/src/weinre/application/GUIMain.java
+++ b/weinre.application/src/weinre/application/GUIMain.java
@@ -1,8 +1,20 @@
 /*
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- * 
- * Copyright (c) 2010, 2011 IBM Corporation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package weinre.application;
@@ -42,7 +54,7 @@ public class GUIMain extends Main {
     private Color            red;
     private GUIPreferences   preferences;
     private ShellSizeTracker shellSizeTracker;
-    
+
     //---------------------------------------------------------------
     static public void main(String[] args) {
         GUIMain main = new GUIMain(args);
@@ -52,10 +64,10 @@ public class GUIMain extends Main {
     //---------------------------------------------------------------
     private GUIMain(String[] args) {
         super(args);
-        
+
         preferences = new GUIPreferences();
     }
-    
+
     //---------------------------------------------------------------
     @Override
     public void run() {
@@ -66,11 +78,11 @@ public class GUIMain extends Main {
                 httpServerStart();
             }
         };
-        
+
         new Thread(serverRunnable, "main server thread").start();
 
         uiRun();
-        
+
         exit();
     }
 
@@ -93,15 +105,15 @@ public class GUIMain extends Main {
     @Override
     public void addServerConsoleMessage(final String line, final boolean stdout) {
         if (null == console) return;
-        
+
         if (console.isDisposed()) return;
-        
+
         console.getDisplay().asyncExec(new Runnable() {
            public void run() {
                if (console.isDisposed()) return;
-               
+
                String theLine = line + Text.DELIMITER;
-               
+
                Color color = null;
                if (!stdout) color = red;
 
@@ -109,19 +121,19 @@ public class GUIMain extends Main {
                styleRange.start      = console.getCharCount();
                styleRange.length     = theLine.length();
                styleRange.foreground = color;
-               
+
                console.append(theLine);
                console.setStyleRange(styleRange);
            }
         });
     }
-    
+
     //---------------------------------------------------------------
     @Override
     public int severeError(final String message) {
         if (null == display) return super.severeError(message);
         if (display.isDisposed()) return super.severeError(message);
-        
+
         display.syncExec(new Runnable() {
            public void run() {
                boolean noGUI = false;
@@ -129,12 +141,12 @@ public class GUIMain extends Main {
                if (null == shell)        noGUI = true;
                if (display.isDisposed()) noGUI = true;
                if (shell.isDisposed())   noGUI = true;
-               
+
                if (noGUI) {
                    GUIMain.super.severeError(message);
                    return;
                }
-               
+
                MessageBox messageBox = new MessageBox(shell, SWT.ICON_ERROR | SWT.OK);
                messageBox.setMessage(message);
                messageBox.setText("weinre exiting");
@@ -142,22 +154,22 @@ public class GUIMain extends Main {
                exit();
            }
         });
-        
+
         return 0;
     }
-    
+
     //---------------------------------------------------------------
     private void uiBuild() {
         Display.setAppName("weinre");
         Display.setAppVersion("???");
-        
+
         display = new Display();
         shell   = new Shell(display);
-        
+
         red = new Color(display, 255, 0, 0);
 
         shell.setText("weinre - Web Inspector Remote");
-        
+
         CTabFolder tabFolder       = new CTabFolder(shell, SWT.BORDER | SWT.BOTTOM);
         CTabItem   tabItemDebugger = createTabItem(tabFolder, "Debugger");
         CTabItem   tabItemConsole  = createTabItem(tabFolder, "Server Console");
@@ -165,31 +177,31 @@ public class GUIMain extends Main {
 
         debugger = new Browser(tabFolder, SWT.NONE);
         tabItemDebugger.setControl(debugger);
-        
+
         console = new StyledText(tabFolder, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
         console.setEditable(false);
         console.setFont(getMonospaceFont(console));
 
         homePage = new Browser(tabFolder, SWT.NONE);
         tabItemHomePage.setControl(homePage);
-        
+
         tabItemConsole.setControl(console);
-        
+
         fillParent(debugger,  0, 0, 0, 0);
         fillParent(console,   0, 0, 0, 0);
         fillParent(homePage,  0, 0, 0, 0);
         fillParent(tabFolder, 5, 5, 5, 5);
-        
+
         tabFolder.pack();
         createMenuBar();
-        
+
         shellSizeTracker = new ShellSizeTracker("main", shell, preferences);
         shellSizeTracker.start();
-        
+
         try {
             String       boundsKey = ShellSizeTracker.getBoundsKey(shell, "main");
             JSONObject   bounds    = preferences.getPreference(boundsKey);
-            
+
             if (null != bounds) {
                 Integer x, y, w, h;
                 try {
@@ -200,23 +212,23 @@ public class GUIMain extends Main {
                 } catch (JSONException e) {
                     throw new RuntimeException(e);
                 }
-                
+
                 if ((null != w) && (null != h)) {
                     shell.setBounds(x,y,w,h);
                 }
             }
-            
+
             else {
                 shell.setBounds(100, 100, 700, 500);
             }
-            
+
         }
         catch (IOException e) {
             Main.warn("exception reading preferences: " + e);
         }
-        
+
     }
- 
+
     //---------------------------------------------------------------
     private void createMenuBar() {
 //        Menu menu = new Menu(shell, SWT.BAR);
@@ -225,12 +237,12 @@ public class GUIMain extends Main {
 //        fileMenuItem.setText("File");
 //        MenuItem editMenuItem = new MenuItem(menu, SWT.CASCADE);
 //        editMenuItem.setText("Edit");
-     }        
+     }
 
     //---------------------------------------------------------------
     private void uiRun() {
         shell.open();
-        
+
         while (!shell.isDisposed()) {
             if (!display.readAndDispatch())
                 display.sleep();
@@ -242,32 +254,32 @@ public class GUIMain extends Main {
     private CTabItem createTabItem(CTabFolder tabFolder, String text) {
         CTabItem tabItem = new CTabItem(tabFolder, SWT.NONE);
         tabItem.setText(text);
-        
+
         Font       font     = tabItem.getFont();
         FontData[] fontData = font.getFontData();
-        
+
         for (FontData fontDatum: fontData) {
             double newHeight = fontDatum.getHeight() * 1.25;
             fontDatum.setHeight((int) newHeight);
         }
-        
+
         font = new Font(display, fontData);
         tabItem.setFont(font);
-        
+
         return tabItem;
     }
-    
+
     //---------------------------------------------------------------
     private void fillParent(Control control, int marginT, int marginR, int marginB, int marginL ) {
         FormLayout formLayout = new FormLayout();
-        
-        formLayout.marginTop    = marginT; 
+
+        formLayout.marginTop    = marginT;
         formLayout.marginBottom = marginB;
         formLayout.marginLeft   = marginL;
         formLayout.marginRight  = marginR;
-        
+
         FormData formData = new FormData();
-        
+
         formData.left     = new FormAttachment(0);
         formData.right    = new FormAttachment(100);
         formData.top      = new FormAttachment(0);
@@ -276,27 +288,27 @@ public class GUIMain extends Main {
         control.getParent().setLayout(formLayout);
         control.setLayoutData(formData);
     }
-    
+
     //---------------------------------------------------------------
     private String getBrowserURL() {
         String result;
-        
+
         ServerSettings settings = weinre.server.Main.getSettings();
-        
+
         String host = settings.getNiceHostName();
         int    port = settings.getHttpPort();
-        
+
         result = "http://" + host + ":" + port + "/";
-        
+
         return result;
     }
-    
+
     //---------------------------------------------------------------
     private Font getMonospaceFont(Control control) {
         FontData[] fontData = control.getDisplay().getFontList(null, true);
-        
+
         FontData fontFound = null;
-        
+
         // essentially the defaults that web inspector uses
         if (null == fontFound) fontFound = findFontNamed(fontData, "Menlo");
         if (null == fontFound) fontFound = findFontNamed(fontData, "Monaco");
@@ -304,39 +316,39 @@ public class GUIMain extends Main {
         if (null == fontFound) fontFound = findFontNamed(fontData, "Lucida Console");
         if (null == fontFound) fontFound = findFontNamed(fontData, "dejavu sans mono");
         if (null == fontFound) fontFound = findFontNamed(fontData, "Courier");
-        
+
         if (null == fontFound) return null;
 
         fontFound.setHeight(14);
-        
+
         return new Font(control.getDisplay(), fontFound);
     }
-    
+
     //---------------------------------------------------------------
     private FontData findFontNamed(FontData[] fontData, String name) {
         for (FontData fontDatum: fontData) {
             if (fontDatum.getStyle() != SWT.NORMAL) continue;
-            if (name.equals(fontDatum.getName())) return fontDatum; 
+            if (name.equals(fontDatum.getName())) return fontDatum;
         }
-        
+
         return null;
     }
-    
+
     //---------------------------------------------------------------
     @SuppressWarnings("unused")
     private void dumpFontData(FontData[] fontData) {
         for (FontData fontDatum: fontData) {
             int    style       = fontDatum.getStyle();
             String styleString = "";
-            
+
             if (0 != (style & SWT.NORMAL)) styleString += "NORMAL ";
             if (0 != (style & SWT.BOLD))   styleString += "BOLD ";
             if (0 != (style & SWT.ITALIC)) styleString += "ITALIC ";
-            
+
             styleString = styleString.trim();
-            
+
             System.out.println("font: " + fontDatum.getName() + " : " + fontDatum.getHeight() + " : " + styleString);
         }
     }
-    
+
 }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.application/src/weinre/application/GUIPreferences.java
----------------------------------------------------------------------
diff --git a/weinre.application/src/weinre/application/GUIPreferences.java b/weinre.application/src/weinre/application/GUIPreferences.java
index 200ea0a..3751584 100644
--- a/weinre.application/src/weinre/application/GUIPreferences.java
+++ b/weinre.application/src/weinre/application/GUIPreferences.java
@@ -1,8 +1,20 @@
 /*
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- * 
- * Copyright (c) 2010, 2011 IBM Corporation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package weinre.application;
@@ -19,16 +31,16 @@ import weinre.server.Utility;
 //-------------------------------------------------------------------
 public class GUIPreferences {
     static final private String PROPERTIES_FILE_NAME = "ui.properties";
-    
+
     private Properties properties;
-    
+
     //---------------------------------------------------------------
     public GUIPreferences() {
         super();
 
         properties = Utility.readPropertiesFile(PROPERTIES_FILE_NAME);
     }
-    
+
     //---------------------------------------------------------------
     public JSONObject getPreference(String key) throws IOException {
         String val = properties.getProperty(key);
@@ -40,11 +52,11 @@ public class GUIPreferences {
             throw new RuntimeException(e);
         }
     }
-    
+
     //---------------------------------------------------------------
     public void setPreference(String key, JSONObject json) {
         String val = json.toString();
-        
+
         properties.setProperty(key, val);
         Utility.writePropertiesFile(PROPERTIES_FILE_NAME, properties);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.application/src/weinre/application/ShellSizeTracker.java
----------------------------------------------------------------------
diff --git a/weinre.application/src/weinre/application/ShellSizeTracker.java b/weinre.application/src/weinre/application/ShellSizeTracker.java
index 5fbad4b..e5d8972 100644
--- a/weinre.application/src/weinre/application/ShellSizeTracker.java
+++ b/weinre.application/src/weinre/application/ShellSizeTracker.java
@@ -1,8 +1,20 @@
 /*
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- * 
- * Copyright (c) 2010, 2011 IBM Corporation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package weinre.application;
@@ -31,9 +43,9 @@ public class ShellSizeTracker {
 
     //---------------------------------------------------------------
     static public String getBoundsKey(Shell shell, String name) {
-        return "bounds-" + name + "-" + ShellSizeTracker.getMonitorSetupKey(shell.getDisplay());        
+        return "bounds-" + name + "-" + ShellSizeTracker.getMonitorSetupKey(shell.getDisplay());
     }
-    
+
     //---------------------------------------------------------------
     static private String getMonitorSetupKey(final Display display) {
         StringBuffer keyBuffer = new StringBuffer();
@@ -42,29 +54,29 @@ public class ShellSizeTracker {
         for (Monitor monitor: monitors) {
             Rectangle bounds     = monitor.getBounds();
             Rectangle clientArea = monitor.getClientArea();
-            
+
             keyBuffer.append("__");
             keyBuffer.append(bounds.x);      keyBuffer.append("_");
             keyBuffer.append(bounds.y);      keyBuffer.append("_");
             keyBuffer.append(bounds.width);  keyBuffer.append("_");
             keyBuffer.append(bounds.height);
-            
+
             keyBuffer.append("__");
             keyBuffer.append(clientArea.x);      keyBuffer.append("_");
             keyBuffer.append(clientArea.y);      keyBuffer.append("_");
             keyBuffer.append(clientArea.width);  keyBuffer.append("_");
-            keyBuffer.append(clientArea.height); 
+            keyBuffer.append(clientArea.height);
         }
 
         keyBuffer.insert(0, "monitor-setup");
-        
+
         return keyBuffer.toString();
     }
-    
+
     //---------------------------------------------------------------
     public ShellSizeTracker(String name, final Shell shell, GUIPreferences preferences) {
         super();
-        
+
         this.name         = name;
         this.shell        = shell;
         this.preferences  = preferences;
@@ -72,24 +84,24 @@ public class ShellSizeTracker {
         this.lastSize     = new Point(0,0);
         this.lastLocation = new Point(0,0);
         this.stop         = false;
-        
+
         shell.addControlListener(new ControlListener() {
             public void controlMoved(ControlEvent e)   {shellMoved();}
             public void controlResized(ControlEvent e) {shellMoved();}
         });
-        
+
     }
 
     //---------------------------------------------------------------
     public void start() {
         startWaiterThread();
     }
-    
+
     //---------------------------------------------------------------
     public void stop() {
-        
+
     }
-    
+
     //---------------------------------------------------------------
     private void shellMoved() {
         dirty        = true;
@@ -103,9 +115,9 @@ public class ShellSizeTracker {
         if (!dirty) return;
         if (shell.isDisposed()) return;
         if (System.currentTimeMillis() < lastChange + 3000) return;
-        
+
         JSONObject valueJSON = new JSONObject();
-        
+
         try {
             valueJSON.put("x", lastLocation.x);
             valueJSON.put("y", lastLocation.y);
@@ -114,10 +126,10 @@ public class ShellSizeTracker {
         } catch (JSONException e1) {
             throw new RuntimeException(e1);
         }
-        
+
         String key;
         key = ShellSizeTracker.getBoundsKey(shell, name);
-        
+
         preferences.setPreference(key, valueJSON);
 
         dirty = false;
@@ -130,20 +142,20 @@ public class ShellSizeTracker {
             public void run() {
                 while (true) {
                     try { Thread.sleep(1000); } catch(InterruptedException e) { return; }
-                    
+
                     if (stop) return;
                     if (shell.isDisposed()) return;
-                    
+
                     shell.getDisplay().asyncExec(new Runnable() {
                         public void run() { checkForChanges(); }
                     });
                 }
             }
         };
-        
+
         Thread thread = new Thread(runnable, getClass().getSimpleName() + " for " + name);
         thread.start();
-        
+
         return thread;
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/README.md
----------------------------------------------------------------------
diff --git a/weinre.build/README.md b/weinre.build/README.md
index e7a43c9..e47c046 100644
--- a/weinre.build/README.md
+++ b/weinre.build/README.md
@@ -1,3 +1,22 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
 building weinre
 ===============================================================================
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/build-continuous.sh
----------------------------------------------------------------------
diff --git a/weinre.build/build-continuous.sh b/weinre.build/build-continuous.sh
index 8d451a5..e6f1181 100755
--- a/weinre.build/build-continuous.sh
+++ b/weinre.build/build-continuous.sh
@@ -1,10 +1,22 @@
 #!/bin/sh
 
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
-# 
-# Copyright (c) 2010, 2011 IBM Corporation
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 #-------------------------------------------------------------
@@ -26,4 +38,4 @@ run-when-changed "ant build" \
   ../weinre.doc \
   ../weinre.server \
   ../weinre.web
-  
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/build.properties
----------------------------------------------------------------------
diff --git a/weinre.build/build.properties b/weinre.build/build.properties
index 6972e2d..8cb1b96 100644
--- a/weinre.build/build.properties
+++ b/weinre.build/build.properties
@@ -1,8 +1,20 @@
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Copyright (c) 2010, 2011 IBM Corporation
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 #-----------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/build.xml
----------------------------------------------------------------------
diff --git a/weinre.build/build.xml b/weinre.build/build.xml
index 7e72ae8..eab7546 100644
--- a/weinre.build/build.xml
+++ b/weinre.build/build.xml
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <project name="build" default="build" basedir=".">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/debug.sh
----------------------------------------------------------------------
diff --git a/weinre.build/debug.sh b/weinre.build/debug.sh
index 3542f2d..ba681ee 100755
--- a/weinre.build/debug.sh
+++ b/weinre.build/debug.sh
@@ -1,4 +1,24 @@
 #!/bin/sh
+
+# ---
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ---
+
 CWD=`dirname $0`
 WEINRE=`dirname $CWD`
 CP=$WEINRE/weinre.server/bin:$WEINRE/weinre.build/out:$WEINRE/weinre.build/vendor/cli/commons-cli.jar:$WEINRE/weinre.build/vendor/jetty/jetty.jar:$WEINRE/weinre.build/vendor/json4j/json4j.jar:$WEINRE/weinre.build/vendor/jetty/servlet-api.jar

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/get-vendor.xml
----------------------------------------------------------------------
diff --git a/weinre.build/get-vendor.xml b/weinre.build/get-vendor.xml
index 259dfaf..e420835 100644
--- a/weinre.build/get-vendor.xml
+++ b/weinre.build/get-vendor.xml
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <project name="get-vendor" default="get-vendor" basedir=".">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/new-release-notes.md
----------------------------------------------------------------------
diff --git a/weinre.build/new-release-notes.md b/weinre.build/new-release-notes.md
index 937c66f..46f9a71 100644
--- a/weinre.build/new-release-notes.md
+++ b/weinre.build/new-release-notes.md
@@ -1,3 +1,22 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
 steps to create a new release
 ===============================================================================
 
@@ -40,7 +59,7 @@ steps to create a new release
    - `git checkout develop`
    - `git merge --no-ff release-x.y.z`
    - `git push`
-   - `git branch -d release-x.y.z`   
+   - `git branch -d release-x.y.z`
 
 - update github pages:
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/sample.personal.properties
----------------------------------------------------------------------
diff --git a/weinre.build/sample.personal.properties b/weinre.build/sample.personal.properties
index 22f7204..73c2d6e 100644
--- a/weinre.build/sample.personal.properties
+++ b/weinre.build/sample.personal.properties
@@ -1,8 +1,20 @@
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Copyright (c) 2010, 2011 IBM Corporation
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 #------------------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/scripts/build-client-html.py
----------------------------------------------------------------------
diff --git a/weinre.build/scripts/build-client-html.py b/weinre.build/scripts/build-client-html.py
index a06fc05..86bb0ff 100644
--- a/weinre.build/scripts/build-client-html.py
+++ b/weinre.build/scripts/build-client-html.py
@@ -1,10 +1,22 @@
 #!/usr/bin/env python
 
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Copyright (c) 2010, 2011 IBM Corporation
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 import os

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/scripts/build-css-properties.py
----------------------------------------------------------------------
diff --git a/weinre.build/scripts/build-css-properties.py b/weinre.build/scripts/build-css-properties.py
index c6fde75..4ac4122 100644
--- a/weinre.build/scripts/build-css-properties.py
+++ b/weinre.build/scripts/build-css-properties.py
@@ -1,10 +1,22 @@
 #!/usr/bin/env python
 
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Copyright (c) 2010, 2011 IBM Corporation
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 import os

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/scripts/build-target-scripts.py
----------------------------------------------------------------------
diff --git a/weinre.build/scripts/build-target-scripts.py b/weinre.build/scripts/build-target-scripts.py
index 64d1923..721ea26 100644
--- a/weinre.build/scripts/build-target-scripts.py
+++ b/weinre.build/scripts/build-target-scripts.py
@@ -1,10 +1,22 @@
 #!/usr/bin/env python
 
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Copyright (c) 2010, 2011 IBM Corporation
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 import os

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/scripts/changelog.sh
----------------------------------------------------------------------
diff --git a/weinre.build/scripts/changelog.sh b/weinre.build/scripts/changelog.sh
index af3a12f..8c7393a 100755
--- a/weinre.build/scripts/changelog.sh
+++ b/weinre.build/scripts/changelog.sh
@@ -1,10 +1,22 @@
 #/bin/sh
 
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
-# 
-# Copyright (c) 2011 IBM Corporation
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 git log "--pretty=format:- %s" $1.. | \

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/scripts/closed-issues.py
----------------------------------------------------------------------
diff --git a/weinre.build/scripts/closed-issues.py b/weinre.build/scripts/closed-issues.py
index 8eda3ab..4fe32de 100755
--- a/weinre.build/scripts/closed-issues.py
+++ b/weinre.build/scripts/closed-issues.py
@@ -1,5 +1,24 @@
 #!/usr/bin/env python
 
+# ---
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ---
+
 import os
 import sys
 import json
@@ -8,7 +27,7 @@ import httplib
 if len(sys.argv) < 3:
     print "expecting parameters <user> <project>"
     sys.exit()
-    
+
 user = sys.argv[1]
 proj = sys.argv[2]
 
@@ -28,6 +47,6 @@ for issue in issues:
     number = issue["number"]
     title  = issue["title"]
     date   = issue["closed_at"]
-    
+
     template = "<li><a href='https://github.com/%s/%s/issues/%d'>issue %d</a> %s - %s"
     print template % (user, proj, number, number, date, title)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/scripts/collect-all-json-idl.py
----------------------------------------------------------------------
diff --git a/weinre.build/scripts/collect-all-json-idl.py b/weinre.build/scripts/collect-all-json-idl.py
index 2d1d912..9448915 100644
--- a/weinre.build/scripts/collect-all-json-idl.py
+++ b/weinre.build/scripts/collect-all-json-idl.py
@@ -1,10 +1,22 @@
 #!/usr/bin/env python
 
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Copyright (c) 2010, 2011 IBM Corporation
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 import os

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/scripts/simple-idl2json.py
----------------------------------------------------------------------
diff --git a/weinre.build/scripts/simple-idl2json.py b/weinre.build/scripts/simple-idl2json.py
index b5cf521..fceec8a 100644
--- a/weinre.build/scripts/simple-idl2json.py
+++ b/weinre.build/scripts/simple-idl2json.py
@@ -1,10 +1,22 @@
 #!/usr/bin/env python
 
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
-# 
-# Copyright (c) 2010, 2011 IBM Corporation
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 import os
@@ -19,34 +31,34 @@ import optparse
 
 #--------------------------------------------------------------------
 def main():
-    
+
     # parse args
     parser = optparse.OptionParser()
     parser.add_option("--validate",  action="store_true",                 help="validate types")
     parser.add_option("--anyType",   action="append",     metavar="TYPE", help="treat TYPE as an any")
     (options, args) = parser.parse_args()
-    
+
     if options.anyType:
         AnyTypes.extend(options.anyType)
-    
+
     if len(args) <= 0: error("no input files specified")
     iFileName = args[0]
-    
-    if len(args) <= 1: 
+
+    if len(args) <= 1:
         oFileName = "<stdout>"
     else:
         oFileName = args[1]
-    
+
     # read input
     iFile = file(iFileName)
     content = iFile.read()
     iFile.close()
-        
+
     # convert to JSONable
     module = parseIDL(content)
-    
+
     splitNotifyInterfaces(module)
-    
+
 #    if module["name"] == "core":
 #        if len(module["interfaces"]) == 1:
 #            if module["interfaces"][0]["name"] == "Inspector":
@@ -54,57 +66,57 @@ def main():
 
     # convert out parms to callback parms
     convertOutParms(module)
-    
+
     # validate
     if options.validate: validate(module)
 
     # convert to JSON
     jsonModule = json.dumps(module, indent=3)
-    
+
     # write output
-    if oFileName == "<stdout>": 
+    if oFileName == "<stdout>":
         oFile = sys.stdout
     else:
         oFile = file(oFileName,"w")
-        
+
     oFile.write(jsonModule)
 
     # close file
-    if oFileName != "<stdout>": 
+    if oFileName != "<stdout>":
         oFile.close()
         log("generated json file '%s'" %oFileName)
 
 #--------------------------------------------------------------------
 def convertOutParms(module):
     for interface in module["interfaces"]:
-        
+
         if "methods" in interface:
             for method in interface["methods"]:
                 method["callbackParameters"] = []
                 newParameters = []
-                
+
                 for parameter in method["parameters"]:
                     if "out" in parameter:
                         method["callbackParameters"].append(parameter)
                     else:
                         newParameters.append(parameter)
-                        
+
                 method["parameters"] = newParameters
 
 #--------------------------------------------------------------------
 def splitNotifyInterfaces(module):
     newInterfaces = {}
-    
+
     for interface in module["interfaces"][:]:
 
         if "methods" in interface:
             for method in interface["methods"][:]:
                 if "extendedAttributes" not in method: continue
                 if "notify" not in method["extendedAttributes"]: continue
-                
+
                 newInterfaceName = interface["name"] + "Notify"
                 newInterface     = newInterfaces.get(newInterfaceName)
-                
+
                 if not newInterface:
                     newInterface = {
                         "name": newInterfaceName,
@@ -126,16 +138,16 @@ def splitNotifyInterfaces(module):
 def splitInspectorInterfaces(module):
     intfOrig      = module["interfaces"][0]
     newInterfaces = {}
-    
+
     module["interfaces"] = []
 
     for method in intfOrig["methods"]:
         if "domain" not in method["extendedAttributes"]:
             log("Inspector method %s does not have a 'domain' extended attribute" % (method["name"]))
             continue
-            
+
         intfName = method["extendedAttributes"]["domain"]
-        
+
         if "notify" in method["extendedAttributes"]:
             intfName += "Notify"
 
@@ -153,15 +165,15 @@ def splitInspectorInterfaces(module):
             }
             newInterfaces[intfName] = intf
             module["interfaces"].append(intf)
-            
+
         intf["methods"].append(method)
-            
+
 #        for parameter in method["parameters"]:
 #            if "out" not in parameter:
 #                log("Inspector method %s has an unexpected non-out parameter %s" % (method["name"], parameter["name"]))
 #            else:
 #                del parameter["out"]
-        
+
 #        intfWebInspector["methods"].append(method)
 
 #--------------------------------------------------------------------
@@ -169,23 +181,23 @@ def validate(module):
     interfaces = {}
 
     errors = False
-    
+
     # build table of interface names
     for interface in module["interfaces"]:
         interfaces[interface["name"]] = interface
-        
+
     # check interfaces
     for interface in module["interfaces"]:
-        
+
         if "methods" in interface:
             for method in interface["methods"]:
                 location = "%s.%s" % (interface["name"], method["name"])
                 errors = checkType(location, interfaces, method["returns"]) or errors
-                
+
                 for parameter in method["parameters"]:
                     errors = checkType(location, interfaces, parameter["type"]) or errors
-                
-    
+
+
         if "attributes" in interface:
             for attribute in interface["attributes"]:
                 location = "%s.%s" % (interface["name"], attribute["name"])
@@ -195,14 +207,14 @@ def validate(module):
 #--------------------------------------------------------------------
 def checkType(location, interfaces, type):
     typeName = type["name"]
-    
+
     if typeName in BuiltInTypes: return False
     if typeName in interfaces: return False
-    
+
     log("type '%s' is not valid in %s" % (typeName, location))
-    
+
     return True
-    
+
 
 #--------------------------------------------------------------------
 def parseIDL(content):
@@ -211,20 +223,20 @@ def parseIDL(content):
 
     match = PatternModule.match(content)
     if not match: error("no module found in input")
-    
+
     moduleName = match.group(1).strip()
     content    = match.group(2)
-    
+
     module = {}
     module["name"] = moduleName
-    
+
     interfaces = []
     module["interfaces"] = interfaces
-    
+
     while True:
         match = PatternInterface.match(content)
         if not match: break
-        
+
         interfaceEAs  = match.group(1)
         interfaceName = match.group(2).strip()
         interfaceBody = match.group(3)
@@ -233,19 +245,19 @@ def parseIDL(content):
         interface = {}
         interface["name"] = interfaceName
         parseExtendedAttributes(interface, interfaceEAs)
-        
+
         interfaces.append(interface)
-        
+
         while True:
             match = PatternMethod.match(interfaceBody)
             if match:
                 method = parseMethod(match)
                 if not "methods" in interface: interface["methods"] = []
                 interface["methods"].append(method)
-                
+
                 interfaceBody = match.group(6)
                 continue
-                
+
             match = PatternAttribute.match(interfaceBody)
             if match:
                 attribute = parseAttribute(match)
@@ -255,54 +267,54 @@ def parseIDL(content):
                 interfaceBody = match.group(5)
                 continue
 
-            if interfaceBody.strip() != "": 
+            if interfaceBody.strip() != "":
                 error("unexpected input: '%s'" % interfaceBody)
-                
+
             break
-        
+
     if content.strip() != "}": error("unexpected input: '%s'" % content)
-    
+
     return module
 
 #--------------------------------------------------------------------
 def parseExtendedAttributes(object, eaStrings):
     if not eaStrings: return
     if eaStrings == "": return
-    
+
     eaStrings = eaStrings[1:-1]
     eaStrings = eaStrings.split(",")
-    
+
     eas = {}
     for eaString in eaStrings:
         match = PatternExtendedAttribute.match(eaString)
         if not match:
             error("invalid extended attribute: '%s'" % eaString)
-        
+
         if match.group(3):
             eas[match.group(1)] = match.group(3)
         else:
             eas[match.group(1)] = True
-    
+
     if len(eas):
         object["extendedAttributes"] = eas
 
 #--------------------------------------------------------------------
 def parseMethod(match):
     method = {}
-    
+
     eas                  = match.group(1)
     method["returns"]    = getType(match.group(2), match.group(3))
     method["name"]       = match.group(4)
     method["parameters"] = parseMethodParameters(match.group(5))
-    
+
     parseExtendedAttributes(method, eas)
-    
+
     return method
 
 #--------------------------------------------------------------------
 def parseAttribute(match):
     attribute = {}
-    
+
     eas               = match.group(1)
     attribute["type"] = getType(match.group(2), match.group(3))
     attribute["name"] = match.group(4)
@@ -314,43 +326,43 @@ def parseAttribute(match):
 #--------------------------------------------------------------------
 def parseMethodParameters(parameterString):
     parameters = []
-    
+
     parameterString = parameterString.strip()
     if "" == parameterString: return parameters
-    
+
     parmStrings = parameterString.split(",")
     for parmString in parmStrings:
         parameter = {}
-        
+
         parts = parmString.split()
         if parts[0] in ["in", "out"]:
             parmString = " ".join(parts[1:])
             if parts[0] == "out":
                 parameter["out"] = True
-                
+
         match = PatternParameter.match(parmString)
         if not match:
             error("error parsing parameter in '" + parameterString + "'")
-            
-        
+
+
         parameter["type"] = getType(match.group(1), match.group(2))
-        
+
         if match.group(5):
             parameter["name"] = match.group(5)
         else:
             parameter["name"] = match.group(3)
-        
+
         parameters.append(parameter)
-        
+
     return parameters
 
 #--------------------------------------------------------------------
 def getType(name, rank):
     name = name.strip()
     rank = PatternWhiteSpace.sub("", rank)
-    
+
     origName = name
-    
+
     if name == "long":      name = "int"
     if name == "int":       name = "int"
     if name == "double":    name = "float"
@@ -358,24 +370,24 @@ def getType(name, rank):
     if name == "DOMString": name = "string"
     if name == "String":    name = "string"
     if name in AnyTypes:    name = "any"
-    
+
     if name == "Array":
         return {
             "name": "any",
             "rank": 1
         }
-    
+
     result = {}
     result["name"] = name
-    
+
     if name != origName: result["originalName"] = origName
-    
+
     if rank:
-        if (rank == "[]"): 
+        if (rank == "[]"):
             result["rank"] = 1
         else:
             error("currently only one dimensional arrays are supported: %s" % name)
-        
+
     return result
 
 #--------------------------------------------------------------------
@@ -384,7 +396,7 @@ def clean(content):
     content = PatternPreprocessor.sub("", content)
     content = PatternNewLine.sub("", content)
     content = PatternComments.sub("", content)
-    
+
     return content
 
 #--------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.build/vendor.properties
----------------------------------------------------------------------
diff --git a/weinre.build/vendor.properties b/weinre.build/vendor.properties
index 386e4c8..f54545f 100644
--- a/weinre.build/vendor.properties
+++ b/weinre.build/vendor.properties
@@ -1,8 +1,20 @@
 # ---
-# weinre is available under *either* the terms of the modified BSD license *or* the
-# MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
 #
-# Copyright (c) 2011 IBM Corporation
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
 # ---
 
 #-----------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/Building.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/Building.body.html b/weinre.doc/Building.body.html
index 79ab67f..f5dc33b 100644
--- a/weinre.doc/Building.body.html
+++ b/weinre.doc/Building.body.html
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <p>The source repository for weinre is maintained at

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/ChangeLog.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/ChangeLog.body.html b/weinre.doc/ChangeLog.body.html
index 404ad29..9759636 100644
--- a/weinre.doc/ChangeLog.body.html
+++ b/weinre.doc/ChangeLog.body.html
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <!-- ======================================================================= -->

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/Home.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/Home.body.html b/weinre.doc/Home.body.html
index f5ef7de..281414a 100644
--- a/weinre.doc/Home.body.html
+++ b/weinre.doc/Home.body.html
@@ -1,9 +1,21 @@
 
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <p><span class="weinre">weinre</span> is <b>WE</b>b <b>IN</b>spector <b>RE</b>mote.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/Installing.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/Installing.body.html b/weinre.doc/Installing.body.html
index b94638a..c64088a 100644
--- a/weinre.doc/Installing.body.html
+++ b/weinre.doc/Installing.body.html
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <p><span class="weinre">weinre</span> is shipped as two archives

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/License.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/License.body.html b/weinre.doc/License.body.html
index 975309d..d775ca5 100644
--- a/weinre.doc/License.body.html
+++ b/weinre.doc/License.body.html
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <p>weinre contains code from the following other projects:
@@ -31,9 +43,9 @@ JSON codecs.  License: ASLv2
 </ul>
 
 <p>The source for weinre itself is available under either
-the terms of the modified BSD license
-or
-the MIT License.
-See
-<a href="http://opensource.org/licenses/alphabetical">http://opensource.org/licenses/alphabetical</a>
-for full text.
+the terms of the Apacle License, Version 2.0.  You may obtain a copy of the
+License at
+
+<blockquote>
+    <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>
+</blockquote>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/MultiUser.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/MultiUser.body.html b/weinre.doc/MultiUser.body.html
index 065d892..177f363 100644
--- a/weinre.doc/MultiUser.body.html
+++ b/weinre.doc/MultiUser.body.html
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <p><span class="weinre">weinre</span> was originally designed so that each user

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/Running.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/Running.body.html b/weinre.doc/Running.body.html
index 6a63add..652bddd 100644
--- a/weinre.doc/Running.body.html
+++ b/weinre.doc/Running.body.html
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <p>This page describes how to use <span class="weinre">weinre</span> to debug

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/Security.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/Security.body.html b/weinre.doc/Security.body.html
index 14e1ee3..d8c09e6 100644
--- a/weinre.doc/Security.body.html
+++ b/weinre.doc/Security.body.html
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <p>About security for <span class="weinre">weinre</span>: <b>there is none</b>.

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/TestDrive.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/TestDrive.body.html b/weinre.doc/TestDrive.body.html
index 76991e8..1bd1c2d 100644
--- a/weinre.doc/TestDrive.body.html
+++ b/weinre.doc/TestDrive.body.html
@@ -1,16 +1,28 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- * 
- * Copyright (c) 2010, 2011 IBM Corporation
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
-<p>This page gives a walk through of using <span class="weinre">weinre</span> to 
+<p>This page gives a walk through of using <span class="weinre">weinre</span> to
 debug a sample page that is provided with <span class="weinre">weinre</span> itself.  Read
 this walk through first, then follow along and run <span class="weinre">weinre</span> yourself
-to make sure it's installed and running correctly.  
+to make sure it's installed and running correctly.
 
-<p>You may also want to check out 
+<p>You may also want to check out
 <a href="http://www.youtube.com/watch?v=gaAI29UkVCc">the movie</a>, which
 shows a walk through with the demo page.
 
@@ -21,7 +33,7 @@ demo page, but are close enough.
 
 <p>After you're done with the
 walk through, if you want to learn how to debug your own web pages with
-<span class="weinre">weinre</span>, 
+<span class="weinre">weinre</span>,
 head to the
 <a href="Running.html">Running page</a> for more information.
 
@@ -39,26 +51,26 @@ server.  To debug a web page on a remote device (later), you'll need to
 bind to something other than just localhost.  The default configuration
 is the safe one, and good enough to run this walk through.
 
-<p>To start the server,  
+<p>To start the server,
 <a href="Installing.html">install the <tt>weinre.jar</tt> file</a>,
 then run the following command:
 
 <pre>
 java -jar weinre.jar -httpPort 8081
-</pre> 
+</pre>
 
 <p><img src="images/weinre-con-01-h.jpg">
 
-<p>You should see some output in your console, 
+<p>You should see some output in your console,
 like this:
 
 <p><img src="images/weinre-con-02-h.jpg">
 
-<p>If you see messages about "Address in use", 
+<p>If you see messages about "Address in use",
 that means that some other program is using port 8081, and so you'll need to
 use a different one.
 
-<p>Note that the server is now running.  
+<p>Note that the server is now running.
 When you are ready to stop the server, kill the
 program with Ctrl-C or whatever.
 
@@ -90,7 +102,7 @@ We'll click that link a little later.
 Note that you probably want to open this page in
 another window (not just another tab, and not
 replacing this page).
-The link should be 
+The link should be
 <tt><a href="http://localhost:8081/client">http://localhost:8081/client</a></tt>.
 
 <p>You should see the following page in your browser:
@@ -103,12 +115,12 @@ landed on the "Remote" panel; there are tabs for three panels
 shown, at the
 top of the web page - "Remote", "Elements", and "Console".
 
-<p>The "Remote" panel 
+<p>The "Remote" panel
 provides information about what clients and targets
 are connected to the server, and other goodies.
 
 <p>The "Remote" panel is not included with the desktop browser's
-version of Web Inspector.  But the other two panels, 
+version of Web Inspector.  But the other two panels,
 "Elements" and "Console" are the exact same panels from the
 desktop browser version of Web Inspector.
 
@@ -138,7 +150,7 @@ the debug server.  How would you know?
 <p><img src="images/weinre-cli-03-p.jpg">
 
 <p>You should now see that there's a target connected, as indicated
-by the entry in the Targets section.  That's 
+by the entry in the Targets section.  That's
 your demo page - you know because it shows the URL.
 
 <p>It's also green, meaning that a client is connected to it.  That's you!
@@ -146,7 +158,7 @@ The entry for your client also turned green, indicating that it's connected
 to a target.
 
 <p>The debug client will always attempt to connect to the most recently
-connected debug target.  But you can also click on a target to 
+connected debug target.  But you can also click on a target to
 explicitly switch to it.
 
 <p>Now what?  Try clicking the Elements tab, as indicated
@@ -164,7 +176,7 @@ expander, as indicated by the red arrow below.
 
 <p><img src="images/weinre-cli-04-h.jpg">
 
-<p>The console is now open, as shown below.  
+<p>The console is now open, as shown below.
 
 <p><img src="images/weinre-cli-05-h.jpg">
 
@@ -177,7 +189,7 @@ following line in the console:
 document.body.style.background = "green"
 </pre>
 
-<p>Guess what that does? 
+<p>Guess what that does?
 
 <p><img src="images/weinre-cli-06-h.jpg">
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre/blob/c1d74e2c/weinre.doc/UserInterface.body.html
----------------------------------------------------------------------
diff --git a/weinre.doc/UserInterface.body.html b/weinre.doc/UserInterface.body.html
index b5a95cd..3a83479 100644
--- a/weinre.doc/UserInterface.body.html
+++ b/weinre.doc/UserInterface.body.html
@@ -1,8 +1,20 @@
 <!--
- * weinre is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * Copyright (c) 2010, 2011 IBM Corporation
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
 -->
 
 <p>This page describes the user interface provided by <span class="weinre">weinre</span>.


Mime
View raw message