Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-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 0B9F6DD16 for ; Thu, 23 Aug 2012 13:33:27 +0000 (UTC) Received: (qmail 90165 invoked by uid 500); 23 Aug 2012 13:33:26 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 90135 invoked by uid 500); 23 Aug 2012 13:33:26 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 90127 invoked by uid 99); 23 Aug 2012 13:33:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 13:33:26 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pent@adobe.com designates 64.18.1.187 as permitted sender) Received: from [64.18.1.187] (HELO exprod6og104.obsmtp.com) (64.18.1.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 13:33:18 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob104.postini.com ([64.18.5.12]) with SMTP ID DSNKUDYxCNYDWm6xF/LwCK4L3yvKaryOGUkz@postini.com; Thu, 23 Aug 2012 06:32:58 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q7NDUPk0016525 for ; Thu, 23 Aug 2012 06:30:25 -0700 (PDT) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q7NDWuvm008614 for ; Thu, 23 Aug 2012 06:32:56 -0700 (PDT) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Thu, 23 Aug 2012 06:32:55 -0700 From: Peter Ent To: "flex-dev@incubator.apache.org" Date: Thu, 23 Aug 2012 06:32:54 -0700 Subject: Re: Getting Mustella to work. Thread-Topic: Getting Mustella to work. Thread-Index: Ac2BM81oyxujA2P+Q1aFinYLQzO/dA== Message-ID: In-Reply-To: <0E7CF6486AC44249B0B674C6760449B402FDE650@mcusquanez26v.mcdsus.mcds.usmc.mil> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 That ought to work, but does not. The Mustella code pieces together a large string with all of the options on it, then turns the string into a String[] by using space as the delimiter. Thus -source-path=3D"C:\Program Files\Common Files\Microsoft Shared\MSInfo\MSInfo32.exe" turns into [] =3D -source-path=3D"C:\Program Files\Common [] =3D Files\Microsoft [] =3D Shared\MSInfo\MSInfo32.exe" And it does this several times (turning the array into a string, inserting other args, back to an array) to build up the argument list. Ultimately, the array of options is passed over to mxmlc to execute, so it does need to turn into an array of options. I was working on putting everything into an ArrayList but more and more code needed to change and then I was getting errors from mxmlc saying parameters were being mixed which I didn't understand since it was getting the same parameters in the same order. So I have to re-think the approach. --peter On 8/23/12 6:59 AM, "Kessler CTR Mark J" wrote: >I know this may sound silly, but windows deals with the spaces in path >using quotes around the whole path. Is there something similar with >Mustella? > >So a windows command prompt example, I could do something like the >following... >"C:\Program Files\Common Files\Microsoft Shared\MSInfo\MSInfo32.exe" > > >Whereas the old non spaced dos style naming convention would do this >without quotes.. >c:\progra~1\common~1\micros~1\msinfo\MSInfo32.exe > > >r/s >-Mark > >-----Original Message----- >From: Peter Ent [mailto:pent@adobe.com] >Sent: Wednesday, August 22, 2012 9:20 >To: flex-dev@incubator.apache.org >Subject: Re: Getting Mustella to work. > >I have not have luck solving the problem. It is much trickier than I >anticipated. I am going to jump back into getting more tests to run and >think more about the problem. Operating systems have allowed spaces in >file names for many, many years and you'd think would be an easily >solvable problem (or not even a problem at all). > >--peter > >On 8/21/12 11:12 PM, "Justin Mclean" wrote: > >>Hi, >> >>If the space path issue was fixed you have more to add. Any luck with >>that yet? >> >>Justin >