flex-config.xml 跟 mxml-manifest.xml 的路徑:
installdirectory\Adobe\Flex Builder 2\Flex SDK 2\frameworks\
-file-specs 檔名 (指定程式進入點, 即最主要的mxml檔案Application)
-output 路徑 (指定輸出路徑)
-source-path 路徑(指定一個或多個原始碼路徑)
-incremental=true (設定為incremental build, 即有更新的檔案才重新編譯, flex會自動產生一個cache 檔案記錄哪些檔案從上次build之後被編輯過)
-load-config=xxxxx.xml (將xxxxx.xml 做為編譯組態設定檔, 預設為 flex-config.xml, 若更動要小心library路徑的指定, 如<external-library-path>及<library-path>還有自訂的library)
-default-background-color=0xFFFFFF (指定Application背景色)
-default-size 寬 高 (指定Application的寬與高)
-default-frame-rate (指定fps, 預設為24)
-default-script-limits 1000 60 (設定遞迴最大次數與script執行最大秒數(不可超過60), 預設值1000 60)
其他可用參數 –help list 查詢
C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\bin>mxmlc.exe -help list
Adobe Flex Compiler (mxmlc)
Version 3.0 build 183453
Copyright (c) 2004-2006 Adobe Systems, Inc. All rights reserved.
-benchmark
-compiler.accessible
-compiler.actionscript-file-encoding <string>
-compiler.context-root <context-path>
-compiler.debug
-compiler.external-library-path [path-element] [...]
-compiler.fonts.advanced-anti-aliasing
-compiler.fonts.flash-type
-compiler.fonts.max-glyphs-per-face <string>
-compiler.include-libraries [library] [...]
-compiler.incremental
-compiler.library-path [path-element] [...]
-compiler.locale [locale-element] [...]
-compiler.mxml.compatibility-version <version>
-compiler.namespaces.namespace <uri> <manifest>
-compiler.optimize
-compiler.services <filename>
-compiler.show-actionscript-warnings
-compiler.show-binding-warnings
-compiler.show-deprecation-warnings
-compiler.show-unused-type-selector-warnings
-compiler.source-path [path-element] [...]
-compiler.strict
-compiler.theme [filename] [...]
-compiler.use-resource-bundle-metadata
-help [keyword] [...]
-include-resource-bundles [bundle] [...]
-licenses.license <product> <serial-number>
-load-config <filename>
-metadata.contributor <name>
-metadata.creator <name>
-metadata.date <text>
-metadata.description <text>
-metadata.language <code>
-metadata.localized-description <text> <lang>
<title> </title>-metadata.localized-title <lang>
-metadata.publisher <name>
-metadata.title <text>
-output <filename>
-runtime-shared-libraries [url] [...]
-runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url
] [policy-file-url]
-static-link-runtime-shared-libraries
-target-player <version>
-use-network
-version
-warnings
沒有留言:
張貼留言