Sorry for the late reply. I had internet issues all day. The problem is that GoogDepsWriter.java is still assuming “_” for package separators. See line 377. String classPath = className.replace("_", File.separator);
I wasn’t planning on switching back to “.” until after next week or so, but I suppose I could shift priorities. Or if you have built your own compiler you can limp along by making this change in your local copy. -Alex On 7/10/15, 4:15 PM, "Josh Tynjala" <joshtynj...@gmail.com> wrote: >Just in case someone gets confused, this line should not include >newPack.OtherClass: > >java.lang.RuntimeException: Unable to find JavaScript filePath for class: >newPack.OtherClass > >Bad copy-paste job. The real output was feathers.controls.SimpleButton >too. > >On Fri, Jul 10, 2015 at 4:06 PM, Josh Tynjala <joshtynj...@gmail.com> >wrote: > >> 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(GoogDepsWr >>iter.java:174) >> at >> >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWr >>iter.java:192) >> at >> >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWr >>iter.java:127) >> at >> >>org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(Goo >>gDepsWriter.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:23 >>1) >> 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 >>