On 9/3/13 3:55 PM, "Gordon Smith" <gosm...@adobe.com> wrote:
>Being able to compile the MXML for BasicTests is a great milestone, so >congratulations to Alex and Darrell for getting this working. But I don't >think it means that Falcon is ready to compile arbitrary MXML >applications. Well, IMO, Falcon is ready to compile arbitrary MXML apps, it just may not produce correct results. But you and Darrell know the code better. I was going to invite folks to try it and file bugs. Do you think we should wait a bit longer and run some other test cases first? > >- Gordon > >-----Original Message----- >From: Gordon Smith [mailto:gosm...@adobe.com] >Sent: Tuesday, September 03, 2013 3:53 PM >To: dev@flex.apache.org; Erik de Bruin >Subject: RE: [Falcon] BasicTests compiles and runs > >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:aha...@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" <dlove...@adobe.com> 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" <dlove...@adobe.com> 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. >>> >>>args: >>>/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/frameworks/tests/ba >>>sic >>>T >>>e >>>sts/BasicTests.mxml -debug >>>-library-path+=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/must >>>-library-path+ell >>>a >>>/ >>>mustella.swc >>> >>>Vmargs: >>>-Xmx1024m -Dsun.io.useCanonCaches=false >>>-Dflexlib=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/framework >>>s >>>-Dflexcompiler=/Users/dloverin/git-src/ApacheFlex/source/falcon/compil >>>er >>> >>> >>>-Darrell >>> >>> >>>On 9/3/13 2:49 PM, "Alex Harui" <aha...@adobe.com> 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 <e...@ixsoftware.nl> wrote: >>>> >>>> >>>>I did an 'ant wipe' which seems to delete 'generated'. >>>> >>>>EdB >>>> >>>> >>>> >>>>On Tue, Sep 3, 2013 at 7:50 PM, Alex Harui <aha...@adobe.com> 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 <e...@ixsoftware.nl> 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: >>>>> >>>>>/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"} >>>>> >>>>>/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: >>>>> >>>>>/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 >>>>>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 <aha...@adobe.com> wrote: >>>>>> Are you on the develop branch? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Sent via the PANTECH Discover, an AT&T 4G LTE smartphone. >>>>>> >>>>>> Erik de Bruin <e...@ixsoftware.nl> 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: >>>>>>/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 <aha...@adobe.com> >>>>>>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 >>> >> >