Josh Soref created CB-6002:
------------------------------

             Summary: 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
            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.1.5#6160)

Reply via email to