You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/06/13 20:45:02 UTC

[jira] [Created] (CB-6939) Replace - with _ in create script PackageName param

Jesse MacFadyen created CB-6939:
-----------------------------------

             Summary: Replace - with _ in create script PackageName param
                 Key: CB-6939
                 URL: https://issues.apache.org/jira/browse/CB-6939
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP8
            Reporter: Jesse MacFadyen
            Assignee: Jesse MacFadyen


Package names with '-' will not build as the value passed in is used to define a namespace.
Simple validity test: /^[a-zA-Z0-9._$]+$/g
At the minimum, attempt to fix invalid values by replacing the '-' with '_' as is done on Android.  
Output error-message and exit with error code if replacing does not make it pass the simple test above.





--
This message was sent by Atlassian JIRA
(v6.2#6252)