You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/05/08 00:57:57 UTC

[10/18] android commit: Adding more Apache licence headers

Adding more Apache licence headers


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

Branch: refs/heads/CordovaWebView
Commit: 1fcaf2435ffdee0a9129ab3c7f2939dec0928fe3
Parents: 87fbb5c
Author: Joe Bowser <bo...@apache.org>
Authored: Mon May 7 14:27:33 2012 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Mon May 7 14:27:33 2012 -0700

----------------------------------------------------------------------
 bin/package.json                                   |   18 ++++++++++++
 .../templates/project/assets/www/.main.js.swp      |  Bin 0 -> 20480 bytes
 .../templates/project/assets/www/index.html        |   18 ++++++++++++
 .../cordova/templates/project/assets/www/main.js   |   19 +++++++++++++
 .../templates/project/assets/www/master.css        |   22 ++++++++++++++-
 bin/tests/autotest.coffee                          |   20 +++++++++++++
 bin/tests/create.coffee                            |   19 +++++++++++++
 bin/tests/debug.coffee                             |   18 ++++++++++++
 8 files changed, 133 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1fcaf243/bin/package.json
----------------------------------------------------------------------
diff --git a/bin/package.json b/bin/package.json
index 76a74f4..b423114 100644
--- a/bin/package.json
+++ b/bin/package.json
@@ -1,3 +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.
+*/
 {
   "name":         "cordova-android-cli",
   "description":  "CLI tooling for the cordova-android project",

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1fcaf243/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp b/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp
new file mode 100644
index 0000000..07993ba
Binary files /dev/null and b/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1fcaf243/bin/templates/project/cordova/templates/project/assets/www/index.html
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/templates/project/assets/www/index.html b/bin/templates/project/cordova/templates/project/assets/www/index.html
index a66fdbe..2bf3dda 100644
--- a/bin/templates/project/cordova/templates/project/assets/www/index.html
+++ b/bin/templates/project/cordova/templates/project/assets/www/index.html
@@ -1,4 +1,22 @@
 <!DOCTYPE HTML>
+<!--
+       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.
+-->
 <html>
   <head>
     <meta name="viewport" content="width=320; user-scalable=no" />

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1fcaf243/bin/templates/project/cordova/templates/project/assets/www/main.js
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/templates/project/assets/www/main.js b/bin/templates/project/cordova/templates/project/assets/www/main.js
index f631692..739a02e 100644
--- a/bin/templates/project/cordova/templates/project/assets/www/main.js
+++ b/bin/templates/project/cordova/templates/project/assets/www/main.js
@@ -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.
+*/
+
 var deviceInfo = function() {
     document.getElementById("platform").innerHTML = device.platform;
     document.getElementById("version").innerHTML = device.version;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1fcaf243/bin/templates/project/cordova/templates/project/assets/www/master.css
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/templates/project/assets/www/master.css b/bin/templates/project/cordova/templates/project/assets/www/master.css
index d4401f5..3aad33d 100644
--- a/bin/templates/project/cordova/templates/project/assets/www/master.css
+++ b/bin/templates/project/cordova/templates/project/assets/www/master.css
@@ -1,4 +1,24 @@
-  body {
+/*
+       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.
+*/
+
+
+ body {
     background:#222 none repeat scroll 0 0;
     color:#666;
     font-family:Helvetica;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1fcaf243/bin/tests/autotest.coffee
----------------------------------------------------------------------
diff --git a/bin/tests/autotest.coffee b/bin/tests/autotest.coffee
index 2847965..1ee4c39 100644
--- a/bin/tests/autotest.coffee
+++ b/bin/tests/autotest.coffee
@@ -1,3 +1,23 @@
+/*
+       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.
+*/
+
+
 exports['you are sane'] = (test) ->
   test.expect 1
   test.ok true, "this assertion should always pass"

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1fcaf243/bin/tests/create.coffee
----------------------------------------------------------------------
diff --git a/bin/tests/create.coffee b/bin/tests/create.coffee
index 0ed37ef..6c87af4 100644
--- a/bin/tests/create.coffee
+++ b/bin/tests/create.coffee
@@ -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.
+*/
+
 util = require 'util'
 exec = require('child_process').exec
 path = require 'path'

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1fcaf243/bin/tests/debug.coffee
----------------------------------------------------------------------
diff --git a/bin/tests/debug.coffee b/bin/tests/debug.coffee
index e69de29..a5d9eba 100644
--- a/bin/tests/debug.coffee
+++ b/bin/tests/debug.coffee
@@ -0,0 +1,18 @@
+/*
+       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.
+*/