发布后刷新FlexBuilder中的SWC
我正在 FlexBuider 的 Actionscript 项目中使用从 Flash CS3 发布的 SWC。 问题是,每次我进行更改并重新发布 SWC 时,我所做的更改都不会立即在 FlexBuilder 中被识别。
为了识别新发布的 SWC,我必须从库路径中删除对 SWC 的引用,然后再次将其添加回来。 这很乏味。
有没有更好的办法?
I am using a SWC that was published from Flash CS3 in an Actionscript project in FlexBuider. The problem is that every time I make a change and re-publish the SWC the changes I made are not immediately recognized back in FlexBuilder.
In order to have newly published SWC recognized I have to remove the reference to the SWC from the library path and then add it back again. This is tedious.
Is there a better way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里的答案是进入项目的属性并单击 ActionScript 构建路径。 在“库路径”选项卡中,您应该会看到 SWC 文件和文件夹。 继续删除 SWC,然后将其添加回来。 这将使 Flex 重建其缓存。
Adobe 还提供了一份存档的支持文档,说明如何确保此功能有效:
http://kb2.adobe.com/cps/192/tn_19283.html
The answer here is to go into the project's properties and click on the ActionScript Build Path. In the Library Path tab you should see your SWC files and folders. Go ahead and delete then add the SWC back. This will make Flex rebuild its cache.
There is also an archived support document form Adobe on how to make sure this works:
http://kb2.adobe.com/cps/192/tn_19283.html
右键单击 libs 文件夹并按刷新。
易如反掌。
Right click on the libs folder and press refresh.
Easy as pie.