使用ant tasks编译flex程序,如何debug?
|
sprite
2008-05-29
平时直接用flex builder3工具里的debug as flex appliaction 然后自动打开浏览器运行,是能debug的。 现在使用ant tasks编译flex程序,如何debug? 我编译的时候也指定了debug=true,然后再浏览器中运行时也制定了http://localhost:8080/cmis/cmis.html?debug=true,在eclipse(装了flex builder3)中设置断点,没起作用。但同样的java文件编译时设置了debug就起作用. 以下是编译文件 <target name="build.mxml">
<mxmlc file="${src.main.flex}/${mxml.file}.mxml"
use-network="false" debug="true" output="${tmp}/${mxml.file}.swf">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<source-path path-element="${src.main.flex}"/>
<compiler.include-libraries dir="${root}/swc">
<include name="*.swc"/>
</compiler.include-libraries>
</mxmlc>
<delete>
<fileset dir="${src.main.flex}" includes="${mxml.file}*.cache" defaultexcludes="false"/>
</delete>
</target>
现在的问题是 有没有人了解flex builder3对flex的编译细节,自己使用ant tasks或者浏览器要如何设置才能debug |
|
|
bruce.peng
2008-05-29
builder3 会有这个问题吗? 关注中
|

