Flexbuilder 3 Linux下安装

发布于 2024-09-14 23:25:02 字数 1105 浏览 5 评论 0原文

解决这个问题将使我的生活变得轻松百倍,因为在 Windows XP 中工作很糟糕,除了这个 Adob​​e POS,我将完全在 Linux 中工作。

我尝试构建的 Flex 项目可以在 Windows XP 和 Mac OS X 中的 Flexbuilder 3 Pro(许可版本,3.2 SDK)上成功构建。

我遵循了 这些说明在 Fedora 13 下基本安装 Flexbuilder(32 位机器,所以我跳过了 64 位的说明) - 仅偏离在 /opt/flexbuilder 下安装 Flexbuilder。我尝试了几个不同版本的 SDK 来处理这个特定的项目,并且使用 SDK 3.4.0 取得了最大的成功,该版本目前位于我的 /opt/flexbuilder/sdks 目录中。经过几个死胡同后,我还跳过了 Air SDK 覆盖 Flex SDK 的步骤(它只添加了几个 Air 特定的二进制文件)。

尝试构建后,我遇到了“发生内部构建错误问题”。我按照这些说明来修补zornproject.jar 文件成功,并且能够消除错误。

这就是我最终进入未知领域的地方。

当我构建项目时,我无法找到项目所需的库的引用。该库是datavisualization.swc。我拿了我同事版本的 Flex SDK frameworks 目录,其中包含许可的库。在进行备份并将我的 SDK frameworks 目录替换为他的 SDK frameworks 目录后,我尝试再次构建,但仍然无法在 datavisualization.swc 库中找到类。

如果有人在 Linux 下成功安装/配置/正确安装/配置/祝福许可的 Flexbuilder 3,请告诉我您明智的步骤 - 因为在 Windows XP 中工作只不过是一个巨大的 PITA。

Solving this problem would make my life a hundredfold easier, because working in Windows XP blows, and save for this one Adobe POS, I would be working entirely in Linux.

The Flex project I'm trying to build can be built successfully on Flexbuilder 3 Pro (licensed version, 3.2 SDK) in both Windows XP and Mac OS X.

I followed these instructions to get a basic install of Flexbuilder under Fedora 13 (32-bit machine, so I skipped the instructions for 64-bit) - deviating only to install Flexbuilder under /opt/flexbuilder. I tried several different versions of the SDK to work with this particular project, and had best success with SDK 3.4.0, which is currently in my /opt/flexbuilder/sdks directory. After a few dead ends, I also skipped the step where the Air SDK overwrites the Flex SDK (it only adds a couple of Air-specific binaries).

I ran into the "An internal build error problem has occured" after attempting a build. I followed these instructions to patch the zornproject.jar file successfully, and was able to get rid of the error.

And here's where I end up in uncharted territory.

When I build the project, I was unable to locate a reference to a library that was needed by the project. This library is datavisualization.swc. I took my co-workers version of his Flex SDK frameworks directory, which contains the licensed libraries. After making a backup and replacing my SDK frameworks directory with his, I attempted to build again, but it still fails to locate the classes in the datavisualization.swc library.

If anyone has been successfully with getting the licensed Flexbuilder 3 installed/configured/blessed correctly under Linux, please enlighten me to your wise steps - because working in Windows XP has been nothing but a huge PITA.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

柒夜笙歌凉 2024-09-21 23:25:02

嘿,我感受到你的痛苦。我还在 Linux 下使用 Flex Builder(Adobe 的支持就是个笑话)。

我现在在家,没有带工作笔记本电脑……所以我无法验证我要说的是否完全正确。

无论如何......您需要在您的框架目录中拥有datavisualization.swc库 - 这样您就走在正确的轨道上。但是,您还需要在本地/框架目录中拥有 datavisualization-xx.swc (不是 100% 确定该库的名称)库 - 这是我不确定的部分的。明天当我在工作笔记本电脑前时,我会仔细检查目录/库。

编辑

好吧,下面看看我当前正在构建的 SDK 的结构:

sdks/3.4.0/frameworks/libs
├── air
│   ├── airframework.swc
│   ├── airglobal.swc
│   ├── AIRIntrospector.js
│   ├── AIRLocalizer.js
│   ├── AIRMenuBuilder.js
│   ├── AIRSourceViewer.js
│   ├── applicationupdater.swc
│   ├── applicationupdater.swf
│   ├── applicationupdater_ui.swc
│   ├── applicationupdater_ui.swf
│   └── servicemonitor.swc
├── datavisualization.swc
├── flex.swc
├── framework.swc
├── player
│   ├── 10
│   │   └── playerglobal.swc
│   └── 9
│       └── playerglobal.swc
├── rpc.swc
└── utilities.swc

4 directories, 18 files

sdks/3.4.0/frameworks/locale
├── en_US
│   ├── airframework_rb.swc
│   ├── datavisualization_rb.swc
│   ├── framework_rb.swc
│   └── rpc_rb.swc
└── ja_JP
    ├── airframework_rb.swc
    ├── datavisualization_rb.swc
    ├── framework_rb.swc
    └── rpc_rb.swc

2 directories, 8 files

最后,我将确保文件夹权限正确:登录用户需要 rx 权限SDK目录。

Hey there, I feel your pain. I also use Flex Builder under Linux (support from Adobe is a joke).

I am at home right now and don't have my work laptop with me... so I cannot verify that what I am about to say is completely correct.

At any rate.... you need to have the datavisualization.swc library in your frameworks directory - so you are on the right track. However you also need to have the datavisualization-xx.swc (not 100% sure of the name of this library) library in your local/frameworks directory - and this is the part that I'm not sure of. I'll double check the directory / library tomorrow when I am in front of my work laptop.

EDIT

Alright, below see the structure of the SDK I am currently building against:

sdks/3.4.0/frameworks/libs
├── air
│   ├── airframework.swc
│   ├── airglobal.swc
│   ├── AIRIntrospector.js
│   ├── AIRLocalizer.js
│   ├── AIRMenuBuilder.js
│   ├── AIRSourceViewer.js
│   ├── applicationupdater.swc
│   ├── applicationupdater.swf
│   ├── applicationupdater_ui.swc
│   ├── applicationupdater_ui.swf
│   └── servicemonitor.swc
├── datavisualization.swc
├── flex.swc
├── framework.swc
├── player
│   ├── 10
│   │   └── playerglobal.swc
│   └── 9
│       └── playerglobal.swc
├── rpc.swc
└── utilities.swc

4 directories, 18 files

sdks/3.4.0/frameworks/locale
├── en_US
│   ├── airframework_rb.swc
│   ├── datavisualization_rb.swc
│   ├── framework_rb.swc
│   └── rpc_rb.swc
└── ja_JP
    ├── airframework_rb.swc
    ├── datavisualization_rb.swc
    ├── framework_rb.swc
    └── rpc_rb.swc

2 directories, 8 files

Lastly, I would make sure the folder permissions are correct: logged in user needs rx permissions on the SDK directory.

土豪 2024-09-21 23:25:02

我强烈建议使用 IntelliJ 在 Linux 上进行 Flex 开发。我已经做出了转变,现在工作效率更高了。 :)

I highly recommend using IntelliJ for doing Flex development on Linux. I've made the switch and am much more productive now. :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文