cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffheif...@apache.org
Subject [03/50] [abbrv] webworks commit: [CB-3798] Update checkreqs for blackberry-debugtokenrequest
Date Fri, 27 Sep 2013 14:26:07 GMT
[CB-3798] Update checkreqs for blackberry-debugtokenrequest


Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/539749e2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/539749e2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/539749e2

Branch: refs/heads/3.1.x
Commit: 539749e24e0e50b5c0b3dc9166314f71c4a42e17
Parents: 7b93346
Author: jkeshavarzi <jkeshavarzi@blackberry.com>
Authored: Fri Jul 26 18:07:33 2013 -0400
Committer: Bryan Higgins <bhiggins@blackberry.com>
Committed: Tue Jul 30 10:03:09 2013 -0400

----------------------------------------------------------------------
 blackberry10/bin/check_reqs     | 4 ++++
 blackberry10/bin/check_reqs.bat | 4 ++++
 blackberry10/bin/create.js      | 5 ++++-
 3 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/539749e2/blackberry10/bin/check_reqs
----------------------------------------------------------------------
diff --git a/blackberry10/bin/check_reqs b/blackberry10/bin/check_reqs
index d69ee77..f3945b0 100755
--- a/blackberry10/bin/check_reqs
+++ b/blackberry10/bin/check_reqs
@@ -26,6 +26,7 @@ JAVA=$(command -v java)
 PACKAGER="$CORDOVA_BBTOOLS/blackberry-nativepackager"
 DEPLOYER="$CORDOVA_BBTOOLS/blackberry-deploy"
 SIGNER="$CORDOVA_BBTOOLS/blackberry-signer"
+DEBUGTOKENREQUEST="$CORDOVA_BBTOOLS/blackberry-debugtokenrequest"
 
 if [ ! -x "$NODE" ]; then
     echo node cannot be found on the path. Aborting.
@@ -45,6 +46,9 @@ elif [ ! -x "$DEPLOYER" ]; then
 elif [ ! -x "$SIGNER" ]; then
     echo blackberry-signer cannot be found on the path. Aborting.
     EXIT_CODE=1
+elif [ ! -x "$DEBUGTOKENREQUEST" ]; then
+    echo blackberry-debugtokenrequest cannot be found on the path. Aborting.
+    EXIT_CODE=1
 else
     "$NODE" "$( dirname "$0" )/check_reqs.js" "$@"
     EXIT_CODE=0

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/539749e2/blackberry10/bin/check_reqs.bat
----------------------------------------------------------------------
diff --git a/blackberry10/bin/check_reqs.bat b/blackberry10/bin/check_reqs.bat
index e08ada7..91d3ac0 100755
--- a/blackberry10/bin/check_reqs.bat
+++ b/blackberry10/bin/check_reqs.bat
@@ -51,5 +51,9 @@ if not exist "%CORDOVA_BBTOOLS%\blackberry-signer" (
   echo blackberry-signer cannot be found on the path. Aborting.
   exit /b 1
 )
+if not exist "%CORDOVA_BBTOOLS%\blackberry-debugtokenrequest" (
+  echo blackberry-debugtokenrequest cannot be found on the path. Aborting.
+  exit /b 1
+)
 
 "%CORDOVA_NODE%\node" "%~dp0\check_reqs.js" %*

http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/539749e2/blackberry10/bin/create.js
----------------------------------------------------------------------
diff --git a/blackberry10/bin/create.js b/blackberry10/bin/create.js
index 26a9109..deee89d 100644
--- a/blackberry10/bin/create.js
+++ b/blackberry10/bin/create.js
@@ -117,7 +117,8 @@ function copyFilesToProject() {
         bbtoolsLibDest = path.join(project_path, "cordova", "dependencies", "bb-tools", "lib"),
         bbNativePackager = "blackberry-nativepackager",
         bbSigner = "blackberry-signer",
-        bbDeploy = "blackberry-deploy";
+        bbDeploy = "blackberry-deploy",
+        bbDebugTokenRequest= "blackberry-debugtokenrequest";
 
     // create project using template directory
     wrench.mkdirSyncRecursive(project_path, 0777);
@@ -136,11 +137,13 @@ function copyFilesToProject() {
             bbNativePackager += ".bat";
             bbSigner += ".bat";
             bbDeploy += ".bat";
+            bbDebugTokenRequest += ".bat";
         }
 
         utils.copyFile(path.join(BIN_DIR, "dependencies", "bb-tools", "bin", bbNativePackager),
bbtoolsBinDest);
         utils.copyFile(path.join(BIN_DIR, "dependencies", "bb-tools", "bin", bbSigner), bbtoolsBinDest);
         utils.copyFile(path.join(BIN_DIR, "dependencies", "bb-tools", "bin", bbDeploy), bbtoolsBinDest);
+        utils.copyFile(path.join(BIN_DIR, "dependencies", "bb-tools", "bin", bbDebugTokenRequest),
bbtoolsBinDest);
 
         //copy bb-tools lib folder
         wrench.mkdirSyncRecursive(bbtoolsLibDest, 0755);


Mime
View raw message