incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlos.rov...@codeoscopic.com>
Subject Re: Getting Mustella to work.
Date Thu, 23 Aug 2012 23:19:31 GMT
It's not listed on "Mustella Test Journall" (at the end of
https://cwiki.apache.org/confluence/display/FLEX/Mustella+Overview)

 so I think nobody is on it...

Great to see you working on Mustella! :)


2012/8/24 Jose Barragan <jose.barragan@codeoscopic.com>

> 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:1453:
> The following error occurred while executing this line:
> /Users/pepebarragan/Developer/apache/flex/sdk/trunk/mustella/build.xml:1571:
> 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
> >
> >
>
>


-- 
Carlos Rovira
Director de Tecnología
M: +34 607 22 60 05
F:  +34 912 35 57 77
<http://www.codeoscopic.com>
CODEOSCOPIC S.A. <http://www.codeoscopic.com>
Avd. del General Perón, 32
Planta 10, Puertas P-Q
28020 Madrid

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message