


































注意事項:
1,必須使用ant-contrib包來支持for任務,使用for任務時,別忘了如下聲明:






2,編譯每個mxml時,可用propertyregex來得到output文件名,
3,source-path一定不能寫錯,或隨便寫,如果這樣的話,會出現如下錯誤:
Error: A file found in a source-path must have the same package structure
4,如果在運行的過程中出現Java heap size或permGen不足的情況,可以指定如下系統參數:
ANT_OPTS=-XX:MaxPermSize=256M -Xmx1024m