You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by je...@apache.org on 2013/09/27 16:26:45 UTC

[41/50] [abbrv] webworks commit: Adding missing license headers detected by apache rat

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/378d25b6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/378d25b6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/378d25b6

Branch: refs/heads/3.1.x
Commit: 378d25b62b56af9c037de3013e4adb8d47f62ab4
Parents: 815042d
Author: Jeffrey Heifetz <jh...@blackberry.com>
Authored: Thu Sep 19 11:49:30 2013 -0400
Committer: Jeffrey Heifetz <jh...@blackberry.com>
Committed: Thu Sep 19 12:45:22 2013 -0400

----------------------------------------------------------------------
 .../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/378d25b6/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/378d25b6/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/378d25b6/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/378d25b6/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 c3ccdce..eb6c161 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/378d25b6/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/378d25b6/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 4491b40..a2c55c8 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/378d25b6/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/378d25b6/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 d2a4ab3..db4fc7d 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/378d25b6/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 80867a7..fd3cdd7 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/378d25b6/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/378d25b6/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/378d25b6/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 () {