build-helper-maven-plugin is just the right solution, thanks! -Dave
On Tue, Sep 22, 2009 at 12:05 PM, Marvin Froeder <[email protected]> wrote: > Well, blame flex compiler for allowing that =D > It does allow you to include sources on SWC there aren't part of the > sourcePath.... why am I not surprised?! > > Well, if you only have generated sources, change your source dir from > src/main/flex to whatever you have..... > > Our, add extra sources: > http://mojo.codehaus.org/build-helper-maven-plugin/add-source-mojo.html > > > VELO > > On Tue, Sep 22, 2009 at 2:56 PM, David Hoffer <[email protected]> wrote: > >> I have a flex project where flexmojos-unittest-support does not include >> sources in generated-sources/flex folder. Tests that reference give errors >> indicating that the source is not found. >> >> This particular project has no static source, all the source is generated >> via exec-maven-plugin during the generate-sources phase. The >> flexmojos-maven-plugin finds it just fine as it has the following >> configuration. >> >> <includeSources> >> >> <source>${project.build.directory}/generated-sources/flex</source> >> </includeSources> >> >> Why does the unit test plugin ignore this folder? Is this configurable? >> >> In maven usually you don't have to specify this folder as source because >> it's assumed. However perhaps the various flex plugins aren't configured to >> look in ${project.build.directory}/generated-sources/flex? >> >> How does one do this for unit tests? >> >> -Dave >> >> >> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
