But.. changing some configuration I made compile-swf possible to use. The issue is that the TestCompileMojo testsourceDirectory property is marked as read-only.. Removing that mark would make this possible, wouldn't it?
On 31 ago, 12:15, Marvin Froeder <[email protected]> wrote: > Flexmojos is not meant to be used on war projects. > > VELO > > On Tue, Aug 31, 2010 at 11:55 AM, Jonathan Erlich > <[email protected]>wrote: > > > > > > > > > I have a WAR Maven Project, which is using Flex Mojos to compile SWFs. > > This project contains both Java and Flex files. So, when executing the > > compile-swf I modify the source path to be: > > <sourcePaths> > > <path>${basedir}/src/main/flex</path> > > <path>${basedir}/src/main/resources</path> > > <path>${basedir}/target/generated-sources/flexmojos</path> > > </sourcePaths> > > > It works fine. > > Now, I want to use FlexUnit to compile the tests and run them. The > > issue I find is that it seems to be taking the test source directory > > from the project (which is src/test/java) and, obviously, no Flex test > > is located there. I went to TestCompileMojo source and the > > testsourcedirectory is taken from the project testsourcedirectory. Is > > there anyway to workaround this so it takes the configuration from the > > plugin ( for example src/test/flex) > > > Thanks > > > -- > > 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]<flex-mojos%2bunsubscr...@googlegrou > > ps.com> > > For more options, visit this group at > >http://groups.google.com/group/flex-mojos > > >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 http://flexmojos.sonatype.org/
