incubator-callback-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-1148) CLI tools do not work with spaces in the path
Date Sat, 28 Jul 2012 01:35:33 GMT

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

Anis Kadri resolved CB-1148.
----------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

{panel:title=./bin/create}
[18:28:04][akadri@kryptonite:/tmp/my long directory with spaces in it]$ ./bin/create "My Awesome
Project with Spaces in it"
[18:28:21][akadri@kryptonite:/tmp/my long directory with spaces in it]$ cd My\ Awesome\ Project\
with\ Spaces\ in\ it/
[18:28:26][akadri@kryptonite:/tmp/my long directory with spaces in it/My Awesome Project with
Spaces in it]$ ls -la
total 48
drwxr-xr-x  14 akadri  wheel   476 27 Jul 18:28 .
drwxr-xr-x  14 akadri  wheel   476 27 Jul 18:28 ..
-rw-r--r--   1 akadri  wheel  3115 27 Jul 18:28 AndroidManifest.xml
-rw-r--r--   1 akadri  wheel   698 27 Jul 18:28 ant.properties
drwxr-xr-x   3 akadri  wheel   102 27 Jul 18:28 assets
drwxr-xr-x   2 akadri  wheel    68 27 Jul 18:28 bin
-rw-r--r--   1 akadri  wheel  3926 27 Jul 18:28 build.xml
drwxr-xr-x   9 akadri  wheel   306 27 Jul 18:28 cordova
drwxr-xr-x   3 akadri  wheel   102 27 Jul 18:28 libs
-rw-r--r--   1 akadri  wheel   427 27 Jul 18:28 local.properties
-rw-r--r--   1 akadri  wheel   781 27 Jul 18:28 proguard-project.txt
-rw-r--r--   1 akadri  wheel   579 27 Jul 18:28 project.properties
drwxr-xr-x  10 akadri  wheel   340 27 Jul 18:28 res
drwxr-xr-x   3 akadri  wheel   102 27 Jul 18:28 src
{panel}
                
> 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
>             Fix For: 2.1.0
>
>
> 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

       

Mime
View raw message