HI,
OK made it a bit further but think we have some issues.
In in compiler/commandline both mxmlc and compc give errors if you try and run
them which looks like a windows new line issue.
Even when I fix that I get this:
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
Error: Unable to access jarfile ./../lib/falcon-compc.jar
The same new line issue exists for /compiler.jx/bin compc and mxmlc, when I fix
those for compc I get:
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.getSourceFileHandlerInstance(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)
And for mxmlc I get something a bit more promising:
Using Falcon codebase: ./../../compiler
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
a target file must be specified.
But If I give it a bare minimal MXML file I get:
./mxmlc dummy.mxml
Using Falcon codebase: ./../../compiler
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
CSS codegen problem. Reason: 'Unable to find compilation unit for
Embed(source="Assets.swf",symbol="mx.skins.cursor.BusyCursor")'
dummy is defined by multiple files:
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler.jx/bin/dummy.mxml,
/Users/justinmclean/Documents/ApacheFlexFalcon/apache-flex-falconjx-0.0.1-src/compiler.jx/bin/dummy.as
I do have a dummy.as as well but I'm not asking it to compile that and renaming
the file I still get the CSS codegen problem.
Thanks,
Justin