You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/05/04 02:33:24 UTC

ios commit: Added Apache License to all the things

Updated Branches:
  refs/heads/master 598fb3f8c -> 4c7a02e09


Added Apache License to all the things


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

Branch: refs/heads/master
Commit: 4c7a02e092023890f4a56bc67190c19652f6d1c9
Parents: 598fb3f
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu May 3 17:33:15 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu May 3 17:33:15 2012 -0700

----------------------------------------------------------------------
 bin/README.md                         |   21 +++++++++++++++++++++
 bin/_build.sh                         |   26 +++++++++++++++++++++++---
 bin/autotest                          |   22 ++++++++++++++++++++++
 bin/bench                             |   22 +++++++++++++++++++++-
 bin/create                            |   20 ++++++++++++++++++++
 bin/replaces                          |   19 +++++++++++++++++++
 bin/templates/project/console.log     |   18 ++++++++++++++++++
 bin/templates/project/cordova/debug   |   20 ++++++++++++++++++++
 bin/templates/project/cordova/emulate |   18 ++++++++++++++++++
 bin/templates/project/cordova/log     |   19 +++++++++++++++++++
 bin/templates/project/www/index.html  |   20 ++++++++++++++++++++
 bin/test                              |   21 +++++++++++++++++++++
 bin/tests/autotest.coffee             |   20 ++++++++++++++++++++
 bin/tests/create.coffee               |   19 +++++++++++++++++++
 bin/tests/debug.coffee                |   18 ++++++++++++++++++
 bin/tests/test.coffee                 |   18 ++++++++++++++++++
 16 files changed, 317 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/README.md
----------------------------------------------------------------------
diff --git a/bin/README.md b/bin/README.md
index 9aa1510..e77f355 100644
--- a/bin/README.md
+++ b/bin/README.md
@@ -1,3 +1,24 @@
+<!--
+#
+# 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.
+#
+-->
+
 Updating the template project
 -----------------------------
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/_build.sh
----------------------------------------------------------------------
diff --git a/bin/_build.sh b/bin/_build.sh
index c5a95fe..92ddd35 100755
--- a/bin/_build.sh
+++ b/bin/_build.sh
@@ -1,5 +1,25 @@
 #!/bin/bash
 
+#
+# 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.
+#
+
+
 # iPhone OS Device SDKs:
 # 	Device - iPhone OS 2.2.1      	-sdk iphoneos2.2.1
 # 	Device - iPhone OS 3.0        	-sdk iphoneos3.0
@@ -58,15 +78,15 @@ configuration=$first_letter$non_first_letter_substring
 
 # Check whether the xcode project path exists
 if [ ! -d $xcodeproj_folder ]; then
-	echo "Path to xcode folder '$xcodeproj_folder' not found."
+	echo "Path to Xcode folder '$xcodeproj_folder' not found."
 	exit
 fi
 
-echo 'PhoneGap: building...'
+echo 'Cordova: building...'
 
 # change to the project directory, and run the build
 cd $xcodeproj_folder
 echo $xcodebuild -alltargets -configuration $configuration $sdk
 $xcodebuild -alltargets -configuration $configuration $sdk VALID_ARCHS="$archs"
 
-echo 'PhoneGap: build done.'
\ No newline at end of file
+echo 'Cordova: build done.'
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/autotest
----------------------------------------------------------------------
diff --git a/bin/autotest b/bin/autotest
index 647a5f5..8cec784 100755
--- a/bin/autotest
+++ b/bin/autotest
@@ -1,2 +1,24 @@
 #! /usr/bin/env node
+
+#
+# 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.
+#
+
+
+
 require('nodeunit').reporters.default.run(['bin/tests'])

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/bench
----------------------------------------------------------------------
diff --git a/bin/bench b/bin/bench
index 01eb131..64d8ceb 100755
--- a/bin/bench
+++ b/bin/bench
@@ -1,6 +1,26 @@
 #! /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://phonegap-bench.heroku.com with current PhoneGap/Android sha.
+# Creates an app in `./bench` that posts results to http://cordova-bench.heroku.com with current Cordova/Android sha.
 #
 # USAGE
 #   ./bin/bench

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index c628d94..c5c1b10 100755
--- a/bin/create
+++ b/bin/create
@@ -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.
+#
+
 #
 # create a Cordova/iOS project
 # 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/replaces
----------------------------------------------------------------------
diff --git a/bin/replaces b/bin/replaces
index 51201c4..f19c448 100755
--- a/bin/replaces
+++ b/bin/replaces
@@ -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.
+#
+
 # 
 # USAGE
 #   ./replaces path from to

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/templates/project/console.log
----------------------------------------------------------------------
diff --git a/bin/templates/project/console.log b/bin/templates/project/console.log
index e69de29..b72aa93 100755
--- a/bin/templates/project/console.log
+++ b/bin/templates/project/console.log
@@ -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.
+#

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/templates/project/cordova/debug
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/debug b/bin/templates/project/cordova/debug
index 18f8136..70399f5 100755
--- a/bin/templates/project/cordova/debug
+++ b/bin/templates/project/cordova/debug
@@ -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.
+#
+
 #
 # compile and launch a Cordova/iOS project to the simulator
 # 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/templates/project/cordova/emulate
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/emulate b/bin/templates/project/cordova/emulate
index ff6365c..a952469 100755
--- a/bin/templates/project/cordova/emulate
+++ b/bin/templates/project/cordova/emulate
@@ -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.
+#
 
 open `xcode-select -print-path`/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/templates/project/cordova/log
----------------------------------------------------------------------
diff --git a/bin/templates/project/cordova/log b/bin/templates/project/cordova/log
index 59ffa37..7dd408b 100755
--- a/bin/templates/project/cordova/log
+++ b/bin/templates/project/cordova/log
@@ -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.
+#
+
 # 
 # USAGE
 #

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/templates/project/www/index.html
----------------------------------------------------------------------
diff --git a/bin/templates/project/www/index.html b/bin/templates/project/www/index.html
index 9f9982e..5a008df 100644
--- a/bin/templates/project/www/index.html
+++ b/bin/templates/project/www/index.html
@@ -1,4 +1,24 @@
 <!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>
   <title></title>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/test
----------------------------------------------------------------------
diff --git a/bin/test b/bin/test
index b0ef58d..489de66 100755
--- a/bin/test
+++ b/bin/test
@@ -1,4 +1,25 @@
 #! /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)

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/tests/autotest.coffee
----------------------------------------------------------------------
diff --git a/bin/tests/autotest.coffee b/bin/tests/autotest.coffee
index 2847965..da8abbe 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-ios/blob/4c7a02e0/bin/tests/create.coffee
----------------------------------------------------------------------
diff --git a/bin/tests/create.coffee b/bin/tests/create.coffee
index 1890c7f..12fe61e 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-ios/blob/4c7a02e0/bin/tests/debug.coffee
----------------------------------------------------------------------
diff --git a/bin/tests/debug.coffee b/bin/tests/debug.coffee
index e69de29..b72aa93 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.
+#

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/4c7a02e0/bin/tests/test.coffee
----------------------------------------------------------------------
diff --git a/bin/tests/test.coffee b/bin/tests/test.coffee
index e69de29..b72aa93 100644
--- a/bin/tests/test.coffee
+++ b/bin/tests/test.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.
+#