flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Tynjala <joshtynj...@gmail.com>
Subject [FalconJX jsc] Compiler error when using classes in packages.
Date Fri, 10 Jul 2015 23:06:49 GMT
It looks like the jsc output type is having trouble with classes when
they're in packages. See the error below:

Could not find file for class: feathers.controls.SimpleButton
java.lang.RuntimeException: Unable to find JavaScript filePath for class:
newPack.OtherClass
    at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:174)
    at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:192)
    at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:127)
    at
org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:79)
    at
org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:325)
    at org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:467)
    at
org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:346)
    at org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:272)
    at
org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:231)
    at org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:177)


File not found: feathers.controls.SimpleButton

If I put the SimpleButton class into the top-level package, it compiles
without error. Any ideas?

- Josh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message