Logan,
The test runner template solved the problem for now, but of course, I
have hit yet another speed bump.
Do I need to include dependency nodes for each of the unit test
frameworks? (i.e. ASUnit, Fluit & FlexUnit)
When I include the testing-support dependency using
<dependency>
<groupId>info.flex-mojos</groupId>
<artifactId>testing-support</artifactId>
<version>2.0M10</version>
<type>swc</type>
</dependency>
I end up with these compiler errors:
[ERROR] /Users/kfitzpatrick/.m2/repository/info/flex-mojos/testing-
support/2.0M10/testing-support-2.0M10.swc(info/flexmojos/
unitestingsupport/asunit/AsUnitListener):[-1,-1] Type was not found or
was not a compile-time constant: [asunit.framework]::TestListener.
[ERROR] /Users/kfitzpatrick/.m2/repository/info/flex-mojos/testing-
support/2.0M10/testing-support-2.0M10.swc(info/flexmojos/
unitestingsupport/funit/FUnitListener):[-1,-1] Type was not found or
was not a compile-time constant: [funit.core]::ITestListener.
[ERROR] /Users/kfitzpatrick/.m2/repository/info/flex-mojos/testing-
support/2.0M10/testing-support-2.0M10.swc(advancedflex/debugger/aut/
framework/ProtectedConsole):[-1,-1] Type was not found or was not a
compile-time constant: TestCase.
I've tried a bunch of different configurations and dug into the maven
documentation and I can't quite firgure out what's going on.
Any ideas?
We're very excited to use flex-mojos as our build system on OpenPyro.
Thanks for your help in this.
- Kevin
On Dec 24, 1:26 pm, "RedBugz Software" <[email protected]> wrote:
> On Wed, Dec 24, 2008 at 9:36 AM, Marvin Froeder <[email protected]> wrote:
> > Maven is generating it at:
> > /Users/kfitzpatrick/Documents/workspace_3.3/OpenPyro/target/flexcover-classes/TestRunner.mxml
>
> OK, I see the problem now. Velo improved the testing support a while
> back, but the new testing support stuff is not compatible with the old
> templates. The flexcover stuff is using the old template from before
> the new testing support, I just updated the template in trunk.
>
> So you can either build trunk and use that, or put the new template in
> your pom for now. To do that, create a file called TestRunner.vm in
> src/test/flex and put this in
> it:http://svn.sonatype.org/flexmojos/trunk/rvin-mojo/flexcover-mojo/src/...
>
> and then put this in your pom:
>
> <configuration>
> <testRunnerTemplate>src/test/flex/TestRunner.vm</testRunnerTemplate>
> </configuration>
>
> 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/
-~----------~----~----~----~------~----~------~--~---