Adding missing license headers detected by apache rat
Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/089fcfca Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/089fcfca Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/089fcfca Branch: refs/heads/3.0.x Commit: 089fcfca8e6de080200bc3bdc608e7a74027fb4a Parents: 53c7ef5 Author: Jeffrey Heifetz <[email protected]> Authored: Thu Sep 19 11:49:30 2013 -0400 Committer: lorinbeer <[email protected]> Committed: Thu Sep 19 10:48:38 2013 -0700 ---------------------------------------------------------------------- .../test/cordova/unit/spec/lib/bar-builder.js | 21 ++++++++++++++++++++ .../bin/test/cordova/unit/spec/lib/cmdline.js | 21 ++++++++++++++++++++ .../test/cordova/unit/spec/lib/file-manager.js | 21 ++++++++++++++++++++ .../cordova/unit/spec/lib/native-packager.js | 21 ++++++++++++++++++++ .../cordova/unit/spec/lib/packager-utils.js | 21 ++++++++++++++++++++ .../cordova/unit/spec/lib/packager-validator.js | 21 ++++++++++++++++++++ .../bin/test/cordova/unit/spec/lib/session.js | 21 ++++++++++++++++++++ .../cordova/unit/spec/lib/signing-helper.js | 21 ++++++++++++++++++++ .../cordova/unit/spec/lib/test-utilities.js | 21 ++++++++++++++++++++ blackberry10/framework/bootstrap/index.html | 21 ++++++++++++++++++++ .../webkitHandlers/networkResourceRequested.js | 21 ++++++++++++++++++++ blackberry10/framework/test/unit/lib/webview.js | 21 ++++++++++++++++++++ 12 files changed, 252 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/bar-builder.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/bar-builder.js b/blackberry10/bin/test/cordova/unit/spec/lib/bar-builder.js index 02440cc..f701b34 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/bar-builder.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/bar-builder.js @@ -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. + * +*/ + var srcPath = __dirname + "/../../../../../templates/project/cordova/lib/", path = require("path"), wrench = require("wrench"), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/cmdline.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/cmdline.js b/blackberry10/bin/test/cordova/unit/spec/lib/cmdline.js index 03eda58..1a4c167 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/cmdline.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/cmdline.js @@ -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. + * +*/ + var srcPath = __dirname + "/../../../../../templates/project/cordova/lib/", localize = require(srcPath + "localize"), cmdline = require(srcPath + "cmdline"), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/file-manager.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/file-manager.js b/blackberry10/bin/test/cordova/unit/spec/lib/file-manager.js index 1b1c6ff..ae17e7b 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/file-manager.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/file-manager.js @@ -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. + * +*/ + var srcPath = __dirname + "/../../../../../templates/project/cordova/lib/", barconf = require(srcPath + "bar-conf.js"), fs = require("fs"), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js b/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js index ee6091b..72cc6be 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/native-packager.js @@ -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. + * +*/ + var path = require("path"), util = require("util"), fs = require("fs"), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/packager-utils.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/packager-utils.js b/blackberry10/bin/test/cordova/unit/spec/lib/packager-utils.js index 5acad8e..2aad1ed 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/packager-utils.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/packager-utils.js @@ -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. + * +*/ + var testData = require("./test-data"), utils = require(testData.libPath + "/packager-utils"), fs = require("fs"), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/packager-validator.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/packager-validator.js b/blackberry10/bin/test/cordova/unit/spec/lib/packager-validator.js index f0d7e40..d73189b 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/packager-validator.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/packager-validator.js @@ -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. + * +*/ + var srcPath = __dirname + "/../../../../../templates/project/cordova/lib/", testData = require("./test-data"), testUtilities = require("./test-utilities"), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/session.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/session.js b/blackberry10/bin/test/cordova/unit/spec/lib/session.js index 3cf3f98..8382c09 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/session.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/session.js @@ -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. + * +*/ + var session = require(__dirname + "/../../../../../templates/project/cordova/lib/session"), localize = require(__dirname + "/../../../../../templates/project/cordova/lib/localize"), testUtils = require("./test-utilities"), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/signing-helper.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/signing-helper.js b/blackberry10/bin/test/cordova/unit/spec/lib/signing-helper.js index 8aa37fd..9a85330 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/signing-helper.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/signing-helper.js @@ -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. + * +*/ + var testData = require('./test-data'), signingHelper = require(testData.libPath + '/signing-helper'), localize = require(testData.libPath + '/localize'), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/bin/test/cordova/unit/spec/lib/test-utilities.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/test/cordova/unit/spec/lib/test-utilities.js b/blackberry10/bin/test/cordova/unit/spec/lib/test-utilities.js index 6f0dbf9..cad3740 100644 --- a/blackberry10/bin/test/cordova/unit/spec/lib/test-utilities.js +++ b/blackberry10/bin/test/cordova/unit/spec/lib/test-utilities.js @@ -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. + * +*/ + var xml2js = require("xml2js"); function getObjectByProperty(array, propertyName, propertyValue) { http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/framework/bootstrap/index.html ---------------------------------------------------------------------- diff --git a/blackberry10/framework/bootstrap/index.html b/blackberry10/framework/bootstrap/index.html index 6e3b028..f121af0 100644 --- a/blackberry10/framework/bootstrap/index.html +++ b/blackberry10/framework/bootstrap/index.html @@ -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. + +--> + <!DOCTYPE HTML> <html lang="en"> <head> http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/framework/test/unit/lib/webkitHandlers/networkResourceRequested.js ---------------------------------------------------------------------- diff --git a/blackberry10/framework/test/unit/lib/webkitHandlers/networkResourceRequested.js b/blackberry10/framework/test/unit/lib/webkitHandlers/networkResourceRequested.js index efd4efe..5026a0b 100644 --- a/blackberry10/framework/test/unit/lib/webkitHandlers/networkResourceRequested.js +++ b/blackberry10/framework/test/unit/lib/webkitHandlers/networkResourceRequested.js @@ -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. + * +*/ + describe("NetworkResourceRequested event handler", function () { var LIB_PATH = "./../../../../lib/", networkResourceRequested = require(LIB_PATH + "webkitHandlers/networkResourceRequested"), http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/089fcfca/blackberry10/framework/test/unit/lib/webview.js ---------------------------------------------------------------------- diff --git a/blackberry10/framework/test/unit/lib/webview.js b/blackberry10/framework/test/unit/lib/webview.js index 8a6b8e6..e637aec 100644 --- a/blackberry10/framework/test/unit/lib/webview.js +++ b/blackberry10/framework/test/unit/lib/webview.js @@ -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. + * +*/ + var path = require('path'); describe("webview", function () {
