将常用库文件添加到 Flex Builder 中?
因此,我正在 Flex Builder 3 中使用 ActionScript 库(具体来说是 Flare)。我希望工作区中的所有项目都可以使用此功能,而不必将其复制到每个项目。做到这一点最简单的方法是什么?
So I'm playing around with an ActionScript library (Flare, to be specific) in Flex Builder 3. I'd like to have this functionality available to all projects in my workspace without having to copy it to every one. What's the easiest way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不确定这是最好的方法,但您可以链接到项目内的文件夹或文件。右键单击该项目,然后选择“新建<任意>”并单击“高级”按钮以访问链接功能。从那里,您可以使用文件导航器选择文件或文件夹。之后它将显示在构建路径下的项目属性中(库路径选项卡)。
我们使用它是因为我们将大部分代码分割成一个单独的库项目,但该代码仍然引用原始项目根目录中的大量图像文件。因此,我们创建了一个到该图像目录的链接,一切又恢复正常了。也许这也会对你有帮助。
I'm not sure this is the best way, but you can link to a folder or file from within a project. You right-click on the project, and choose "New <whatever>" and click on the Advanced button to access the link functionality. From there, you can use the file navigator to choose a file or folder. Afterwards it will show up in the project properties under the build path (the tab for library paths).
We use this because we split off a large chunk of our code into a separate library project, but that code still references a ton of image files in the original projects root directory. So we create a link to that image directory and all is well again. Maybe this will help you also.
我们有一个共享文件夹“flex”,用于放置常用库。在项目属性中的 Flex 构建路径下,将库路径设置为 Flare 的位置。
We have a shared folder "flex" that we place our common libs. In the properties for the project, under flex build path, set the library path to your location for flare.