我要如何凯恩戈姆的SWC文件添加到我的应用程序没有弹性生成?
-
27-09-2019 - |
解决方案
mxmlc
认为一个swc
库(它实际上是一个zip文件,你可以检查),所以你会想要做像下面这样:
mxmlc -compiler.library-path /path/to/your/swc
您可以得到mxmlc -help <TERM>
帮助。例如:
$ mxmlc -help library-path
Adobe Flex Compiler (mxmlc)
Version 3.3.0 build 4852
Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.
-compiler.external-library-path [path-element] [...]
alias -external-library-path
list of SWC files or directories to compile against but to omit from
linking (repeatable)
-compiler.library-path [path-element] [...]
alias -l
list of SWC files or directories that contain SWC files (repeatable)
-runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
alias -rslp
(repeatable)
不隶属于 StackOverflow