cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maciej Jaros (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-4343) "platform add" balks when project <name> includes space characters
Date Wed, 24 Jul 2013 15:11:48 GMT

    [ https://issues.apache.org/jira/browse/CB-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718445#comment-13718445
] 

Maciej Jaros edited comment on CB-4343 at 7/24/13 3:10 PM:
-----------------------------------------------------------

Removing my comment. I thought space was added while in fact it was taken from config.xml.
                
      was (Author: nux):
    The same thing also happens if you don't use camel case for the project name e.g.:

cordova create PPtracker com.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

Mime
View raw message