OK, checked that in. You'll now get a compiler problem if the mustella.swc isn't there. Right now you'll get six errors because we reverted one fix and Darrell's providing a better solution.
Thanks for catching that, Erik. -Alex On 9/3/13 1:31 PM, "Alex Harui" <aha...@adobe.com> wrote: >Hmm, that's hard to work with. How about MXMLUnresolvedTagProblem? > >On 9/3/13 1:15 PM, "Alex Harui" <aha...@adobe.com> wrote: > >>How about UnknownSuperclassProblem? I'm going to try that one. >> >>-Alex >> >>On 9/3/13 1:12 PM, "Alex Harui" <aha...@adobe.com> wrote: >> >>>Darrell, >>> >>>He's blowing up because he doesn't have mustella.swc in the lib path. >>>The >>>fix for auto-importing the base class of the MXML file doesn't have code >>>to handle not finding the base class. What CompilerProblem should we >>>use >>>for that? >>> >>>-Alex >>> >>>On 9/3/13 1: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/bas >>>>i >>>>c >>>>T >>>>e >>>>sts/BasicTests.mxml -debug >>>>-library-path+=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/muste >>>>l >>>>l >>>>a >>>>/ >>>>mustella.swc >>>> >>>>Vmargs: >>>>-Xmx1024m -Dsun.io.useCanonCaches=false >>>>-Dflexlib=/Users/dloverin/git-src/ApacheFlex/source/flex-sdk/frameworks >>>>-Dflexcompiler=/Users/dloverin/git-src/ApacheFlex/source/falcon/compile >>>>r >>>> >>>> >>>>-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/basicT >>>>>>e >>>>>>s >>>>>>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/basicT >>>>>>e >>>>>>s >>>>>>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/basicT >>>>>>e >>>>>>s >>>>>>t >>>>>>s >>>>>>/dmv/scripts/ADGTestScript.mxml: >>>>>> java.lang.ArrayIndexOutOfBoundsException: 0 >>>>>> at >>>>>>org.apache.flex.compiler.internal.units.MXMLCompilationUnit.handleSyn >>>>>>t >>>>>>a >>>>>>x >>>>>>T >>>>>>reeRequest(MXMLCompilationUnit.java:89) >>>>>> at >>>>>>org.apache.flex.compiler.internal.units.CompilationUnitBase.processSy >>>>>>n >>>>>>t >>>>>>a >>>>>>x >>>>>>TreeRequest(CompilationUnitBase.java:829) >>>>>> at >>>>>>org.apache.flex.compiler.internal.units.CompilationUnitBase.access$10 >>>>>>0 >>>>>>( >>>>>>C >>>>>>o >>>>>>mpilationUnitBase.java:107) >>>>>> at >>>>>>org.apache.flex.compiler.internal.units.CompilationUnitBase$2$1.call( >>>>>>C >>>>>>o >>>>>>m >>>>>>p >>>>>>ilationUnitBase.java:259) >>>>>> at >>>>>>org.apache.flex.compiler.internal.units.CompilationUnitBase$2$1.call( >>>>>>C >>>>>>o >>>>>>m >>>>>>p >>>>>>ilationUnitBase.java:255) >>>>>> at >>>>>>org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call( >>>>>>R >>>>>>e >>>>>>q >>>>>>u >>>>>>estMaker.java:228) >>>>>> at >>>>>>org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call( >>>>>>R >>>>>>e >>>>>>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(ThreadPoolExec >>>>>>u >>>>>>t >>>>>>o >>>>>>r >>>>>>.java:895) >>>>>> at >>>>>>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor >>>>>>. >>>>>>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/basic >>>>>>>T >>>>>>>e >>>>>>>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 >>>> >>> >> >