Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CB4310188 for ; Wed, 24 Jul 2013 19:16:22 +0000 (UTC) Received: (qmail 63819 invoked by uid 500); 24 Jul 2013 19:16:22 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 63798 invoked by uid 500); 24 Jul 2013 19:16:21 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 63788 invoked by uid 99); 24 Jul 2013 19:16:21 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 19:16:21 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0735A8B3C43; Wed, 24 Jul 2013 19:16:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: lorinbeer@apache.org To: commits@cordova.apache.org Message-Id: <4dd05e71b056489588b40746d7ff2265@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: webworks commit: [CB-4346] changed utils genbarname function to return string as per ticket description, updated README.md section on create command Date: Wed, 24 Jul 2013 19:16:20 +0000 (UTC) Updated Branches: refs/heads/master a057f5bc9 -> dcdbed297 [CB-4346] changed utils genbarname function to return string as per ticket description, updated README.md section on create command Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/dcdbed29 Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/dcdbed29 Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/dcdbed29 Branch: refs/heads/master Commit: dcdbed2977d367a6ad1d0215bb9044dbd2a7cb7d Parents: a057f5b Author: lorinbeer Authored: Wed Jul 24 12:16:09 2013 -0700 Committer: lorinbeer Committed: Wed Jul 24 12:16:09 2013 -0700 ---------------------------------------------------------------------- blackberry10/README.md | 11 ++++++++++- blackberry10/bin/lib/utils.js | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/dcdbed29/blackberry10/README.md ---------------------------------------------------------------------- diff --git a/blackberry10/README.md b/blackberry10/README.md index 658d372..8091adf 100644 --- a/blackberry10/README.md +++ b/blackberry10/README.md @@ -33,10 +33,19 @@ To create a new project, you use the `create` command to set up the folder struc 1. On the command line, navigate to the folder where you extracted Cordova. 2. Run the `create` command using the following syntax: - bin/create + bin/create This command creates the folder structure for your project at the specified location. All of your project resource files should be stored in the **/www folder, or in a subfolder within it. +where + +- '' specifies the directory you want the project created in +- '' specifies a reverse domain style identifier +- '' specifies the apps display name + +*Note*: the create command bootstraps dependency installation through the 'npm install' command. Depending on installation directory and system permissions, this may require admin privileges. +If a problem is encountered on OSX/Linux, run 'sudo npm install' before using the create command. On Windows, run 'npm install' in a command line utility opened with admin privileges. + Adding and managing targets --------------------------- http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/dcdbed29/blackberry10/bin/lib/utils.js ---------------------------------------------------------------------- diff --git a/blackberry10/bin/lib/utils.js b/blackberry10/bin/lib/utils.js index f87a781..8a05ddc 100644 --- a/blackberry10/bin/lib/utils.js +++ b/blackberry10/bin/lib/utils.js @@ -19,7 +19,7 @@ var fs = require('fs'), wrench = require('wrench'), localize = require("./localize"), os = require('os'), - DEFAULT_BAR_NAME = "project", + DEFAULT_BAR_NAME = "bb10app", PROPERTY_FILE_NAME = 'blackberry10.json', CORDOVA_DIR = '.cordova', DEFAULT_PROPERTY_FILE = { @@ -210,7 +210,7 @@ _self = { }, genBarName: function() { - return "DEFAULT_BAR_NAME"; + return DEFAULT_BAR_NAME; } };