You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by na...@apache.org on 2015/11/06 23:15:46 UTC
cordova-amazon-fireos git commit: Fixing README.md for deprecation
notice.. Add deprecation message because we are delinking AWV from Cordova
Repository: cordova-amazon-fireos
Updated Branches:
refs/heads/3.6.x 4645a4571 -> 7d1ce3471
Fixing README.md for deprecation notice..
Add deprecation message because we are delinking AWV from Cordova
Project: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/7d1ce347
Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/7d1ce347
Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/7d1ce347
Branch: refs/heads/3.6.x
Commit: 7d1ce3471bbc57792af577214c6ec477e416a14d
Parents: 4645a45
Author: Craig Brunner <br...@lab126.com>
Authored: Tue Oct 27 15:52:02 2015 -0700
Committer: Archana Naik <na...@lab126.com>
Committed: Fri Nov 6 14:13:30 2015 -0800
----------------------------------------------------------------------
README.md | 23 ++++++++++++++++-------
bin/lib/create.js | 5 +++++
2 files changed, 21 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/7d1ce347/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 6f78b63..4ec9676 100644
--- a/README.md
+++ b/README.md
@@ -7,9 +7,9 @@
# 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
@@ -22,10 +22,19 @@ Cordova Amazon Fire OS
===
Cordova Amazon Fire OS is an application library that allows for Cordova-based
-projects to be built for the Amazon Fire OS Platform. It uses Amazon's web app runtime that is built on open-source Chromium project. With the web app runtime, your web apps can achieve fluidity and speed approaching that of native apps.
+projects to be built for the Amazon Fire OS Platform version 4.0 and earlier. It uses Amazon's web app runtime that is built on open-source Chromium project. With the web app runtime, your web apps can achieve fluidity and speed approaching that of native apps.
[Apache Cordova](http://cordova.io) is a project at The Apache Software Foundation (ASF).
+***
+
+DEPRECATION NOTICE
+---
+
+***Cordova Amazon Fire OS platform support is deprecated for Amazon Fire OS 5.0 and higher (2015 devices and later); for these devices, please use the Android platform target only.***
+
+***
+
Requires
---
@@ -34,11 +43,11 @@ Requires
- Apache ANT 1.8.0 or greater
- Android SDK [http://developer.android.com](http://developer.android.com)
- Amazon WebView SDK [https://developer.amazon.com/sdk/fire/IntegratingAWV.html#installawv](https://developer.amazon.com/sdk/fire/IntegratingAWV.html#installawv)
-
+
Cordova Amazon Fire OS Developer Tools
---
-The Cordova developer tooling is split between general tooling and project level tooling.
+The Cordova developer tooling is split between general tooling and project level tooling.
General Commands
@@ -53,7 +62,7 @@ These commands live in a generated Cordova Amazon Fire OS project. Emulator supp
./cordova/clean ........................ cleans the project
./cordova/build ........................ calls `clean` then compiles the project
./cordova/log ........................ stream device logs to stdout
- ./cordova/run ........................ calls `build` then deploys to a connected Amazon device.
+ ./cordova/run ........................ calls `build` then deploys to a connected Amazon device.
./cordova/version ...................... returns the cordova-amazon-fireos version of the current project
Importing a Cordova Amazon Fire OS Project into Eclipse
@@ -69,7 +78,7 @@ Importing a Cordova Amazon Fire OS Project into Eclipse
Building without the Tooling
---
-Note: The Developer Tools handle this. This is only to be done if the tooling fails, or if
+Note: The Developer Tools handle this. This is only to be done if the tooling fails, or if
you are developing directly against the framework.
http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/7d1ce347/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 870f76c..560833b 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -240,6 +240,11 @@ exports.createProject = function(project_path, package_name, project_name, proje
var lib_path = path.join(global_config_path, 'lib');
var awv_sdk_expected_path=path.join(lib_path, 'commonlibs');
var awv_interface_jar_commonlib_path = path.join(awv_sdk_expected_path, awv_interface);
+
+ // message that we are now moving to stock webview for new versions of the OS
+ var deprecation_notice = "*********************************\n\nDEPRECATION NOTICE:\n\nThe AWV SDK is deprecated for Amazon Fire OS 5.0 and higher (2015 devices and later); for these devices, please use the Android platform target only.\n\n*********************************";
+ console.log(deprecation_notice);
+
console.log('Checking if awv sdk is installed at : ' + awv_sdk_expected_path);
if (!fs.existsSync(awv_sdk_expected_path) || !fs.existsSync(awv_interface_jar_commonlib_path)) {
shell.mkdir('-p',awv_sdk_expected_path);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org