mxmlc 中的静态链接运行时共享库

发布于 2024-11-05 13:46:16 字数 1416 浏览 1 评论 0原文

我使用 -static-link-runtime-shared-libraries=false 来编译我的应用程序,当我上传新的 swf 时,我会定期收到错误 #2046。如果使用 -static-link-runtime-shared-libraries=true 则可以正常工作。我该如何处理?

我将所有 swz 文件放在与我的应用程序相同的位置:

$ ls -l gae/static/swf/
total 4452
-rwxr-xr-x 1 soid soid  490561 2011-05-07 01:57 datavisualization_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid  291306 2011-05-07 01:57 datavisualization_4.1.0.16076.swz
-rwxr-xr-x 1 soid soid 1045994 2011-05-07 01:57 framework_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid  627104 2011-05-07 01:57 framework_4.1.0.16076.swz
-rw-r--r-- 1 soid soid  116596 2010-12-17 01:42 mapeditor.swf
-rwxr-xr-x 1 soid soid  150731 2011-05-07 01:57 osmf_flex.4.0.0.13495.swf
-rwxr-xr-x 1 soid soid   98079 2011-05-07 01:57 osmf_flex.4.0.0.13495.swz
-rwxr-xr-x 1 soid soid  207521 2011-05-07 01:57 rpc_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid  131927 2011-05-07 01:57 rpc_4.1.0.16076.swz
-rwxr-xr-x 1 soid soid  503167 2011-05-07 01:57 spark_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid  319302 2011-05-07 01:57 spark_4.1.0.16076.swz
-rwxr-xr-x 1 soid soid   69851 2011-05-07 01:57 sparkskins_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid   54538 2011-05-07 01:57 sparkskins_4.1.0.16076.swz
-rwxr-xr-x 1 soid soid  263124 2011-05-07 01:57 textLayout_1.1.0.604.swf
-rwxr-xr-x 1 soid soid  156998 2011-05-07 01:57 textLayout_1.1.0.604.swz

我正在查看服务器日志,但没有看到对这些文件的任何请求。这有什么问题吗?

I use -static-link-runtime-shared-libraries=false for compiling my app and when I upload the new swf I periodically receive an Error #2046. If -static-link-runtime-shared-libraries=true used it works OK. How do I handle with that?

I placed all the swz files into the same place as my app:

$ ls -l gae/static/swf/
total 4452
-rwxr-xr-x 1 soid soid  490561 2011-05-07 01:57 datavisualization_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid  291306 2011-05-07 01:57 datavisualization_4.1.0.16076.swz
-rwxr-xr-x 1 soid soid 1045994 2011-05-07 01:57 framework_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid  627104 2011-05-07 01:57 framework_4.1.0.16076.swz
-rw-r--r-- 1 soid soid  116596 2010-12-17 01:42 mapeditor.swf
-rwxr-xr-x 1 soid soid  150731 2011-05-07 01:57 osmf_flex.4.0.0.13495.swf
-rwxr-xr-x 1 soid soid   98079 2011-05-07 01:57 osmf_flex.4.0.0.13495.swz
-rwxr-xr-x 1 soid soid  207521 2011-05-07 01:57 rpc_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid  131927 2011-05-07 01:57 rpc_4.1.0.16076.swz
-rwxr-xr-x 1 soid soid  503167 2011-05-07 01:57 spark_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid  319302 2011-05-07 01:57 spark_4.1.0.16076.swz
-rwxr-xr-x 1 soid soid   69851 2011-05-07 01:57 sparkskins_4.1.0.16076.swf
-rwxr-xr-x 1 soid soid   54538 2011-05-07 01:57 sparkskins_4.1.0.16076.swz
-rwxr-xr-x 1 soid soid  263124 2011-05-07 01:57 textLayout_1.1.0.604.swf
-rwxr-xr-x 1 soid soid  156998 2011-05-07 01:57 textLayout_1.1.0.604.swz

I'm watching my server logs but I don't see any requests to these files. What's wrong with that?

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

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

发布评论

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

评论(1

诺曦 2024-11-12 13:46:16

我快速搜索并在 adobe 论坛中找到了这篇文章: http://forums.adobe.com/message /3501406

作者似乎与您有类似的不一致结果,这与加载问题中列出的 RSL - flex 框架有关。

在他的问题中,IIS 完全阻止了 .swz 文件。更改IIS配置后,问题就消失了。

I did a quick search and found this article in the adobe forums: http://forums.adobe.com/message/3501406

The author seems to have had similar inconsistent results as you and it had to do with loading RSL's - flex framework ones that you have listed in the question.

In his problem, IIS was blocking .swz files altogether. After changing the IIS configuration, the problems went away.

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