flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Zarzycki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33837) Compiler assumes that there will be a file for each goog.require
Date Tue, 14 Mar 2017 20:24:41 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924925#comment-15924925
] 

Piotr Zarzycki commented on FLEX-33837:
---------------------------------------

[~aharui],

This bug is pretty old - Do you think it's  still occur ?

Piotr

> Compiler assumes that there will be a file for each goog.require
> ----------------------------------------------------------------
>
>                 Key: FLEX-33837
>                 URL: https://issues.apache.org/jira/browse/FLEX-33837
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>         Environment: Development 
>            Reporter: Pratyoosh Sharma
>
> It seems like FlexJS compiler assumes that there will be a file for each goog.require
dependency, while closure allows multiple classes to be declared in the same .js file.
> Some of the closure internal classes use the same construct & its impossible to compile
them currently using FlexJS
> E.g. goog.events.BrowserEvent.MouseButton is defined in goog/events/browserevent.js &
referenced by goog.fx.dragger compiling this with FlexJS results in this error
> {code}
> java.io.FileNotFoundException: 
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:120)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:79)
> 	at org.apache.flex.compiler.internal.graph.GoogDepsWriter.getDirectDependencies(GoogDepsWriter.java:343)
> 	at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:111)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message