如何在没有 FlexBuilder 的情况下将 Cairngorm 的 SWC 文件添加到我的应用程序中? [英] How do I add the SWC file for Cairngorm to my app without FlexBuilder?

查看:18
本文介绍了如何在没有 FlexBuilder 的情况下将 Cairngorm 的 SWC 文件添加到我的应用程序中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有使用 FlexBuilder,我使用的是带有 TextMate 的免费 Flex SDK.我在弄清楚 这个 FlexBuilder 进程实际上在所有这些背后做了什么时遇到了一些麻烦漂亮的对话框和东西,所以我可以通过调整相关文件来做同样的事情,但谷歌搜索只是指出类似的说明,告诉我使用 FlexBuilder.

I am not using FlexBuilder, I'm using the free Flex SDK with TextMate. I'm having some trouble figuring out what this FlexBuilder process actually does behind all the nice dialogs and things, so that I can do the same thing by tweaking whatever the relevant file is, but Googling just points me at similar instructions telling me to use FlexBuilder.

有人能指出我正确的方向吗?

Anyone able to point me in the right direction?

推荐答案

mxmlcswc 视为一个库(它实际上是一个可以检查的 zip 文件),因此您将想要执行以下操作:

mxmlc considers a swc a library (it's actually a zip file that you can examine) so you'll want to do something like the following:

mxmlc -compiler.library-path /path/to/your/swc

您可以通过 mxmlc -help 获得帮助.例如:

You can get help with mxmlc -help <TERM>. For example:

$ 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)

这篇关于如何在没有 FlexBuilder 的情况下将 Cairngorm 的 SWC 文件添加到我的应用程序中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆