Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D89151056B for ; Tue, 3 Sep 2013 22:58:14 +0000 (UTC) Received: (qmail 11541 invoked by uid 500); 3 Sep 2013 22:58:14 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 11508 invoked by uid 500); 3 Sep 2013 22:58:14 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 11500 invoked by uid 99); 3 Sep 2013 22:58:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 22:58:14 +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 (athena.apache.org: domain of aharui@adobe.com designates 64.18.1.35 as permitted sender) Received: from [64.18.1.35] (HELO exprod6og115.obsmtp.com) (64.18.1.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 22:58:08 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob115.postini.com ([64.18.5.12]) with SMTP ID DSNKUiZpannQmQgzEJzd3JRp4h6HjxyAIKOC@postini.com; Tue, 03 Sep 2013 15:57:47 PDT Received: from inner-relay-2.corp.adobe.com (mail-321.pac.adobe.com [153.32.1.52]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r83Mvi2r000374; Tue, 3 Sep 2013 15:57:45 -0700 (PDT) Received: from SJ1SWM219.corp.adobe.com (sj1swm219.corp.adobe.com [10.5.77.61]) by inner-relay-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r83Mviw7004668; Tue, 3 Sep 2013 15:57:44 -0700 (PDT) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by SJ1SWM219.corp.adobe.com ([fe80::d55c:7209:7a34:fcf7%11]) with mapi; Tue, 3 Sep 2013 15:57:44 -0700 From: Alex Harui To: "dev@flex.apache.org" , Erik de Bruin Date: Tue, 3 Sep 2013 15:57:40 -0700 Subject: Re: [Falcon] BasicTests compiles and runs Thread-Topic: [Falcon] BasicTests compiles and runs Thread-Index: Ac6o+P+flSfRX/YZSI6TqFKqE09d/A== Message-ID: In-Reply-To: <149F8129B58B2D418508E63117D9C5419BEA83F51E@nambx05.corp.adobe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.6.130613 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Yeah, but I think FB only knows how to find and launch mxmlc. And folks with ant scripts, etc, should be able to switch easily. The shell script and batch files could check some environment variable, but I think some other places load up mxmlc.jar and start talking to it. -Alex On 9/3/13 3:52 PM, "Gordon Smith" wrote: >The simplest thing is just to have dual launch scripts: fmxmlc (Falcon) >vs. mxmlc (old compiler), fcompc vs. compc, etc. > >- Gordon > >-----Original Message----- >From: Alex Harui [mailto:aharui@adobe.com] >Sent: Tuesday, September 03, 2013 2:45 PM >To: dev@flex.apache.org; Erik de Bruin >Subject: Re: [Falcon] BasicTests compiles and runs > >Excellent. I'll try it out now. > >Now that you've seen how we manage the source code in Git for Apache >Flex, what do you think we should do about packaging up Falcon to work >with an Apache Flex SDK? There would need to be some sort of "switch" to >allow someone to go back to the old MXMLC if they need to. > >Thanks, >-Alex > >On 9/3/13 2:37 PM, "Darrell Loverin" wrote: > >>Added a patch for the implicit import issue: >>https://issues.apache.org/jira/browse/FLEX-33701 >> >> >>-Darrell >> >>On 9/3/13 4:08 PM, "Darrell Loverin" wrote: >> >>>The below args almost work for me from eclipse. There are three >>>undefined classes because "flash.filters.*" is not auto included. I'm >>>close to have the fix for that. >>>=20 >>>args: >>>/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/frameworks/tests/ba >>>sic >>>T >>>e >>>sts/BasicTests.mxml -debug >>>-library-path+=3D/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/must >>>-library-path+ell >>>a >>>/ >>>mustella.swc >>> >>>Vmargs: >>>-Xmx1024m -Dsun.io.useCanonCaches=3Dfalse >>>-Dflexlib=3D/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/framework >>>s=20 >>>-Dflexcompiler=3D/Users/dloverin/git-src/ApacheFlex/source/falcon/compil >>>er >>> >>> >>>-Darrell >>> >>> >>>On 9/3/13 2:49 PM, "Alex Harui" wrote: >>> >>>>I'll try when I get back to my computer. >>>> >>>> >>>> >>>> >>>>Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. >>>> >>>>Erik de Bruin wrote: >>>> >>>> >>>>I did an 'ant wipe' which seems to delete 'generated'. >>>> >>>>EdB >>>> >>>> >>>> >>>>On Tue, Sep 3, 2013 at 7:50 PM, Alex Harui wrote: >>>>> I am using a launch configuration in eclipse. Maybe the jars in >>>>>generated are not updated. >>>>> >>>>> >>>>> >>>>> >>>>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. >>>>> >>>>> Erik de Bruin wrote: >>>>> >>>>> >>>>> I am, last commit showing is "more fixes for BasicTests..." >>>>> (6b5dbbcbbda894b7c7b2998af0fe4776862769cd) >>>>> >>>>> Falcon builds fine, all tests pass. I've added the >>>>> "generated/dist/sdk/bin" directory to my PATH and cd to the >>>>> basicTests dir before running "mxmlc basicTests.mxml". >>>>> >>>>> The start of the terminal output is: >>>>> >>>>> Using Flex SDK: /Applications/Adobe Flash Builder 4.7/sdks/4.10.0 >>>>>(nightly) >>>>> Loading configuration: /Applications/Adobe Flash Builder >>>>> 4.7/sdks/4.10.0 (nightly)/frameworks/flex-config.xml >>>>> Loading configuration: >>>>>=20 >>>>>/Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/tests/basic >>>>>Tes >>>>>t >>>>>s >>>>>/BasicTests-config.xml >>>>> >>>>> not adding bindable variable trait for disclosureGroup in Qname: >>>>> Group::{PackageNs:"spark.components"} >>>>> not adding bindable variable trait for editor in Qname: >>>>> TextInput::{PackageNs:"spark.components"} >>>>>=20 >>>>>/Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/tests/basic >>>>>Tes >>>>>t >>>>>s >>>>>/dmv/scripts/ADGTestScript.mxml >>>>> Error: Internal error in syntax tree request subsystem, when >>>>>generating code for: >>>>>=20 >>>>>/Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/tests/basic >>>>>Tes >>>>>t >>>>>s >>>>>/dmv/scripts/ADGTestScript.mxml: >>>>> java.lang.ArrayIndexOutOfBoundsException: 0 at >>>>>org.apache.flex.compiler.internal.units.MXMLCompilationUnit.handleSy >>>>>nta >>>>>x >>>>>T >>>>>reeRequest(MXMLCompilationUnit.java:89) >>>>> at >>>>>org.apache.flex.compiler.internal.units.CompilationUnitBase.processS >>>>>ynt >>>>>a >>>>>x >>>>>TreeRequest(CompilationUnitBase.java:829) >>>>> at >>>>>org.apache.flex.compiler.internal.units.CompilationUnitBase.access$1 >>>>>00( >>>>>C >>>>>o >>>>>mpilationUnitBase.java:107) >>>>> at >>>>>org.apache.flex.compiler.internal.units.CompilationUnitBase$2$1.call >>>>>(Co >>>>>m >>>>>p >>>>>ilationUnitBase.java:259) >>>>> at >>>>>org.apache.flex.compiler.internal.units.CompilationUnitBase$2$1.call >>>>>(Co >>>>>m >>>>>p >>>>>ilationUnitBase.java:255) >>>>> at >>>>>org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call >>>>>(Re >>>>>q >>>>>u >>>>>estMaker.java:228) >>>>> at >>>>>org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call >>>>>(Re >>>>>q >>>>>u >>>>>estMaker.java:222) >>>>> at=20 >>>>>java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>>>> at >>>>>java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExe >>>>>cut >>>>>o >>>>>r >>>>>.java:895) >>>>> at >>>>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto >>>>>r.j >>>>>a >>>>>v >>>>>a:918) >>>>> at java.lang.Thread.run(Thread.java:680) >>>>> >>>>> This "Error: Internal error..." bit is then repeated - with minor >>>>> variations - the kazillion times mentioned, all in a split second. >>>>> >>>>> EdB >>>>> >>>>> >>>>> >>>>> On Tue, Sep 3, 2013 at 7:39 PM, Alex Harui wrote: >>>>>> Are you on the develop branch? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. >>>>>> >>>>>> Erik de Bruin wrote: >>>>>> >>>>>> >>>>>> I just tried to comile basicTests with Falcon, but even after some >>>>>> tweaking and rebuilding I get a kazillion errors like this one: >>>>>> >>>>>> Error: Internal error in ABC generator subsystem, when generating >>>>>>code >>>>>> for:=20 >>>>>>/Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/tests/basi >>>>>>cTe >>>>>>s >>>>>>t >>>>>>s/halo/scripts/ComboBoxTestScript.mxml: >>>>>> java.lang.NullPointerException >>>>>> >>>>>> Any ideas what I'm doing wrong? >>>>>> >>>>>> EdB >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Aug 31, 2013 at 9:02 AM, Alex Harui >>>>>>wrote: >>>>>>> I finally got Falcon to compile and run BasicTests successfully >>>>>>>using the "old codegen". BasicTests is the test that runs when >>>>>>>you run "ant checkintests". Next task is to get it to run with >>>>>>>the mxml.children-as-data flag. After that, I'll be trying to >>>>>>>get my internal customer's app to run. >>>>>>> Far off is getting BasicTests to run without Flash because we'd >>>>>>>need to have JS versions of all of these components, but getting >>>>>>>this far means that Falcon's MXML handling is in decent shape. >>>>>>> >>>>>>> Thanks to Darrell Loverin and Gordon Smith for code and advice. >>>>>>> >>>>>>> -Alex >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ix Multimedia Software >>>>>> >>>>>> Jan Luykenstraat 27 >>>>>> 3521 VB Utrecht >>>>>> >>>>>> T. 06-51952295 >>>>>> I. www.ixsoftware.nl >>>>> >>>>> >>>>> >>>>> -- >>>>> Ix Multimedia Software >>>>> >>>>> Jan Luykenstraat 27 >>>>> 3521 VB Utrecht >>>>> >>>>> T. 06-51952295 >>>>> I. www.ixsoftware.nl >>>> >>>> >>>> >>>>-- >>>>Ix Multimedia Software >>>> >>>>Jan Luykenstraat 27 >>>>3521 VB Utrecht >>>> >>>>T. 06-51952295 >>>>I. www.ixsoftware.nl >>> >> >