Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B867CAE1 for ; Sat, 28 Jul 2012 01:35:36 +0000 (UTC) Received: (qmail 44600 invoked by uid 500); 28 Jul 2012 01:35:36 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 44571 invoked by uid 500); 28 Jul 2012 01:35:36 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 44562 invoked by uid 99); 28 Jul 2012 01:35:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jul 2012 01:35:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id A665514052D for ; Sat, 28 Jul 2012 01:35:35 +0000 (UTC) Date: Sat, 28 Jul 2012 01:35:33 +0000 (UTC) From: "Anis Kadri (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1648143362.112482.1343439335683.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1920316203.110996.1343409214662.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (CB-1148) CLI tools do not work with spaces in the path MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1148?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Anis Kadri resolved CB-1148. ---------------------------- Resolution: Fixed Fix Version/s: 2.1.0 {panel:title=3D./bin/create} [18:28:04][akadri@kryptonite:/tmp/my long directory with spaces in it]$ ./b= in/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 Aw= esome 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} =20 > 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.=20 > 1) Using create with no options creates an example folder. When I try to = run cordova/debug, I get=20 > =E2=9E=9C cordova git:(master) =E2=9C=97 ./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 de= bug, I get: > BUILD FAILED > /Applications/android-sdk-macosx/tools/ant/build.xml:518: Application pac= kage '__PACKAGE__' must have a minimum of 2 segments. > When I look at the AndroidManfest.xml file, I see this: > package=3D"__PACKAGE__" android:versionName=3D"1.1" android:version= Code=3D"5"> > Which seems to imply that the main create script didn't replace the token= s 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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira