On Wed, Feb 4, 2009 at 1:12 AM, [email protected]
<[email protected]> wrote:
> Hm, where do I put that <felxUnitCommand> tag? Under goal? Or
> execution? (as you see I'm brand new to Maven :/)
<build>
<plugins>
<plugin>
<groupId>info.flex-mojos</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<configuration>
<flexUnitCommand>
<argument>adl</argument>
<argument>${project.build.testOutputDirectory}/AirTestRunner-app.xml</argument>
.........
> Do I need to implement a flex to java communication in my test runner?
> I see the mojo generated runner takes a port number. Anything I could
> reuse from testing-support?
Probably, look at the existing FlexUnit stuff:
http://svn.sonatype.org/flexmojos/branches/flex-mojos-2.0.x/testing-support/src/main/flex/info/flexmojos/unitestingsupport/TestApplication.as
http://svn.sonatype.org/flexmojos/branches/flex-mojos-2.0.x/testing-support/src/main/flex/info/flexmojos/unitestingsupport/flexunit/FlexUnitListener.as
You should be able to send the same data in the same way, and the
existing java listener will behave the same.
Logan
--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---