You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Josh Tynjala <jo...@gmail.com> on 2016/11/11 00:02:27 UTC

[FlexJS] Compiler stack trace in nightly related to Closure library

Used the installer to get the nightly. The compiler appears to be unable to
find Closure library. I don't have the closure-lib argument set because I
want to use the default, but the call to
getJarThatContainsClasspathResources() appears to return null.

Using Falcon codebase:
/Users/joshtynjala/Development/Flex/sdks/flexjs-nightly/js/bin/../..
Using Flex SDK:
/Users/joshtynjala/Development/Flex/sdks/flexjs-nightly/js/bin/../..
Compiling file:
/Users/joshtynjala/Development/TestProject/bin/js-debug/TestProject.js
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:240)org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:463)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:321)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:275)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:234)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:178)

- Josh

Re: [FlexJS] Compiler stack trace in nightly related to Closure library

Posted by Josh Tynjala <jo...@gmail.com>.
Okay, I committed a fix that I think will work for all three cases.

- Josh

On Thu, Nov 10, 2016 at 5:20 PM, Alex Harui <ah...@adobe.com> wrote:

>
>
> On 11/10/16, 4:02 PM, "Josh Tynjala" <jo...@gmail.com> wrote:
>
> >Used the installer to get the nightly. The compiler appears to be unable
> >to
> >find Closure library. I don't have the closure-lib argument set because I
> >want to use the default, but the call to
> >getJarThatContainsClasspathResources() appears to return null.
>
> Hmm.  Maybe that logic needs to be flipped.  If it can't find the
> resources in the class path, it should just use the closure lib because
> there is a default value.  Can you give that a try?
>
> -Alex
>
>

Re: [FlexJS] Compiler stack trace in nightly related to Closure library

Posted by Alex Harui <ah...@adobe.com>.

On 11/10/16, 4:02 PM, "Josh Tynjala" <jo...@gmail.com> wrote:

>Used the installer to get the nightly. The compiler appears to be unable
>to
>find Closure library. I don't have the closure-lib argument set because I
>want to use the default, but the call to
>getJarThatContainsClasspathResources() appears to return null.

Hmm.  Maybe that logic needs to be flipped.  If it can't find the
resources in the class path, it should just use the closure lib because
there is a default value.  Can you give that a try?

-Alex