mxmlc

Conditionally including Flex libraries (SWCs) in mxmlc/compc ant tasks

匆匆过客 提交于 2019-12-02 00:59:42
I have been struggling trying to figure out how to conditionally include Flex libraries in an ant build based on a property that is set on the command line. I have tried a number of approaches with the <condition/> task, but so far have not gotten it to work. Here is where I am currently. I have an init target that includes condition tasks like this: <condition property="automation.libs" value="automation.qtp"> <equals arg1="${automation}" arg2="qtp" casesensitive="false" trim="true"/> </condition> The purpose of this task is to set a property that determines the name of the patternset to be

trace() not written to flashlog.txt

女生的网名这么多〃 提交于 2019-11-29 12:53:58
I'm using mxmlc on a Mac terminal to compile an AS 3.0 project and then I run it by opening the Main.swf in Flash Debugger 10. Now, errors get written to the flashlog.txt just fine but my trace statements don't : ( I have mm.cfg in /Library/Application Support/Macromedia and it contains the following lines: ErrorReportingEnable=1 TraceOutputFileEnable=1 What am I missing? Why is trace() not written to flashlog.txt? Thanks for any help! The compiler option "-debug=true" does the job. Like this: mxmlc -use-network=false -default-background-color=#FFF00F -default-size=760,610 -debug=true Main.as

trace() not written to flashlog.txt

只愿长相守 提交于 2019-11-28 06:10:30
问题 I'm using mxmlc on a Mac terminal to compile an AS 3.0 project and then I run it by opening the Main.swf in Flash Debugger 10. Now, errors get written to the flashlog.txt just fine but my trace statements don't : ( I have mm.cfg in /Library/Application Support/Macromedia and it contains the following lines: ErrorReportingEnable=1 TraceOutputFileEnable=1 What am I missing? Why is trace() not written to flashlog.txt? Thanks for any help! 回答1: The compiler option "-debug=true" does the job. Like

MXMLC and 64bit JRE

佐手、 提交于 2019-11-28 04:32:01
Are there any workarounds to get the Flex compiler to work with a 64bit JRE? If I use an MXMLC task in an Ant buildfile in Eclipse it works fine but if I try to use MXMLC from the command line (or try the Run... command from FDT in Eclipse) it fails, telling me ... "Error loading: C:\Program Files\Java\jrrt-1.6.0\jre\bin\jrockit\jvm.dll" (this is with a 64bit JRockit runtime but that shouldn't matter). There is currently no support for using the Flex compiler with the 64 bit JRE. Instead, have the compiler use a 32 bit JRE. To do so, you'll need to edit the jvm.config file located in FLEX_HOME

MXMLC and 64bit JRE

感情迁移 提交于 2019-11-27 00:28:29
问题 Are there any workarounds to get the Flex compiler to work with a 64bit JRE? If I use an MXMLC task in an Ant buildfile in Eclipse it works fine but if I try to use MXMLC from the command line (or try the Run... command from FDT in Eclipse) it fails, telling me ... "Error loading: C:\Program Files\Java\jrrt-1.6.0\jre\bin\jrockit\jvm.dll" (this is with a 64bit JRockit runtime but that shouldn't matter). 回答1: There is currently no support for using the Flex compiler with the 64 bit JRE. Instead