You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2012/07/27 19:37:34 UTC

[jira] [Assigned] (CB-1148) CLI tools do not work with spaces in the path

     [ https://issues.apache.org/jira/browse/CB-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser reassigned CB-1148:
------------------------------

    Assignee: Anis Kadri  (was: Joe Bowser)
    
> CLI tools do not work with spaces in the path
> ---------------------------------------------
>
>                 Key: CB-1148
>                 URL: https://issues.apache.org/jira/browse/CB-1148
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>            Reporter: Shazron Abdullah
>            Assignee: Anis Kadri
>
> See: https://groups.google.com/forum/?fromgroups#!topic/phonegap/ey-D0JMG-Jc
> I'm having some odd issues with the command line tools on the Mac. 
> 1) Using create with no options creates an example folder. When I try to run cordova/debug, I get 
> ➜  cordova git:(master) ✗ ./debug
> bash: /Users/ray/Dropbox/Work: No such file or directory
> Note where the folder ends, "Work". The real folder is
> /Users/ray/Dropbox/Work Projects/foo
> It looks like the space is causing a problem. I can't seem to run any of the scripts here.
> 2) I switched to using the ant file as is. On a new project, doing ant debug, I get:
> BUILD FAILED
> /Applications/android-sdk-macosx/tools/ant/build.xml:518: Application package '__PACKAGE__' must have a minimum of 2 segments.
> When I look at the AndroidManfest.xml file, I see this:
> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:windowSoftInputMode="adjustPan"
>       package="__PACKAGE__" android:versionName="1.1" android:versionCode="5">
> Which seems to imply that the main create script didn't replace the tokens correctly. This is how I ran it:
> /Users/ray/Dropbox/Mobile/phonegap2/lib/android/bin/create ./example3 com.phonegap.example3 Example2
> That is correct, right?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira