From 216f6a9b3215a302f82d5b382d308aaff607074c Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Fri, 4 May 2012 16:47:37 -0700 Subject: [PATCH] Adding more Apache Headers. Not sure if this should have headers or not --- 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 +++++++++++++++++ .../templates/project/AndroidManifest.xml | 18 ++++++++++++++++ bin/test | 18 ++++++++++++++++ 9 files changed, 162 insertions(+), 2 deletions(-) diff --git a/bin/BOOM b/bin/BOOM index fa33b0a3..266d8311 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 diff --git a/bin/bench b/bin/bench index 9a2663eb..e0de3848 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. # diff --git a/bin/create b/bin/create index c659a013..84122a54 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 # diff --git a/bin/templates/project/cordova/create b/bin/templates/project/cordova/create index 5cf185b0..ebacf8b5 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 # diff --git a/bin/templates/project/cordova/emulate b/bin/templates/project/cordova/emulate index 21d7b9c4..1021af50 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 diff --git a/bin/templates/project/cordova/log b/bin/templates/project/cordova/log index 2ff1e3ab..da599b93 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 diff --git a/bin/templates/project/cordova/templates/Activity.java b/bin/templates/project/cordova/templates/Activity.java index 60ad6a23..d37247be 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; diff --git a/bin/templates/project/cordova/templates/project/AndroidManifest.xml b/bin/templates/project/cordova/templates/project/AndroidManifest.xml index 9d02e59d..0cff488c 100644 --- a/bin/templates/project/cordova/templates/project/AndroidManifest.xml +++ b/bin/templates/project/cordova/templates/project/AndroidManifest.xml @@ -1,4 +1,22 @@ +