BTW, it looks like the compc error is because js-output-type is not specified. I added that to the release notes. When you combine the binary packages, which is what most folks will do, the FlexJS package replaces the compc and mxmlc scripts with ones that specify js-output-type=FLEXJS so most folks will not hit this issue.
There is a further issue that the FalconJX compc can't handle simple classes like Dummy. But FalconJX COMPC is being used to build the JS side of the FlexJSJX library so we know it can work. IMO, most folks will be pre-occupied getting MXMLC to run against FlexJS and won't get around to COMPC in this release. I'd rather get this out so folks can find other holes in MXMLC and cut another release in a month or so. -Alex On 4/18/14 8:04 AM, "Alex Harui" <aha...@adobe.com> wrote: >Justin, > >It looks like you are trying to run the FalconJX Cross-Compiler on the >Flex SDK. That is definitely not supported. I will add this to the >RELEASE_NOTES > >I was able to run Falcon on the Flex SDK and get a swc and swf. > >-Alex > >On 4/18/14 12:15 AM, "Justin Mclean" <jus...@classsoftware.com> wrote: > >>Hi, >> >>> Please Justin, the only goal for this package is to be upstream of >>>FlexJS. >>> To me, it does not matter how it works against the Flex SDK. >> >>So perhaps we should rename the project from "Apache Flex" to something >>else? :-) >> >>In good conscious I can't vote +1 on a release if it doesn't actually >>work. >> >>The compc issue is nothing to do with the Flex SDK as far as I can see. >> >>Can you compile this class? >> >>package >>{ >> public class Dummy >> { >> public function Dummy() >> { >> } >> } >>} >> >>Here's I get: >> >>./compc -include-sources dummy.as -o dummy.swc >> >>Using Falcon codebase: ./../../compiler >>Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/ >>Exception in thread "main" java.lang.UnsupportedOperationException >> at >>org.apache.flex.compiler.internal.driver.as.ASBackend.getSourceFileHandle >>r >>Instance(ASBackend.java:70) >> at org.apache.flex.compiler.clients.MXMLJSC.<init>(MXMLJSC.java:211) >> at org.apache.flex.compiler.clients.COMPJSC.<init>(COMPJSC.java:128) >> at org.apache.flex.compiler.clients.COMPJSC.main(COMPJSC.java:116) >> >>Can you tell me why this isn't working at least? >> >>Thanks, >>Justin >