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/05 01:50:32 UTC

[1/2] android commit: Adding more Apache Headers. Not sure if this should have headers or not

Updated Branches:
  refs/heads/master c33f76857 -> 216f6a9b3


Adding more Apache Headers.  Not sure if this should have headers or not


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/216f6a9b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/216f6a9b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/216f6a9b

Branch: refs/heads/master
Commit: 216f6a9b3215a302f82d5b382d308aaff607074c
Parents: e32503f
Author: Joe Bowser <bo...@apache.org>
Authored: Fri May 4 16:47:37 2012 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri May 4 16:47:37 2012 -0700

----------------------------------------------------------------------
 bin/BOOM                                           |   19 ++++++++++++-
 bin/bench                                          |   18 ++++++++++++
 bin/create                                         |   16 +++++++++++
 bin/templates/project/cordova/create               |   17 ++++++++++++
 bin/templates/project/cordova/emulate              |   21 ++++++++++++++-
 bin/templates/project/cordova/log                  |   18 ++++++++++++
 .../project/cordova/templates/Activity.java        |   19 +++++++++++++
 .../cordova/templates/project/AndroidManifest.xml  |   18 ++++++++++++
 bin/test                                           |   18 ++++++++++++
 9 files changed, 162 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/BOOM
----------------------------------------------------------------------
diff --git a/bin/BOOM b/bin/BOOM
index fa33b0a..266d831 100755
--- a/bin/BOOM
+++ b/bin/BOOM
@@ -1,4 +1,21 @@
 #! /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.
+#
+#
 ./bin/create
 cd ./example && ./cordova/debug && ./cordova/log

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/bench
----------------------------------------------------------------------
diff --git a/bin/bench b/bin/bench
index 9a2663e..e0de384 100755
--- a/bin/bench
+++ b/bin/bench
@@ -1,4 +1,22 @@
 #! /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.
+#
+#
 #
 # Creates an app in `./bench` that posts results to http://cordova-bench.heroku.com with current cordova/Android sha.
 #

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index c659a01..84122a5 100755
--- a/bin/create
+++ b/bin/create
@@ -1,4 +1,20 @@
 #! /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.
 #
 # create a cordova/android project
 # 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/templates/project/cordova/create
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/create b/bin/templates/project/cordova/create
index 5cf185b..ebacf8b 100755
--- a/bin/templates/project/cordova/create
+++ b/bin/templates/project/cordova/create
@@ -1,4 +1,21 @@
 #! /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.
+#
 #
 # create a cordova/android project
 # 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/templates/project/cordova/emulate
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/emulate b/bin/templates/project/cordova/emulate
index 21d7b9c..1021af5 100755
--- a/bin/templates/project/cordova/emulate
+++ b/bin/templates/project/cordova/emulate
@@ -1,4 +1,23 @@
 #! /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.
+#
+#
+
 
 #Available Android Virtual Devices:
 #    Name: default
@@ -9,4 +28,4 @@
 
 # get the name of the first virtual device or use command line arg or use "default"
 
-emulator -cpu-delay 0 -no-boot-anim -cache ./tmp/cache -avd default > /dev/null 2>&1 & # put the avd's chatty ass in the background
\ No newline at end of file
+emulator -cpu-delay 0 -no-boot-anim -cache ./tmp/cache -avd default > /dev/null 2>&1 & # put the avd's chatty ass in the background

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/templates/project/cordova/log
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/log b/bin/templates/project/cordova/log
index 2ff1e3a..da599b9 100755
--- a/bin/templates/project/cordova/log
+++ b/bin/templates/project/cordova/log
@@ -1,3 +1,21 @@
 #! /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.
+#
+#
 
 adb logcat

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/templates/project/cordova/templates/Activity.java
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/templates/Activity.java b/bin/templates/project/cordova/templates/Activity.java
index 60ad6a2..d37247b 100644
--- a/bin/templates/project/cordova/templates/Activity.java
+++ b/bin/templates/project/cordova/templates/Activity.java
@@ -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.
+ */
+
 package __ID__;
 
 import android.app.Activity;

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/templates/project/cordova/templates/project/AndroidManifest.xml
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/templates/project/AndroidManifest.xml b/bin/templates/project/cordova/templates/project/AndroidManifest.xml
index 9d02e59..0cff488 100644
--- a/bin/templates/project/cordova/templates/project/AndroidManifest.xml
+++ b/bin/templates/project/cordova/templates/project/AndroidManifest.xml
@@ -1,4 +1,22 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--
+       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.
+-->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:windowSoftInputMode="adjustPan"
       package="__PACKAGE__" android:versionName="1.1" android:versionCode="5">
     <supports-screens

http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/216f6a9b/bin/test
----------------------------------------------------------------------
diff --git a/bin/test b/bin/test
index abd97aa..7e5d05e 100755
--- a/bin/test
+++ b/bin/test
@@ -1,4 +1,22 @@
 #! /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.
+#
+#
 set -e
 
 VERSION=$(cat ./VERSION)