存档

文章标签 ‘compiler’

HFCD: 快速Flex編譯器

2010年7月23日 评论已被关闭

转至:http://blog.shiue.net/archives/1062

HFCD( Hell Fire Compiler Daemon ) 是由 Clement Wong(http://stopcoding.wordpress.com/) 開發的,他原本是Flex SDK team的一員負責compiler的種種(難怪XD)。
如果你也常維護比較大的Flex專案,我想會很需要節省每次重新compile的時間的,實際測試過之後,比官方編譯器大約快了一倍(個人感覺啦)。安裝 的方法如下:

  1. 到:
    http://bytecode-workshop.com/#section=downloads
  2. 下載: 3.5/4.0 的安裝檔
  3. 安裝, 設定eclipse home(例: C:\Program Files\Adobe\Adobe Flash Builder 4 Plug-in\eclipse-host-distro), sdk home, workspace dir 要正確
  4. 啟動HFCD daemon
  5. 打開FlashBuilder
  6. 到你的專案properties, 變更 compiler 為 HFCD 3.5/4.0
  7. 完成
分类: 生活杂谈 标签: ,

compiler使用总结

2009年3月9日 评论已被关闭

>mxmlc -link-report report.xml -warnings=false main.mxml -output=../bin-debug/main.swf

编辑main.mxml的时候生成report.xml,关闭警告,设置输出路径

>mxmlc -load-externs ../report.xml -library-path+=../../libs/cairngorm.swc

-source-path+=../../src -source-path+=D:\myClass\hcxm_classs\hcxm\as3 -warnings=false newsmodule.mxml

编译newsmodule.mxml,添加类库swc, 和类路径hcxm\as3

分类: Flex 标签: