使用ANT Build运行Flex单元测试失败 - 加载初始内容时出错

时间:2013-01-03 09:38:24

标签: flex ant flex4 automation

我正在使用示例Flex AIR应用程序来自动化我的Flex单元测试并使用Continuous Integration ANT BUILD运行它们。但是当我运行ANT Build时,我面临以下错误。这是我的控制台错误。

Buildfile: C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\build.xml
build:
clean:
   [delete] Deleting directory C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\deploy
   [delete] Deleting directory C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\report
init:
    [mkdir] Created dir: C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\deploy
    [mkdir] Created dir: C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\report
setup:
     [copy] Copying 1 file to C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\deploy
     [copy] Copying 1 file to C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\deploy\snapshots
compile:
     [java] Loading configuration file C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks\air-config.xml
     [java] C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\deploy\TwitterClient.swf (5691817 bytes)
execute_tests:
 [flexunit] Validating task attributes ...
 [flexunit] Generating default values ...
 [flexunit] Using default working dir [C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI]
 [flexunit] Using the following settings for the test run:
 [flexunit]     FLEX_HOME: [C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0]
 [flexunit]     haltonfailure: [false]
 [flexunit]     headless: [false]
 [flexunit]     display: [99]
 [flexunit]     localTrusted: [true]
 [flexunit]     player: [air]
 [flexunit]     port: [1024]
 [flexunit]     swf: [null]
 [flexunit]     timeout: [60000ms]
 [flexunit]     toDir: [C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\report]
 [flexunit] Setting up server process ...
 [flexunit] Starting server ...
 [flexunit] Opening server socket on port [1024].
 [flexunit] Waiting for client connection ...
 [flexunit] Executing 'C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\\bin\adl.exe' with arguments:
 [flexunit] 'C:\Users\akishore\Adobe Flash Builder 4.6\TwitterClient-CI\deploy\TwitterClient-app.xml'
 [flexunit] The ' characters around the executable and arguments are
 [flexunit] not part of the command.
 [flexunit] error while loading initial content

0 个答案:

没有答案