[
https://issues.apache.org/jira/browse/CB-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718445#comment-13718445
]
Maciej Jaros commented on CB-4343:
----------------------------------
The same thing also happens if you don't use camel case for the project name
e.g.:
cordova create PPtracker pl.enux.test.pptracker "PPtracker"
cordova platform add android
The space is __added__ and "PP tracker" activity is created. Was fine in 2.9.0.
> "platform add" balks when project <name> includes space characters
> ------------------------------------------------------------------
>
> Key: CB-4343
> URL: https://issues.apache.org/jira/browse/CB-4343
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, BlackBerry, CLI
> Affects Versions: 3.0.0
> Environment: Mac
> Reporter: Mike Sierra
> Assignee: Lorin Beer
> Priority: Minor
>
> Reproduced for blackberry10 & android. Testing against CLI doc, which
> specifies a project name of "Hello World". Errors appended, which also note
> don't tell you the source of the problem. But the workaround is to remove
> the space character from the www/config.xml file's <name> tag.
> Ulothrix:hello sierra$ cordova platform add blackberry10
> [Error: An error occured during creation of blackberry10 sub-project. BAR
> filename can only contain alpha-numeric, '.', '-' and '_' characters
> Usage: create <project path> [package name [BAR filename]]
> Options:
> -h, --help output usage information
> ]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira