HI,
If you disable the D32 option you can get mxml to work but I was unable to get
compc to work.
There's a few issues. Some minor/some perhaps some not?
Minor issue - build and version numbers are not correct:
./compc -version
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
Version 2.0.0 build 0
./mxmlc -version
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
Version 2.0.0 build 0
Minor issue - output should probably default to the current directory and file
name?
./compc dummy.as
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
Loading configuration:
/Users/justinmclean/Documents/ApacheFlex4.12released/frameworks/flex-config.xml
Error: configuration variable 'output' was not set
Minor issue - can't use "." as output option?
./compc dummy.as -output .
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
Loading configuration:
/Users/justinmclean/Documents/ApacheFlex4.12released/frameworks/flex-config.xml
Error: Could not find source for class dummy.as.
./compc -help output gives:
-output <filename>
alias -o
the filename of the SWF movie to create
Possible blocker? So looks like you need to try this :
./compc dummy.as -output dummy.swf
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
Loading configuration:
/Users/justinmclean/Documents/ApacheFlex4.12released/frameworks/flex-config.xml
Error: Could not find source for class dummy.as.
Which fails - so looks to me that compc is broken by the new -output option,
unless I'm doing something wrong?
Some good news is that mxmlc does seems to work:
./mxmlc dummy.mxml
Using Flex SDK: /Users/justinmclean/Documents/ApacheFlex4.12released/
Loading configuration:
/Users/justinmclean/Documents/ApacheFlex4.12released/frameworks/flex-config.xml
241693 bytes written to dummy.swf in 5.262 seconds
The swf ran fine, however 5 seconds seem like a long time to compile a single
line application to me.
Thanks,
Justin