Hi all,

I've been trying to set up our CI environment to build and test some
Flash components, but am currently stuck on the testing. I followed

https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests

and mvn compile works fine. However, mvn test and mvn package fail.
Maven is invoking flashplayer in the following way:


[DEBUG] [LAUNCHER] exec: flashplayer - /home/pfig/foo/target/test-
classes/TestRunner.swf

and flashplayer exits with error code 1:

Error: Invalid SWF file name

I've tested this in both CentOS and Ubuntu. However, the exact same
call in Mac OS X isn't a problem:

[DEBUG] [LAUNCHER] exec: Flash Player - /Users/pfig/foo/target/test-
classes/TestRunner.swf

(but for the executable name, obviously).

I have Flash Player 10.1 on both Linux and Mac OS X, and I'm quite at
a loss here, if you could shed any light on this I'd appreciate it, as
this is what's blocking us from finally moving away from FlashBuilder
and having these components being deployed automatically :)

Thank you in advance,

Pedro

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to