incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Barragan <jose.barra...@codeoscopic.com>
Subject Re: Getting Mustella to work.
Date Fri, 24 Aug 2012 21:05:23 GMT
Thanks Peter,

Well, step by step, i've fixed the mx/collections

     [java] =====================================================
     [java] 	Failed: 
     [java] =====================================================
     [java] 
     [java] 
     [java] =====================================================
     [java]     Passes: 393
     [java]     Fails: 0
     [java] =====================================================
     [java] 
     [java] 
     [java] Wrote summary to results.txt
     [java] Wrote failures to failures.txt

call_runners:

run:

BUILD SUCCESSFUL
Total time: 2 minutes 45 seconds



On Aug 24, 2012, at 3:57 PM, Peter Ent <pent@adobe.com> wrote:

> I have Jose listed in the table on the Wiki page for the whole 'mx' suite.
> Thanks and good hunting.
> 
> --peter
> 
> On 8/23/12 7:00 PM, "Jose Barragan" <jose.barragan@codeoscopic.com> wrote:
> 
>> If anybody are working on mx, I'll try it
>> 
>>    [java] 
>>    [java] 
>>    [java] =====================================================
>>    [java]     Passes: 656
>>    [java]     Fails: 39
>>    [java] =====================================================
>>    [java] 
>>    [java] 
>>    [java] Wrote summary to results.txt
>>    [java] Wrote failures to failures.txt
>> 
>> BUILD FAILED
>> /Users/pepebarragan/Developer/apache/flex/sdk/trunk/mustella/build.xml:145
>> 3: The following error occurred while executing this line:
>> /Users/pepebarragan/Developer/apache/flex/sdk/trunk/mustella/build.xml:157
>> 1: Java returned: 1
>> 
>> Total time: 18 minutes 28 seconds
>> 
>> Thanks,
>> Jose
>> 
>> On Aug 24, 2012, at 12:43 AM, Justin Mclean <justin@classsoftware.com>
>> wrote:
>> 
>>> Hi,
>>> 
>>>> I think I found that quotes are ok even on Mac.  Isn't the code that
>>>> makes
>>>> the initial command line building it up out of pieces?  If so, I'd add
>>>> the
>>>> quotes as the initial command line is getting built up.
>>> Need to be adde din about a dozen places but that's not too hard.
>>> However it still fails as the spilt ignore quotes.
>>> 
>>> This is the offending line:
>>>   defaultArgs=StringUtils.StringToArray(args);
>>> 
>>> Something along the lines of this may work (assuming quotes have been
>>> added).
>>> 
>>>   Matcher match =
>>> Pattern.compile("([^\\S]*\"[^\"]*\")|(\\S+)").matcher(args);
>>>   ArrayList argList = new ArrayList();
>>> 
>>>   while (match.find()) {
>>>       if (match.group(1) == null) {
>>>       	argList.add(match.group(2));
>>>       } else {
>>>       	argList.add(match.group(1));
>>>       }
>>>   }
>>> 
>>> Anyone want to give it a go/come up with a better regex?
>>> 
>>> The better way to fix as Peter said would just to use an
>>> Array/arrayList and not go back and forth between Arrays and Strings.
>>> 
>>> Thanks,
>>> Justin
>>> 
>>> 
>> 
> 


Mime
View raw message