You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Pratyoosh Sharma (JIRA)" <ji...@apache.org> on 2013/10/21 22:33:43 UTC

[jira] [Created] (FLEX-33837) Compiler assumes that there will be a file for each goog.require

Pratyoosh Sharma created FLEX-33837:
---------------------------------------

             Summary: 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 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

{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.1#6144)