将 Flex Builder 3 项目转换为 Flash Builder 4
我刚刚从 Flex Builder 3 升级到 Flash Builder 4(测试版 2),自从 Flex Builder 3 发布以来我一直在使用它。问题:Flex Builder 3 中工作区中的所有项目都没有转移到 Flash Builder 4 中(例如,如果是 FB3,则在“Flex Navigator”视图中)。 Flash Builder 4 现在使用 .FXP 格式来管理项目,但 Flex Builder 3 没有。有没有一种简单的方法可以将我的所有项目恢复到 Flash Builder 4 中?
I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用文件->导入->其他
在对话框中,选择“常规”->“将现有项目放入工作区”
将根目录指向您的工作空间,选中所有要导入的项目即可。
对我来说效果很好。
Use File->Import->Other
In the dialog, select General->Existing Projects into Workspace
Point the root directory to your workspace, check all the projects you want to import and that's it.
Worked just fine for me.
Sharvey 的答案是正确的,但我还想纠正最初问题中有关 .fxp 文件的部分。 Flash Builder 4 没有改变其存储项目的格式;它仍然将它们存储为包含 .project 文件、.actionScriptProperties 文件等的目录,就像 Flex Builder 3 所做的那样。 .fxp 文件的用武之地是,它们提供了一种将项目打包成单个文件并共享的简单方法 - 不仅与其他 Flash Builder 用户,还与 Catalyst 用户共享。
Catalyst 与 Flash Builder 不同:.fxp 文件是其“本机”格式。因此,假设设计师在 Catalyst 中创建了一个项目;然后,您(开发人员)可以使用“导入 FXP”命令将该 .fxp 文件导入到 Flash Builder 中。当您执行此操作时,它将 fxp 解压缩为磁盘上的传统项目格式。
希望这有助于澄清事情! - Mike Morearty,Flash Builder 团队
Sharvey's answer was correct, but I also wanted to correct something from the original question, the part about .fxp files. Flash Builder 4 has not changed the format in which it stores projects; it still stores them as a directory with a .project file, a .actionScriptProperties file, and so on, just as Flex Builder 3 did. Where .fxp files come in is, they provide an easy way to package up a project into a single file and share it -- not only with other Flash Builder users, but also with users of Catalyst.
Catalyst is different from Flash Builder: .fxp files are its "native" format. So, suppose a designer created a project in Catalyst; you, the developer, could then import that .fxp file into Flash Builder using the "import FXP" command. When you do that, it unpacks the fxp into a traditional project format on disk.
Hope this helps clarify things! - Mike Morearty, Flash Builder team