You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2012/10/31 23:53:12 UTC
[jira] [Created] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Filip Maj created CB-1794:
-----------------------------
Summary: `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: Joe Bowser
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
[jira] [Resolved] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Reopened] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anis Kadri reopened CB-1794:
----------------------------
> `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
[jira] [Updated] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anis Kadri updated CB-1794:
---------------------------
Comment: was deleted
(was: Hopefully this will help a bit more. Will output which command failed with which status code on error.)
> `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
[jira] [Updated] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-1794:
---------------------------
Fix Version/s: 2.3.0
> `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: Joe Bowser
> 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
[jira] [Assigned] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser reassigned CB-1794:
------------------------------
Assignee: Anis Kadri (was: Joe Bowser)
Can you explain what is going on here? This script just appears to call itself.
> `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
[jira] [Resolved] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anis Kadri resolved CB-1794.
----------------------------
Resolution: Fixed
Hopefully this will help a bit more. Will output which command failed with which status code on error.
> `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
[jira] [Resolved] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anis Kadri resolved CB-1794.
----------------------------
Resolution: Fixed
> `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
[jira] [Reopened] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj reopened CB-1794:
---------------------------
{{create}} works with a space, but then try running debug or emulate inside of it.
> `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