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 0459AD67D for ; Mon, 27 Aug 2012 18:14:17 +0000 (UTC) Received: (qmail 8878 invoked by uid 500); 27 Aug 2012 18:14:16 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 8846 invoked by uid 500); 27 Aug 2012 18:14:16 -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 8834 invoked by uid 99); 27 Aug 2012 18:14:16 -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:14:16 +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.185 as permitted sender) Received: from [64.18.1.185] (HELO exprod6og103.obsmtp.com) (64.18.1.185) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2012 18:14:08 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob103.postini.com ([64.18.5.12]) with SMTP ID DSNKUDu427HRgzV2qbH677CSXkvzI5jFs+4d@postini.com; Mon, 27 Aug 2012 11:13:48 PDT Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q7RIBEk0021497 for ; Mon, 27 Aug 2012 11:11:14 -0700 (PDT) Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q7RIA6Zb008072 for ; Mon, 27 Aug 2012 11:13:43 -0700 (PDT) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas02.corp.adobe.com ([10.8.189.100]) with mapi; Mon, 27 Aug 2012 11:12:40 -0700 From: Peter Ent To: "flex-dev@incubator.apache.org" Date: Mon, 27 Aug 2012 11:12:38 -0700 Subject: Re: Getting Mustella to work. Thread-Topic: Getting Mustella to work. Thread-Index: Ac2Ef4tCE2miJkIhSeeSV7tIrSjTeQ== Message-ID: In-Reply-To: <0E7CF6486AC44249B0B674C6760449B4030803CD@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 I'll try and look at it today. I'm in the middle of figuring out why some bitmaps aren't showing up in the tests. Thanks! --peter On 8/27/12 2:09 PM, "Kessler CTR Mark J" wrote: >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] >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.AFEFont >>Man >>a >>ger,flash.fonts.BatikFontManager,flash.fonts.CFFFontManager >>-source-path=3D/Users/pent/apache/flex/mustella/Assets >>-includes=3DExcludeFileLocation -includes=3DSetShowRTE >>-includes=3DSaveBitmapFailures >>-includes=3Ddatagrid_properties_lockedColumnCount_mxml >>-source-path=3D/Users/pent/apache/flex/mustella/tests/components/DataGrid >>/Da >>t >>aGrid_SparkSkin/Properties --allow-source-path-overlap=3Dtrue >>-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 >>"/Users/pent/apache with spaces/" to get a better example. >> >>What happens in the code is that groups of these options may be coming >>from the environment, so you might find "-debug >>-define=3DCONFIG::skaha,false" being added as a single entity. Then code >>turns what it has at the moment into a String[] and passes that to >>another function that might add more arguments. If that function does, >>it will turn the String[] back into a String, add the arguments, then >>turn it back into String[]. >> >>But if you can make something that will convert the args into an >>acceptable String[] it would be super-helpful. >> >>Thanks! >>--peter