Flexmojos,Flexunit4:adl返回意外的返回码9

时间:2012-12-07 09:30:06

标签: flex air maven-3 flexmojos flexunit4

运行flexunit4单元测试时遇到问题

Flexmojos 4.2-beta
     Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
Running tests /Users/mordesku/NetBeansProjects/way2learn/builder/target/test-classes/TestRunner.swf
[LAUNCHER] Using regular flashplayer tests
------------------------------------------------------------------------
Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 1:10.516s
Finished at: Fri Dec 07 09:53:52 CET 2012
Final Memory: 11M/213M
------------------------------------------------------------------------
Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.2-beta:test-run (default-test-run) on project builder: Unexpected return code 9 - /Users/mordesku/NetBeansProjects/way2learn/builder/target/test-classes/TestRunner.swf -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

当我从命令行(从目标目录)运行adl时,得到了这个输出:

jablecznik:test-classes mordesku$ adl TestRunner.xml 
error while loading initial content
jablecznik:test-classes mordesku$ 

TestRunner.xml的根节点如下所示:

<application xmlns="http://ns.adobe.com/air/application/2.6">

当我将其更改为

<application xmlns="http://ns.adobe.com/air/application/3.5">

从命令行测试正常运行。

有没有人和我有同样的问题?如何配置flexmojos输出不同版本的airapplication版本的TestRunner.xml?

0 个答案:

没有答案