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 C837AD3CC for ; Fri, 26 Oct 2012 15:05:24 +0000 (UTC) Received: (qmail 15766 invoked by uid 500); 26 Oct 2012 15:05:23 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 15633 invoked by uid 500); 26 Oct 2012 15:05:23 -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 15610 invoked by uid 99); 26 Oct 2012 15:05:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 15:05:23 +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 aharui@adobe.com designates 64.18.1.31 as permitted sender) Received: from [64.18.1.31] (HELO exprod6og113.obsmtp.com) (64.18.1.31) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2012 15:05:13 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob113.postini.com ([64.18.5.12]) with SMTP ID DSNKUIqmk15njaznOaFL6ChK4RC+P9ShXJbJ@postini.com; Fri, 26 Oct 2012 08:04:52 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 q9QF251v029668 for ; Fri, 26 Oct 2012 08:02:06 -0700 (PDT) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q9QF4nXL029031 for ; Fri, 26 Oct 2012 08:04:49 -0700 (PDT) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Fri, 26 Oct 2012 08:04:48 -0700 From: Alex Harui To: "flex-dev@incubator.apache.org" Date: Fri, 26 Oct 2012 08:05:08 -0700 Subject: Re: About Flex runtime Thread-Topic: About Flex runtime Thread-Index: Ac2zeLHCur9m+kqtQ6inFTjfDsce8QAEpfSK Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.13.0.120411 acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org ImageDiff works as long as both sides have an image that is the same size. For ImageDiffAIR, did you open the .air file and install it? You can't jus= t run the ImageDiffAIR.swf since it is an AIR app. What error did you get? On 10/26/12 5:51 AM, "Fr=E9d=E9ric THOMAS" wrote: > So, now I can compile mustella but the tests with FP 10.3 still fails, I > tried to use ImageDiffAIR but the file is damaged, I tried to use ImageDi= ff > too but it has some bugs, one when I ckicked on compare: >=20 > TypeError: Error #1009: Il est impossible d'acc=E9der =E0 la propri=E9t= =E9 ou =E0 la > m=E9thode d'une r=E9f=E9rence d'objet nul. > at imageDiff/compareBitmaps() > at imageDiff/___imageDiff_Button3_click() >=20 >=20 > the other one when I click on the last get pixel with the same error. >=20 >=20 > (body:step 2) compare returned[object BitmapData] > [java] components/Label/styles/Label_styles_tester_Spark > Spark_textDecoration_underline_Style_Label Failed CompareB > itmap(body:step 2) compare returned[object BitmapData] > [java] components/Label/styles/Label_styles_tester_Spark > Spark_textIndent_0_Style_Label Failed CompareBitmap(body:s > tep 2) compare returned[object BitmapData] > [java] components/Label/styles/Label_styles_tester_Spark > Spark_textIndent_20_Style_Label Failed CompareBitmap(body: > step 2) compare returned[object BitmapData] > [java] components/Label/styles/Label_styles_tester_Spark > Spark_textIndent_negative_Style_Label Failed CompareBitmap > (body:step 2) compare returned[object BitmapData] > [java] > [java] > [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: 89 > [java] Fails: 166 > [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] > [java] > [java] Wrote summary to results.txt > [java] Wrote failures to failures.txt >=20 > BUILD FAILED > U:\asf\flex\sdk\develop\mustella\build.xml:1507: The following error > occurred while executing this line: > U:\asf\flex\sdk\develop\mustella\build.xml:1625: Java returned: 1 >=20 > Total time: 1 minute 27 seconds >=20 > -----Message d'origine----- > From: Fr=E9d=E9ric THOMAS > Sent: Friday, October 26, 2012 1:55 PM > To: flex-dev@incubator.apache.org > Subject: Re: About Flex runtime >=20 > In SwfLoaderTestAdapter, it should be "compm.compile(loader_mxml_file, ne= w > ArrayList(Arrays.asList(args)));" instead of > "compm.compile(loader_mxml_file, args);" because the compile method of > CompileMxmlUtils is defined like that "public void compile(String > mxml,ArrayList optionalArgs) throws Exception", the optionalArgs is defin= ed > as an ArrayList whereas args is defined as String [] >=20 > -----Message d'origine----- > From: Fr=E9d=E9ric THOMAS > Sent: Friday, October 26, 2012 1:08 PM > To: flex-dev@incubator.apache.org > Subject: Re: About Flex runtime >=20 > I tried twice from yesterday to checkout de develop branch, once on my > computer at work, on at me, in both cases, after compiling the sdk, I tri= ed > to run the tests and had that: >=20 > $ sh mini_run.sh tests/components/Label > Skipping testcase check > Doing a regular mini run > Buildfile: U:\asf\flex\sdk\develop\mustella\build.xml > [echo] JAVA_HOME: C:/Program Files > (x86)/Java/jdk1.6.0_33 > [echo] FLASHPLAYER_DEBUGGER: T:\opt\flashplayer-10.3.183.29 > [echo] sdk.dir: U:\asf\flex\sdk\develop\mustella= /.. > [echo] air.sdk.dir: U:\adobe\air\3.1 > [echo] mustella exclude file: > U:/asf/flex/sdk/develop/mustella/tests/ExcludeListWin.txt >=20 > cleanswfs: >=20 > clean: > [echo] Deleting old results and files from previous testsuite build >=20 > handle_adt_jar: >=20 > prepare: > [echo] Preparing testsuite. >=20 > prepare: > [echo] Creating build directory... >=20 > compile-mustella: > [echo] Compiling mustella source code... > [javac] U:\asf\flex\sdk\develop\mustella\java\src\build.xml:79: warni= ng: > 'includeantruntime' was not set, defaulting > to build.sysclasspath=3Dlast; set to false for repeatable builds > [javac] Compiling 13 source files to > U:\asf\flex\sdk\develop\mustella\classes > [javac] > U:\asf\flex\sdk\develop\mustella\java\src\mustella\SwfLoaderTestAdapter.j= ava:1 > 01: > cannot find symbol > [javac] symbol : method compile(java.lang.String,java.lang.String[]) > [javac] location: class utils.CompileMxmlUtils > [javac] compm.compile(loader_mxml_file, args); > [javac] ^ > [javac] 1 error >=20 > BUILD FAILED > U:\asf\flex\sdk\develop\mustella\build.xml:896: The following error occur= red > while executing this line: > U:\asf\flex\sdk\develop\mustella\java\src\build.xml:79: Compile failed; s= ee > the compiler error output for details. >=20 > Total time: 3 seconds >=20 >=20 > What's wrong ? >=20 >=20 >=20 > -----Message d'origine----- > From: Fr=E9d=E9ric THOMAS > Sent: Friday, October 26, 2012 2:57 AM > To: flex-dev@incubator.apache.org > Subject: Re: About Flex runtime >=20 > unfortunatly, the only things I had time to do today was checking out the > develop and trunk branch once more and even if I was able to build them > easily, as soon as I tried to run the Mustella tests, I had java errors, > I'll try once again tomorrow but today, even if it was supposed to be > simple, everythings worked in the wrong way. >=20 > -----Message d'origine----- > From: Fr=E9d=E9ric THOMAS > Sent: Wednesday, October 24, 2012 7:09 PM > To: flex-dev@incubator.apache.org > Subject: RE: About Flex runtime >=20 > Ok, I'll do that tomorrow now cuz' it's later here now, need to go back > home, I'll keep in touch. >=20 > Fred >=20 > -----Original Message----- > From: Alex Harui [mailto:aharui@adobe.com] > Sent: Wednesday, October 24, 2012 6:59 PM > To: flex-dev@incubator.apache.org > Subject: Re: About Flex runtime >=20 > Sync up with SVN and try again. Carol put in a check to make sure you are > using embedded fonts. >=20 > It would be unfortunate if there are significant rendering differences on > 10.3. Use the ImageDiffAIR tool in the mustella/as3 directory and see if > the differences are just in edges of the glyphs. >=20 >=20 > On 10/24/12 9:31 AM, "Fr=E9d=E9ric THOMAS" wrot= e: >=20 >> I rebuilt the framework except I changed the playerglobal and the >> flashplayer debug version to 11.1 instead of 10.3 : >>=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] Failed: >> [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] components/Label/styles/Label_styles_tester_Spark >> Spark_fontSize_100_Style_Label Failed CompareBitmap(body:step 2) >> compare retu rned[object BitmapData] >> [java] >> [java] >> [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: 256 >> [java] Fails: 1 >> [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] >> [java] >> [java] Wrote summary to results.txt >> [java] Wrote failures to failures.txt >>=20 >>=20 >> In flashlog: >>=20 >> TestCase Start: >> components/Label/styles/Label_styles_tester_Spark$Spark_textIndent_neg >> ative_ >> Style_Label >> sending: >> http://localhost:9999/testCaseStart?components/Label/styles/Label_styl >> es_tes ter_Spark$Spark_textIndent_negative_Style_Label at: Wed Oct 24 >> 18:24:22 >> GMT+0200 2012 >> [Event type=3D"open" bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >> [HTTPStatusEvent type=3D"httpStatus" bubbles=3Dfalse cancelable=3Dfalse >> eventPhase=3D2 status=3D200 responseURL=3Dnull] [Event type=3D"complete" >> bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >> CompareBitmap: No ConditionalValues found. configID is null >> readPNG:requesting url: >> file:///U|/sources/asf/flex/sdk/mustella/tests/components/Label/styles >> /basel ines/textIndent_negative_Style_Label_Spark.png >> RESULT: scriptName=3Dcomponents/Label/styles/Label_styles_tester_Spark >> id=3DSpark_textIndent_negative_Style_Label result=3Dpass elapsed=3D216 >> phase=3Dbody >> started=3D1351095862392 extraInfo=3D msg=3D >> sending: >> http://localhost:9999/testCaseResult?scriptName=3Dcomponents/Label/style >> s/Labe >> l_styles_tester_Spark&id=3DSpark_textIndent_negative_Style_Label&result= =3D >> pass&e lapsed=3D216&phase=3Dbody&started=3D1351095862392&extraInfo=3D&ms= g=3D at: >> Wed Oct 24 >> 18:24:22 GMT+0200 2012 >> [Event type=3D"open" bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >> [HTTPStatusEvent type=3D"httpStatus" bubbles=3Dfalse cancelable=3Dfalse >> eventPhase=3D2 status=3D200 responseURL=3Dnull] [Event type=3D"complete" >> bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] testComplete >> ScriptComplete: completely done >> sending: http://localhost:9999/ScriptComplete?0 at: Wed Oct 24 >> 18:24:22 >> GMT+0200 2012 >>=20 >>=20 >>=20 >> Doesn't it mean the playerglobal and the flashplayer debug version is >> the clue ? >>=20 >> Fred >>=20 >>=20 >>=20 >> -----Original Message----- >> From: Fr=E9d=E9ric THOMAS [mailto:webdoublefx@hotmail.com] >> Sent: Wednesday, October 24, 2012 6:14 PM >> To: flex-dev@incubator.apache.org >> Subject: RE: About Flex runtime >>=20 >> I've still got the console logs but it doesn't tell too much, for the >> last error : >>=20 >> [java] components/Label/styles/Label_styles_tester_Spark >> Spark_textIndent_negative_Style_Label Failed CompareBitmap(body:step >> 2) compa re returned[object BitmapData] >>=20 >> In flashlogs, I guess the relative trace is: >>=20 >> TestCase Start: >> components/Label/styles/Label_styles_tester_Spark$Spark_textIndent_neg >> ative_ >> Style_Label >> sending: >> http://localhost:9999/testCaseStart?components/Label/styles/Label_styl >> es_tes ter_Spark$Spark_textIndent_negative_Style_Label at: Wed Oct 24 >> 17:11:33 >> GMT+0200 2012 >> [Event type=3D"open" bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >> [HTTPStatusEvent type=3D"httpStatus" bubbles=3Dfalse cancelable=3Dfalse >> eventPhase=3D2 status=3D200 responseURL=3Dnull] [Event type=3D"complete" >> bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >> CompareBitmap: No ConditionalValues found. configID is null >> readPNG:requesting url: >> file:///U|/sources/asf/flex/sdk/mustella/tests/components/Label/styles >> /basel ines/textIndent_negative_Style_Label_Spark.png >> image size: 738 >> writing url: >> http://localhost:9998/baselines/baseline.jsp?filename=3Du:/sources/asf/f >> lex/sd >> k/mustella/tests/components/Label/SWFs/../styles/baselines/textIndent_ >> negati >> ve_Style_Label_Spark.png.bad.png >> baseline write successful [Event type=3D"complete" bubbles=3Dfalse >> cancelable=3Dfalse eventPhase=3D2] >> RESULT: scriptName=3Dcomponents/Label/styles/Label_styles_tester_Spark >> id=3DSpark_textIndent_negative_Style_Label result=3Dfail elapsed=3D217 >> phase=3Dbody >> started=3D1351091493579 >> extraInfo=3D/components/Label/styles/baselines/textIndent_negative_Style >> _Label _Spark.png.bad.png msg=3DCompareBitmap(body:step 2) compare >> returned[object BitmapData] >> sending: >> http://localhost:9999/testCaseResult?scriptName=3Dcomponents/Label/style >> s/Labe >> l_styles_tester_Spark&id=3DSpark_textIndent_negative_Style_Label&result= =3D >> fail&e >> lapsed=3D217&phase=3Dbody&started=3D1351091493579&extraInfo=3D/component= s/Labe >> l/styl >> es/baselines/textIndent_negative_Style_Label_Spark.png.bad.png&msg=3DCom >> pareBi >> tmap%28body%3Astep%202%29%20%20compare%20returned%5Bobject%20BitmapDat >> a%5D >> at: Wed Oct 24 17:11:33 GMT+0200 2012 >> [Event type=3D"open" bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] >> [HTTPStatusEvent type=3D"httpStatus" bubbles=3Dfalse cancelable=3Dfalse >> eventPhase=3D2 status=3D200 responseURL=3Dnull] [Event type=3D"complete" >> bubbles=3Dfalse cancelable=3Dfalse eventPhase=3D2] testComplete >>=20 >> That's it and that's the same kind for the others. >>=20 >> For the embedded font, I'm not sure about what you are talking, if it >> is the flex-fontkit.jar, I've got it. >>=20 >> Fred >>=20 >> -----Original Message----- >> From: Alex Harui [mailto:aharui@adobe.com] >> Sent: Wednesday, October 24, 2012 5:53 PM >> To: flex-dev@incubator.apache.org >> Subject: Re: About Flex runtime >>=20 >>=20 >>=20 >>=20 >> On 10/24/12 8:20 AM, "Fr=E9d=E9ric THOMAS" wro= te: >>=20 >>> I tried to run "mini_run.sh -all" on Apache "Flex 4.8.0 FP10.3 en_US" >>> but had some troubles then I tried with "mini_run.sh >> tests/components/Label" >>> only : >>>=20 >>> [java] >>> [java] >>> [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: 89 >>> [java] Fails: 168 >>> [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] >>> [java] >>> [java] Wrote summary to results.txt >>> [java] Wrote failures to failures.txt >>>=20 >> All tests are passing for Peter, Carol and I. Next time send the >> failures information from the console log just before this summary. >> It tells more about what failed. >>=20 >> My guess is that you haven't installed the embedded font libraries. >> All mustella tests should use embedded fonts in order to render more >> consistently across OS's. >>=20 >> -- >> Alex Harui >> Flex SDK Team >> Adobe Systems, Inc. >> http://blogs.adobe.com/aharui >>=20 >>=20 >>=20 >=20 > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui >=20 >=20 --=20 Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui