Ah, that's it. I was using the parent. On Tue, Mar 16, 2010 at 10:50 AM, Marvin Froeder <[email protected]> wrote: > It is since 1.0.... > > If you use flexmojos-parent poms it does take care of this. > > > VELO > > On Tue, Mar 16, 2010 at 2:44 PM, Richard Rodseth <[email protected]> wrote: >> >> Setting aside tests, are you saying that <sourceDirectory> is now >> required for Flex projects? I'm pretty sure I left it out on my old >> poms based on flex-mojos 2.0.3. >> >> On Tue, Mar 16, 2010 at 9:56 AM, Marvin Froeder <[email protected]> wrote: >> > At least not sure how to do that w/o completely ignoring sourceDirectory >> > and >> > testSourceDirectory >> > >> > On Tue, Mar 16, 2010 at 1:55 PM, Marvin Froeder <[email protected]> >> > wrote: >> >> >> >> Not sure if it is possible =/ >> >> >> >> On Tue, Mar 16, 2010 at 1:46 PM, Julien Nicoulaud >> >> <[email protected]> wrote: >> >>> >> >>> Yes, it keeps looking for src/test/java even if FlexMojos is here. May >> >>> be >> >>> flexmojos could override this behaviour. >> >>> >> >>> 2010/3/16 Richard Rodseth <[email protected]> >> >>>> >> >>>> Thanks, Julien, you were right. >> >>>> I thought the "standard" maven structure was assumed. >> >>>> I notice that if I removed the <sourceDirectory> tag, it looks for a >> >>>> java directory, even though I have flexmojos included under <plugins> >> >>>> >> >>>> In any case, following your suggestion, I now have a test class >> >>>> compiling, running and outputting surefire report. >> >>>> >> >>>> Thanks. >> >>>> >> >>>> On Fri, Mar 12, 2010 at 4:48 PM, Julien Nicoulaud >> >>>> <[email protected]> wrote: >> >>>> > Just adding >> >>>> > <testSourceDirectory>src/test/flex</testSourceDirectory> >> >>>> > to your >> >>>> > <build> section should do the trick. >> >>>> > >> >>>> > 2010/3/13 Richard Rodseth <[email protected]> >> >>>> >> >> >>>> >> What exactly is needed to enable FlexUnit4 and run the tests from >> >>>> >> maven? >> >>>> >> >> >>>> >> I have a sample modeled on the todo-list reference app. >> >>>> >> >> >>>> >> I added >> >>>> >> >> >>>> >> <dependency> >> >>>> >> <groupId>com.adobe.flexunit</groupId> >> >>>> >> <artifactId>flexunit</artifactId> >> >>>> >> <version>4.0-beta-2</version> >> >>>> >> <type>swc</type> >> >>>> >> <scope>test</scope> >> >>>> >> </dependency> >> >>>> >> >> >>>> >> and added Flash Player to my path. >> >>>> >> >> >>>> >> When I run mvn clean install I get >> >>>> >> >> >>>> >> [WARNING] Skipping test run. Runner not found: >> >>>> >> >> >>>> >> >> >>>> >> >> >>>> >> /Users/myname/dev/sandbox/companyname/Experimental/maventest/sampleswf/target/test-classes >> >>>> >> >> >>>> >> and in fact test-classes is empty. >> >>>> >> >> >>>> >> I have one test case class in src/test/flex but no suites or any >> >>>> >> other >> >>>> >> scaffolding. Still I expected that class to get compiled. >> >>>> >> >> >>>> >> Seems like I'm missing some steps... >> >>>> >> Thanks for any pointers or links to examples. >> >>>> >> >> >>>> >> -- >> >>>> >> 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://flexmojos.sonatype.org/ >> >>>> > >> >>>> > -- >> >>>> > 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://flexmojos.sonatype.org/ >> >>>> > >> >>>> >> >>>> -- >> >>>> 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://flexmojos.sonatype.org/ >> >>> >> >>> -- >> >>> 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://flexmojos.sonatype.org/ >> >> >> > >> > -- >> > 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://flexmojos.sonatype.org/ >> > >> >> -- >> 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://flexmojos.sonatype.org/ > > -- > 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://flexmojos.sonatype.org/ >
-- 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://flexmojos.sonatype.org/
