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 3E49317663 for ; Mon, 21 Sep 2015 07:15:43 +0000 (UTC) Received: (qmail 65094 invoked by uid 500); 21 Sep 2015 07:15:42 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 65053 invoked by uid 500); 21 Sep 2015 07:15:42 -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 65041 invoked by uid 99); 21 Sep 2015 07:15:42 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Sep 2015 07:15:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D9CA8F4CBE for ; Mon, 21 Sep 2015 07:15:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.15 X-Spam-Level: **** X-Spam-Status: No, score=4.15 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLY=1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hMJoW2kwG3hM for ; Mon, 21 Sep 2015 07:15:33 +0000 (UTC) Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com [209.85.213.179]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 194CB20FF5 for ; Mon, 21 Sep 2015 07:15:33 +0000 (UTC) Received: by igbni9 with SMTP id ni9so52170247igb.0 for ; Mon, 21 Sep 2015 00:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=AY+fvl2iUlQXb+hbGQMcJFK/FIYpU8gE8rw4mspJmkc=; b=r7WrsLlqXGRP8L6qvxb8lxtnnd0mw7TaYf+CkejJWgisyQqcCghyiKcwsDA1bfuPNx 7aecYrLg8tf8vcIMijeN0E8j4ac9taKgoXG4wHvltBKfzDoeWqD4f2OFLhMYz+mBt//B PnbTXz6Z5VouUCt/wIw8aNRUVu93JZI3877SBSAPkNqJ7ZTFt0m4yJ+sbhsk0NdszpJs WASa/fubBETwKP9mC4YKuwkx+UfwsGdcHMKpQaaNOBzVdcTWKNIL96R9SCP9yjiVbcnP kKF13j4aHGGJLYk4nCsNAMcUeUCAOYEE2HSU9XloADuZ1lh+rRL3LKQKvW8rv0GOslqT PbZw== X-Received: by 10.50.134.161 with SMTP id pl1mr6203245igb.28.1442819732555; Mon, 21 Sep 2015 00:15:32 -0700 (PDT) MIME-Version: 1.0 Sender: omuppi1@gmail.com Received: by 10.79.14.216 with HTTP; Mon, 21 Sep 2015 00:15:03 -0700 (PDT) In-Reply-To: References: From: OmPrakash Muppirala Date: Mon, 21 Sep 2015 00:15:03 -0700 X-Google-Sender-Auth: Mq_Yq_mX2tPUtijiWguQT0klg-8 Message-ID: Subject: Re: AW: Compiling FlexJS To: Alex Harui Cc: "dev@flex.apache.org" Content-Type: multipart/alternative; boundary=047d7b2e15c1a2502905203ca54b --047d7b2e15c1a2502905203ca54b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Seems to be running. I think you should go to sleep now :-) We can continue tomorrow... Thanks, Om On Mon, Sep 21, 2015 at 12:02 AM, Alex Harui wrote: > OK, skip the tests. Just run =E2=80=9Cant=E2=80=9D in the compiler and c= ompiler.jx > folders. That should be good enough to start building FlexJS stuff. I g= et > 4 errors when running unit tests from Eclipse that I don=E2=80=99t get fr= om the > command-line. Not sure why. > > Let me know of those two folders build and then try =E2=80=9Cant=E2=80=9D= in flex-asjs. > > I=E2=80=99ll wait up a few more minutes to see how it goes. > > -Alex > > > From: "omuppi1@gmail.com" on behalf of OmPrakash > Muppirala > Date: Sunday, September 20, 2015 at 11:57 PM > To: Alex Harui , "dev@flex.apache.org" < > dev@flex.apache.org> > > Subject: Re: AW: Compiling FlexJS > > Definitely progress, but now it's erroring out on the unit tests: > > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [get] Getting: > http://search.maven.org/remotecontent?filepath=3Djunit/junit/ > 4.10/junit-4.10.jar > [get] To: > c:\p\flexroot\git\flex-falcon\compiler.tests\lib\junit-4.10.jar > [get] > http://search.maven.org/remotecontent?filepath=3Djunit/junit/4.10/juni > t-4.10.jar moved to > https://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.j > ar > > fail-with-message: > > main: > > compile.unit.tests: > [mkdir] Created dir: > c:\p\flexroot\git\flex-falcon\compiler.tests\classes > [javac] Compiling 67 source files to > c:\p\flexroot\git\flex-falcon\compiler. > tests\classes > > unit.tests: > [mkdir] Created dir: > c:\p\flexroot\git\flex-falcon\compiler.tests\results > [mkdir] Created dir: c:\p\flexroot\git\flex-falcon\compiler.tests\tem= p > [junit] environment property - FLEX_HOME =3D > [junit] environment property - PLAYERGLOBAL_HOME =3D > [junit] environment property - PLAYERGLOBAL_VERSION =3D 11.1 > [junit] environment property - TLF_HOME =3D > [junit] environment property - AIR_HOME =3D > [junit] environment property - FLASHPLAYER_DEBUGGER =3D > [junit] Running > org.apache.flex.compiler.internal.css.CSSArrayPropertyValueT > ests > [junit] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time > elapsed: 0.57 > 2 sec > > BUILD FAILED > c:\p\flexroot\git\flex-falcon\build.xml:82: The following error occurred > while e > xecuting this line: > c:\p\flexroot\git\flex-falcon\compiler.tests\build.xml:100: Tests failed > > Total time: 59 seconds > > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > On Sun, Sep 20, 2015 at 11:49 PM, OmPrakash Muppirala < > bigosmallm@gmail.com> wrote: > >> I'm on it. >> >> Thanks, >> Om >> >> On Sun, Sep 20, 2015 at 11:48 PM, OmPrakash Muppirala < >> bigosmallm@gmail.com> wrote: >> >>> I'm on it >>> >>> On Sun, Sep 20, 2015 at 11:46 PM, Alex Harui wrote: >>> >>>> That sounds like your Closure Compiler is out-of-date. Try =E2=80=98a= nt >>>> wipe-all=E2=80=99 then =E2=80=98ant all=E2=80=99. >>>> >>>> I=E2=80=99m hoping to shut down at midnight so let=E2=80=99s see if we= can get you >>>> building before then. >>>> >>>> -Alex >>>> >>>> From: "omuppi1@gmail.com" on behalf of OmPrakash >>>> Muppirala >>>> Date: Sunday, September 20, 2015 at 11:37 PM >>>> To: Alex Harui >>>> >>>> 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: >>>> >>>> >>>> >>>> =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=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 >>>> >>>> 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=3Dlast; >>>> 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 =3D b.build= (); >>>> [javac] ^ >>>> [javac] required: Node >>>> [javac] found: no arguments >>>> [javac] reason: actual and formal argument lists differ in lengt= h >>>> [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 =3D b.build(); >>>> [javac] ^ >>>> [javac] required: Node >>>> [javac] found: no arguments >>>> [javac] reason: actual and formal argument lists differ in lengt= h >>>> [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 =3D b.build(); >>>> [javac] ^ >>>> [javac] required: Node >>>> [javac] found: no arguments >>>> [javac] reason: actual and formal argument lists differ in lengt= h >>>> [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 >>>> >>>> =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=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 >>>> >>>> >>>> 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 wrote: >>>> >>>>> "ant all" in flex-falcon should do it. >>>>> >>>>> And =E2=80=9Cant all=E2=80=9D in flex-asjs should sync falcon and bui= ld it correctly. >>>>> >>>>> -Alex >>>>> >>>>> From: "omuppi1@gmail.com" on behalf of OmPrakash >>>>> Muppirala >>>>> Date: Sunday, September 20, 2015 at 10:29 PM >>>>> >>>>> To: Alex Harui >>>>> Cc: "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 wrote= : >>>>> >>>>>> Yes. In steps 1 and 4, the compile-config.xml for each project uses >>>>>> js/src/* and >>>>>> js/out/* 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 wi= th wild >>>>>> cards. Older Falcon=E2=80=99s and regular Flex SDK CompC can=E2=80= =99t do it. >>>>>> >>>>>> -Alex >>>>>> >>>>>> From: "omuppi1@gmail.com" on behalf of OmPrakash >>>>>> Muppirala >>>>>> Date: Sunday, September 20, 2015 at 9:57 PM >>>>>> >>>>>> To: Alex Harui >>>>>> Cc: "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 wrote= : >>>>>> >>>>>>> OK, I can=E2=80=99t 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 sw= c >>>>>>> 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: "omuppi1@gmail.com" on behalf of >>>>>>> OmPrakash Muppirala >>>>>>> Date: Sunday, September 20, 2015 at 4:49 PM >>>>>>> To: Alex Harui >>>>>>> Cc: "dev@flex.apache.org" >>>>>>> Subject: Re: AW: Compiling FlexJS >>>>>>> >>>>>>> >>>>>>> On Sep 20, 2015 2:54 PM, "Alex Harui" wrote: >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > On 9/20/15, 7:07 AM, "Christofer Dutz" >>>>>>> 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=E2=80=99t know how to package the JS in the SWCs= . >>>>>>> >>>>>>> But it looks like there are js files in the swcs. Just some of the= m >>>>>>> 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 >>>>>>> > >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > --047d7b2e15c1a2502905203ca54b--