incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kessler CTR Mark J" <>
Subject RE: Getting Mustella to work.
Date Wed, 29 Aug 2012 14:03:16 GMT
Updated to use vectors, changed some naming convention, reduced a bit of redundant code, updated
the example to better display the internal arguments and allow minor modification.

Attachments have an additional extension of .txt just to keep them from getting stripped.

//  public properties

//Length of the arrays
length [get]

//Gets or sets all the arguments in a single string.
stringArguments [get, set]

//  public methods

//Adds a new argument and value or a new argument with no assignment.
public function add(sName:String, sValue:String = null):void

//Remove an argument by its name.
public function remove(sName:String):void

//Update an argument by its name.
public function update(sName:String, sValue:String = null):Boolean

//Return the argument name at the given index.
public function getNameAt(nIndex:int):String

//Return the argument value at the given index.
public function getValueAt(nIndex:int):String

//Find the index of an argument by its name
public function indexOf(sName:String):int

//Remove an argument by its index.
public function removeAt(nIndex:int):void

//Updates the argument value at the given index.
public function setValueAt(nIndex:int, sValue:String = null):Boolean

-----Original Message-----
From: Kessler CTR Mark J [] 
Sent: Monday, August 27, 2012 14:12
Subject: RE: Getting Mustella to work.

I'll try the attachments again with txt extensions

>-----Original Message-----
>From: Peter Ent []
>Sent: Thursday, August 23, 2012 11:56
>Subject: Re: Getting Mustella to work.
>Certainly appreciate the help. Here's a typical one when running Mustella:
>-debug -define=CONFIG::skaha,false
>-includes=ExcludeFileLocation -includes=SetShowRTE 
>aGrid_SparkSkin/Properties --allow-source-path-overlap=true 
>-includes=SendResultsToRunner  -includes=ExitWhenDone -source-path=.
>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=CONFIG::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.

View raw message