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 76AAD9B87 for ; Thu, 23 Aug 2012 23:01:07 +0000 (UTC) Received: (qmail 18561 invoked by uid 500); 23 Aug 2012 23:01:06 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 18463 invoked by uid 500); 23 Aug 2012 23:01:06 -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 18450 invoked by uid 99); 23 Aug 2012 23:01:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 23:01:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 23:00:58 +0000 Received: by weyr6 with SMTP id r6so677615wey.6 for ; Thu, 23 Aug 2012 16:00:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=rbnIIdnF3+2Vtj97JbTpGTSKVinEn0rm6RiTDDFHkwM=; b=KlpK9uLanbyhhFOFrFHfpLV/EK9dNAbyf2OEnY9f05KVfZ7hPVtlhFHrylNajOdXAH OEY3vMHAkU3oIzRrtwrxB0lGKx6Yte0IOKhkxgbr804KpH2UWuHZeK/yR2IpoKnAeaL7 uT134tIlz9oSV/whO2jdNN+bor5WXhVjTfPB3084zgoKOZHENOYBKGfFUnS75ygNFJBj 1oh0oQpskoD/NPeCQHhds2XVuKLYIk99ZB1i8mJgQSHzC9CQU3iV+GE+nii7zKraVFlD sNOKWzj6y0QJM50PeJB/5RW8BrMkCt39MtXbs1F0VDzPCtxd+TEiwRd7naHZKOz987pf fS6A== Received: by 10.180.107.2 with SMTP id gy2mr423263wib.2.1345762837960; Thu, 23 Aug 2012 16:00:37 -0700 (PDT) Received: from [192.168.1.37] (70.Red-81-34-221.dynamicIP.rima-tde.net. [81.34.221.70]) by mx.google.com with ESMTPS id k20sm1112337wiv.11.2012.08.23.16.00.35 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Aug 2012 16:00:35 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Subject: Re: Getting Mustella to work. From: Jose Barragan In-Reply-To: <57BFC046-4578-4BC2-BD2E-E96AB8D981AF@classsoftware.com> Date: Fri, 24 Aug 2012 01:00:33 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <57BFC046-4578-4BC2-BD2E-E96AB8D981AF@classsoftware.com> To: flex-dev@incubator.apache.org X-Mailer: Apple Mail (2.1485) X-Gm-Message-State: ALoCoQnnrSIDXp3jdQrTieqYtOO5nvahfLxhN0MdQWYoc3iN4xdq/llFVfDu1KB4THVwrV3owiNU If anybody are working on mx, I'll try it [java]=20 [java]=20 [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [java] Passes: 656 [java] Fails: 39 [java] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D [java]=20 [java]=20 [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 = wrote: > Hi, >=20 >> 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. >=20 > This is the offending line: > defaultArgs=3DStringUtils.StringToArray(args); >=20 > Something along the lines of this may work (assuming quotes have been = added). >=20 > Matcher match =3D = Pattern.compile("([^\\S]*\"[^\"]*\")|(\\S+)").matcher(args); > ArrayList argList =3D new ArrayList(); >=20 > while (match.find()) { > if (match.group(1) =3D=3D null) { > argList.add(match.group(2)); > } else { > argList.add(match.group(1)); > } > } >=20 > Anyone want to give it a go/come up with a better regex? >=20 > 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. >=20 > Thanks, > Justin >=20 >=20