Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81C3210FA6 for ; Thu, 27 Mar 2014 19:00:19 +0000 (UTC) Received: (qmail 89130 invoked by uid 500); 27 Mar 2014 19:00:18 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 89100 invoked by uid 500); 27 Mar 2014 19:00:18 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 89069 invoked by uid 99); 27 Mar 2014 19:00:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 19:00:17 +0000 Date: Thu, 27 Mar 2014 19:00:17 +0000 (UTC) From: "Steve Gill (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-6002) create package validation doesn't match error report MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Gill updated CB-6002: --------------------------- Assignee: Archana Naik > create package validation doesn't match error report > ---------------------------------------------------- > > Key: CB-6002 > URL: https://issues.apache.org/jira/browse/CB-6002 > Project: Apache Cordova > Issue Type: Bug > Components: Amazon FireOS > Affects Versions: 3.3.0 > Reporter: Josh Soref > Assignee: Archana Naik > Priority: Minor > > {quote} > {{exports.createProject = function(project_path, package_name, project_name, project_template_dir, use_shared_project, use_cli_template) \{}} > ... > {{if (\!/\[a-zA-Z0-9_]+\.\[a-zA-Z0-9_](.\[a-zA-Z0-9_])*/.test(package_name)) \{}} > {{return Q.reject('Package name must look like: com.company.Name');}} > {{\}}} > ... > {quote} > The code is checking for {{com.company}} but the error message suggests {{com.company.Name}} -- If you want to test for {{com.company.Name}} then the *{{\*}}* should be a *{{+}}*. -- This message was sent by Atlassian JIRA (v6.2#6252)