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 0E35ED64F for ; Mon, 27 Aug 2012 18:10:29 +0000 (UTC) Received: (qmail 89627 invoked by uid 500); 27 Aug 2012 18:10:28 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 89590 invoked by uid 500); 27 Aug 2012 18:10:28 -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 89581 invoked by uid 99); 27 Aug 2012 18:10:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2012 18:10:27 +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 mark.kessler.ctr@usmc.mil designates 138.162.128.24 as permitted sender) Received: from [138.162.128.24] (HELO usmcquanio02.nmci.usmc.mil) (138.162.128.24) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2012 18:10:17 +0000 X-fn: ArgManageTest.mxml, ArgManage.as Received: from gate25-quantico.nmci.usmc.mil (HELO mcusquaneg01v.mcdsus.mcds.usmc.mil) ([138.162.128.55]) by usmcquanio02.nmci.usmc.mil with ESMTP; 27 Aug 2012 11:52:44 -0400 Received: from mcusquanez26v.mcdsus.mcds.usmc.mil ([138.156.149.182]) by mcusquaneg01v.mcdsus.mcds.usmc.mil with Microsoft SMTPSVC(6.0.3790.4675); Mon, 27 Aug 2012 14:09:51 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CD847F.12302A19" X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: RE: Getting Mustella to work. Date: Mon, 27 Aug 2012 14:09:16 -0400 Message-ID: <0E7CF6486AC44249B0B674C6760449B4030803CD@mcusquanez26v.mcdsus.mcds.usmc.mil> In-Reply-To: X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: Getting Mustella to work. Thread-Index: Ac2EeZ3z+DejJSgRRvWofITGaLf9BQAA5aUw References: <0E7CF6486AC44249B0B674C6760449B4030802AE@mcusquanez26v.mcdsus.mcds.usmc.mil> From: "Kessler CTR Mark J" To: X-OriginalArrivalTime: 27 Aug 2012 18:09:51.0423 (UTC) FILETIME=[27090CF0:01CD847F] ------_=_NextPart_001_01CD847F.12302A19 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Gonna play a game of see if the exchange server strips my attachments... ----- Ok I've worked on it a bit here and there. I rolled it up to a class to = make it easier to implement. By far the regex was the longest pieces. = For those who want to know, the Regex in actioscript is the same flavor = as javascript. Can use this website to fiddle with it without having to = complile http://jsfiddle.net/ //Create an instance of the class. var oArgs:ArgManage =3D new ArgManage(); //Toss in the argument string. oArgs.StringArugments =3D sMyExistingArgumentsString; //Run any of the stock functions to add/update/remove arguments. //The AddStaticArg is for strange things like "-debug" having no value = assignment. public function AddArg(sName:String, sValue:String):void; public function AddStaticArg(sName:String):void; public function RemoveArg(sName:String):void; public function UpdateArg(sName:String, sValue:String):Boolean; //Get your new combined string back out. sMyExistingArgumentsString =3D oArgs.StringArugments; Possible things left to do: -Change arraylists to vectors. -Take a little redundancy out of the code. -Change variable/function naming convention to some actionscript = standard. - -----Original Message----- From: Peter Ent [mailto:pent@adobe.com]=20 Sent: Monday, August 27, 2012 13:30 To: flex-dev@incubator.apache.org Subject: Re: Getting Mustella to work. Sure, I can work it in and give it a try. Thanks. --peter On 8/27/12 1:26 PM, "Kessler CTR Mark J" = wrote: >Peter, did you want to test the argument handler test code today? > >-----Original Message----- >From: Peter Ent [mailto:pent@adobe.com] >Sent: Thursday, August 23, 2012 11:56 >To: flex-dev@incubator.apache.org >Subject: Re: Getting Mustella to work. > >Certainly appreciate the help. Here's a typical one when running = Mustella: > >-debug -define=3DCONFIG::skaha,false >-compiler.fonts.managers=3Dflash.fonts.JREFontManager,flash.fonts.AFEFon= t >Man >a >ger,flash.fonts.BatikFontManager,flash.fonts.CFFFontManager >-source-path=3D/Users/pent/apache/flex/mustella/Assets >-includes=3DExcludeFileLocation -includes=3DSetShowRTE=20 >-includes=3DSaveBitmapFailures=20 >-includes=3Ddatagrid_properties_lockedColumnCount_mxml >-source-path=3D/Users/pent/apache/flex/mustella/tests/components/DataGri= d >/Da >t >aGrid_SparkSkin/Properties --allow-source-path-overlap=3Dtrue=20 >-includes=3DSendResultsToRunner -includes=3DExitWhenDone = -source-path=3D. >-source-path=3D/Users/pent/apache/flex/mustella/../frameworks/ >-source-path=3D/Users/pent/apache/flex/mustella/as3/src/mustella > >Try changing my path, "/Users/pent/apache/" to something like=20 >"/Users/pent/apache with spaces/" to get a better example. > >What happens in the code is that groups of these options may be coming=20 >from the environment, so you might find "-debug=20 >-define=3DCONFIG::skaha,false" being added as a single entity. Then = code=20 >turns what it has at the moment into a String[] and passes that to=20 >another function that might add more arguments. If that function does,=20 >it will turn the String[] back into a String, add the arguments, then=20 >turn it back into String[]. > >But if you can make something that will convert the args into an=20 >acceptable String[] it would be super-helpful. > >Thanks! >--peter ------_=_NextPart_001_01CD847F.12302A19--