I'm on it. Thanks, Om
On Sun, Sep 20, 2015 at 11:48 PM, OmPrakash Muppirala <bigosma...@gmail.com> wrote: > I'm on it > > On Sun, Sep 20, 2015 at 11:46 PM, Alex Harui <aha...@adobe.com> wrote: > >> That sounds like your Closure Compiler is out-of-date. Try ‘ant >> wipe-all’ then ‘ant all’. >> >> I’m hoping to shut down at midnight so let’s see if we can get you >> building before then. >> >> -Alex >> >> From: "omup...@gmail.com" <omup...@gmail.com> on behalf of OmPrakash >> Muppirala <bigosma...@gmail.com> >> Date: Sunday, September 20, 2015 at 11:37 PM >> To: Alex Harui <aha...@adobe.com> >> >> Subject: Re: AW: Compiling FlexJS >> >> I am up-to-date with the repo and when I run ant all in flex-falcon, the >> script runs for a while before erroring out: >> >> >> >> ==================================================================================== >> <snip> >> download-dependency: >> >> main: >> >> copyFiles: >> >> compile: >> [javac] c:\p\flexroot\git\flex-falcon\compiler.jx\build.xml:77: >> warning: 'in >> cludeantruntime' was not set, defaulting to build.sysclasspath=last; set >> to fals >> e for repeatable builds >> [javac] Compiling 149 source files to >> c:\p\flexroot\git\flex-falcon\compiler >> .jx\build\classes >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\pass\ReferenceCompiler.java:68: error: >> cannot find >> symbol >> [javac] options.setParseJsDocDocumentation(true); >> [javac] ^ >> [javac] symbol: method setParseJsDocDocumentation(boolean) >> [javac] location: variable options of type JXCompilerOptions >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\pass\ReferenceCompiler.java:71: error: >> cannot find >> symbol >> [javac] >> options.addCustomPass(CustomPassExecutionTime.BEFORE_OPTIMIZ >> ATIONS, new NamespaceResolutionPass(model, >> [javac] ^ >> [javac] symbol: method >> addCustomPass(CustomPassExecutionTime,NamespaceRe >> solutionPass) >> [javac] location: variable options of type JXCompilerOptions >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\pass\ReferenceCompiler.java:73: error: >> cannot find >> symbol >> [javac] >> options.addCustomPass(CustomPassExecutionTime.BEFORE_OPTIMIZ >> ATIONS, new ResolvePackagesPass(model, jscompiler)); >> [javac] ^ >> [javac] symbol: method >> addCustomPass(CustomPassExecutionTime,ResolvePack >> agesPass) >> [javac] location: variable options of type JXCompilerOptions >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\pass\ReferenceCompiler.java:75: error: >> cannot find >> symbol >> [javac] >> options.addCustomPass(CustomPassExecutionTime.BEFORE_OPTIMIZ >> ATIONS, new CollectTypesPass(model, jscompiler)); >> [javac] ^ >> [javac] symbol: method >> addCustomPass(CustomPassExecutionTime,CollectType >> sPass) >> [javac] location: variable options of type JXCompilerOptions >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\pass\ReferenceCompiler.java:76: error: >> cannot find >> symbol >> [javac] >> options.addCustomPass(CustomPassExecutionTime.BEFORE_OPTIMIZ >> ATIONS, new AddMemberPass(model, jscompiler)); >> [javac] ^ >> [javac] symbol: method >> addCustomPass(CustomPassExecutionTime,AddMemberPa >> ss) >> [javac] location: variable options of type JXCompilerOptions >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\pass\ReferenceCompiler.java:78: error: >> cannot find >> symbol >> [javac] >> options.addCustomPass(CustomPassExecutionTime.BEFORE_OPTIMIZ >> ATIONS, new CollectImportsPass(model, jscompiler)); >> [javac] ^ >> [javac] symbol: method >> addCustomPass(CustomPassExecutionTime,CollectImpo >> rtsPass) >> [javac] location: variable options of type JXCompilerOptions >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\reference\ClassReference.java:193: error: >> method b >> uild in class JSDocInfoBuilder cannot be applied to given types; >> [javac] JSDocInfo fieldComment = b.build(); >> [javac] ^ >> [javac] required: Node >> [javac] found: no arguments >> [javac] reason: actual and formal argument lists differ in length >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\reference\ClassReference.java:492: error: >> method b >> uild in class JSDocInfoBuilder cannot be applied to given types; >> [javac] comment = b.build(); >> [javac] ^ >> [javac] required: Node >> [javac] found: no arguments >> [javac] reason: actual and formal argument lists differ in length >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\internal\codegen\externals\reference\ClassReference.java:512: error: >> method b >> uild in class JSDocInfoBuilder cannot be applied to given types; >> [javac] comment = b.build(); >> [javac] ^ >> [javac] required: Node >> [javac] found: no arguments >> [javac] reason: actual and formal argument lists differ in length >> [javac] >> c:\p\flexroot\git\flex-falcon\compiler.jx\src\org\apache\flex\compil >> er\utils\JSClosureCompilerWrapper.java:249: error: cannot find symbol >> [javac] >> options_.setWarningLevel(DiagnosticGroups.DEPRECATED_ANN >> OTATIONS, CheckLevel.OFF); >> [javac] ^ >> [javac] symbol: variable DEPRECATED_ANNOTATIONS >> [javac] location: class DiagnosticGroups >> [javac] 10 errors >> >> BUILD FAILED >> c:\p\flexroot\git\flex-falcon\build.xml:185: The following error occurred >> while >> executing this line: >> c:\p\flexroot\git\flex-falcon\compiler.jx\build.xml:77: Compile failed; >> see the >> compiler error output for details. >> >> Total time: 40 seconds >> >> ==================================================================================== >> >> >> Any idea what's going wrong? >> >> My java version: >> >> java version "1.8.0_51" >> Java(TM) SE Runtime Environment (build 1.8.0_51-b16) >> Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode) >> >> Thanks, >> Om >> >> >> On Sun, Sep 20, 2015 at 11:14 PM, Alex Harui <aha...@adobe.com> wrote: >> >>> "ant all" in flex-falcon should do it. >>> >>> And “ant all” in flex-asjs should sync falcon and build it correctly. >>> >>> -Alex >>> >>> From: "omup...@gmail.com" <omup...@gmail.com> on behalf of OmPrakash >>> Muppirala <bigosma...@gmail.com> >>> Date: Sunday, September 20, 2015 at 10:29 PM >>> >>> To: Alex Harui <aha...@adobe.com> >>> Cc: "dev@flex.apache.org" <dev@flex.apache.org> >>> Subject: Re: AW: Compiling FlexJS >>> >>> Basic question: how do I build falcon? Should I run ant and then ant >>> all? Or just ant? >>> >>> (Sorry, the README and README_JX is a bit confusing) >>> >>> Thanks, >>> Om >>> >>> On Sun, Sep 20, 2015 at 10:03 PM, Alex Harui <aha...@adobe.com> wrote: >>> >>>> Yes. In steps 1 and 4, the compile-config.xml for each project uses >>>> <include-files>js/src/*</include-files> and >>>> <include-files>js/out/*</include-files> to copy all the handwritten and >>>> cross-compiled js. The reason we do it twice is just so on step 4, there >>>> is cross-compiled JS output from step 2. But if you are not using a pretty >>>> recent Falcon, the copy may fail because we taught Falcon to copy with wild >>>> cards. Older Falcon’s and regular Flex SDK CompC can’t do it. >>>> >>>> -Alex >>>> >>>> From: "omup...@gmail.com" <omup...@gmail.com> on behalf of OmPrakash >>>> Muppirala <bigosma...@gmail.com> >>>> Date: Sunday, September 20, 2015 at 9:57 PM >>>> >>>> To: Alex Harui <aha...@adobe.com> >>>> Cc: "dev@flex.apache.org" <dev@flex.apache.org> >>>> Subject: Re: AW: Compiling FlexJS >>>> >>>> Hmm.. is there a part that copies the js files into the swc? >>>> >>>> Thanks, >>>> Om >>>> >>>> On Sun, Sep 20, 2015 at 9:24 PM, Alex Harui <aha...@adobe.com> wrote: >>>> >>>>> OK, I can’t see your swcs so all I can do is guess. >>>>> >>>>> The build of the swcs has four phases: >>>>> >>>>> >>>>> 1. The AS in as/src is compiled by the Flash compiler into a SWC. >>>>> 2. The AS in asjs/src is cross-compiled, using classes in the swc >>>>> 3. The JS in js/src is linted and copied to >>>>> frameworks/js/FlexJS/libs >>>>> 4. The AS in as/src is compiled again, which should pick up files >>>>> cross-compiled from asjs/src that are in js/out. >>>>> >>>>> -Alex >>>>> >>>>> From: "omup...@gmail.com" <omup...@gmail.com> on behalf of OmPrakash >>>>> Muppirala <bigosma...@gmail.com> >>>>> Date: Sunday, September 20, 2015 at 4:49 PM >>>>> To: Alex Harui <aha...@adobe.com> >>>>> Cc: "dev@flex.apache.org" <dev@flex.apache.org> >>>>> Subject: Re: AW: Compiling FlexJS >>>>> >>>>> >>>>> On Sep 20, 2015 2:54 PM, "Alex Harui" <aha...@adobe.com> wrote: >>>>> > >>>>> > >>>>> > >>>>> > On 9/20/15, 7:07 AM, "Christofer Dutz" <christofer.d...@c-ware.de> >>>>> wrote: >>>>> > >>>>> > >Well I don't know how it could be fresher ... I checked out the >>>>> flex-sdk, >>>>> > >flex-falcon and flex-asjs built flex-falcon (ant clean all) and >>>>> flex-asjs >>>>> > >(ant clean all) ... so where could the old falcon come from? >>>>> > >>>>> > Sorry, that was a reply to Om. I think his SWCs are too small >>>>> because an >>>>> > old Falcon doesn’t know how to package the JS in the SWCs. >>>>> >>>>> But it looks like there are js files in the swcs. Just some of them >>>>> are arbitrarily missing. I believe i have the latest falcon code. But I >>>>> will try again in a while just to confirm. >>>>> >>>>> Thanks, >>>>> Om >>>>> >>>>> > >>>>> > -Alex >>>>> > >>>>> >>>> >>>> >>> >> >