gpt4 book ai didi

java - flex ant 任务中的 flex 编译器错误(警告)消息

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:31:01 26 4
gpt4 key购买 nike

如果我使用来自 flex sdk 的 ant 任务编译我们的 flex 项目,我会收到以下警告。有谁知道这是从哪里来的,为什么会发生,我是否可以安全地忽略它? (swf 文件本身似乎是在没有实际错误的情况下创建的)

[mxmlc] The args attribute is deprecated. Please use nested arg elements.
[mxmlc] Loading configuration file /home/jrose/SDKs/flex_sdk_3-1/frameworks/flex-config.xml
[mxmlc] Locking assertion failure. Backtrace:
[mxmlc] #0 /usr/lib/libxcb-xlib.so.0 [0x786057c7]
[mxmlc] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x78605891]
[mxmlc] #2 /usr/lib/libX11.so.6(_XReply+0x254) [0x77053494]
[mxmlc] #3 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e6ddce]
[mxmlc] #4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e57d77]
[mxmlc] #5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e57ef3]
[mxmlc] #6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x77e58136]
[mxmlc] #7 [0xb1411008]
[mxmlc] #8 [0xb140ab6b]
[mxmlc] #9 [0xb140ab6b]
[mxmlc] #10 [0xb1408236]
[mxmlc] #11 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3eec]
[mxmlc] #12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7873ae8]
[mxmlc] #13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3d1f]
[mxmlc] #14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb770182d]
[mxmlc] #15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb73a730d]
[mxmlc] #16 [0xb1410898]
[mxmlc] #17 [0xb140aa94]
[mxmlc] #18 [0xb1408236]
[mxmlc] #19 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3eec]
[mxmlc] Locking assertion failure. Backtrace:
[mxmlc] #0 /usr/lib/libxcb-xlib.so.0 [0x786057c7]
[mxmlc] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0x7860596e]
[mxmlc] #2 /usr/lib/libX11.so.6 [0x77052619]
[mxmlc] #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0x77048666]
[mxmlc] #4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e570b9]
[mxmlc] #5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e57303]
[mxmlc] #6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so [0x77e57fa1]
[mxmlc] #7 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x77e58136]
[mxmlc] #8 [0xb1411008]
[mxmlc] #9 [0xb140ab6b]
[mxmlc] #10 [0xb140ab6b]
[mxmlc] #11 [0xb1408236]
[mxmlc] #12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3eec]
[mxmlc] #13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb7873ae8]
[mxmlc] #14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so [0xb76a3d1f]
[mxmlc] #15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb770182d]
[mxmlc] #16 /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb73a730d]
[mxmlc] #17 [0xb1410898]
[mxmlc] #18 [0xb140aa94]
[mxmlc] #19 [0xb1408236]

Ant 目标

<target name="compile-flex-swf" description="creates swf file">
<mxmlc file="${basedir}/flex_src/company_gui.mxml"
keep-generated-actionscript="false"
output="${basedir}/target/${ant.project.name}.swf"
fork="true"
debug="${flex.debug}"
services="${basedir}/WebContent/WEB-INF/flex/services-config.xml"
actionscript-file-encoding="UTF-8"
optimize="true">

<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
<context-root>company</context-root>
<compiler.library-path dir="${LCDS_HOME}/resources/frameworks" append="true">
<include name="libs/fds.swc" />
</compiler.library-path>
<compiler.library-path dir="../company_flex/target" append="true">
<include name="*.swc" />
</compiler.library-path>
</mxmlc>
</target>

最佳答案

那些回溯确实与 flex 或 ant 无关。它实际上只是 AWT 和 XCB 之间的交互。您可以通过 sun bug 6532373 找到更多信息。或 Xlib bug 11390 .有一些解决方法,但我认为它们不是必需的(除了删除那些讨厌的消息)。

关于java - flex ant 任务中的 flex 编译器错误(警告)消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/751402/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com