cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anis Kadri (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1794) `cordova` command line script(s) don't work with paths with spaces in them
Date Tue, 06 Nov 2012 21:52:12 GMT

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

Anis Kadri resolved CB-1794.
----------------------------

    Resolution: Cannot Reproduce

{code}
[13:47:16][akadri@kryptonite:/tmp]$ ~/Projects/cordova/incubator-cordova-android/bin/create
'example project'
[13:49:35][akadri@kryptonite:/tmp]$ ls -lisa example\ project/
total 48
72906501 0 drwxr-xr-x  14 akadri  wheel   476  6 Nov 13:43 .
64368084 0 drwxrwxrwt  16 root    wheel   544  6 Nov 13:47 ..
72906585 8 -rw-r--r--   1 akadri  wheel  3316  6 Nov 13:43 AndroidManifest.xml
72906504 8 -rw-r--r--   1 akadri  wheel   698  6 Nov 13:43 ant.properties
72906532 0 drwxr-xr-x   3 akadri  wheel   102  6 Nov 13:43 assets
72906512 0 drwxr-xr-x   2 akadri  wheel    68  6 Nov 13:43 bin
72906527 8 -rw-r--r--   1 akadri  wheel  3926  6 Nov 13:43 build.xml
72906586 0 drwxr-xr-x   9 akadri  wheel   306  6 Nov 13:43 cordova
72906513 0 drwxr-xr-x   3 akadri  wheel   102  6 Nov 13:43 libs
72906502 8 -rw-r--r--   1 akadri  wheel   427  6 Nov 13:43 local.properties
72906528 8 -rw-r--r--   1 akadri  wheel   781  6 Nov 13:43 proguard-project.txt
72906503 8 -rw-r--r--   1 akadri  wheel   579  6 Nov 13:43 project.properties
72906511 0 drwxr-xr-x  10 akadri  wheel   340  6 Nov 13:43 res
72906505 0 drwxr-xr-x   3 akadri  wheel   102  6 Nov 13:43 src
{code}
                
> `cordova` command line script(s) don't work with paths with spaces in them
> --------------------------------------------------------------------------
>
>                 Key: CB-1794
>                 URL: https://issues.apache.org/jira/browse/CB-1794
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.1.0
>         Environment: Mac OS X 10.7.5
>            Reporter: Filip Maj
>            Assignee: Anis Kadri
>             Fix For: 2.3.0
>
>
> I run the following:
> {code}
>     ./bin/create "foo bar"
>     cd foo\ bar
>     ./cordova/debug
> {code}
> I get:
> {code}
>     bash: /Users/fil/src/incubator-cordova-android/foo: No such file or directory
> {code}
> I believe the patch is to change the line:
> {{cd PROJECT_PATH}}
> .. in the {{debug}} and {{cordova}} scripts to:
> {{cd "PROJECT_PATH"}}

--
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