Well, idea guys need to handle this..... anyway this goal didn't survived flexmojos 4 rewriting....
On Tue, Sep 7, 2010 at 6:30 PM, Bryan Turner <[email protected]> wrote: > I have a FlexMojos module where I am using GAS to generate our Flex model > from our Java model. I have set custom values fro <baseOutputDirectory/> and > <outputDirectory/> on the flexmojos:generate goal (target/src/base and > target/src/as3, respectively). I recently removed the <sourcePaths/> entry > from the FlexMojos configuration in accordance with best practices for > FlexMojos. The command line build continues to work, however IntelliJ IDEA > is now having issues. > > I investigated a bit more deeply and what I've found is that if I run mvn > install in this directory, the config-report.xml file that is created is > different than the one created if I use mvn flexmojos:generate-config-swc. > In specific, when I run mvn install, the config report has the following > <source-path> entry: > <source-path> > > <path-element>C:\Development\adm\core\dbm-frontend\frontend-model\target\src\as3</path-element> > > <path-element>C:\Development\adm\core\dbm-frontend\frontend-model\target\src\base</path-element> > </source-path> > > However, when I run mvn flexmojos:generate-config-swc, the config-report > ends up like this: > <source-path> > > <path-element>C:\Development\adm\core\dbm-frontend\frontend-model\target\src\as3</path-element> > </source-path> > > As you can see, the value of the <baseOutputDirectory/> is not included > here. > > When IntelliJ IDEA detects pom.xml changes in a FlexMojos module, it runs > flexmojos:generate-config-swc or generate-config-swf (depending on the > packaging of the module) to produce a new config-report.xml. The > config-report.xml is what IDEA uses to understand the project's layout and > to invoke compc/mxmlc for compilation. Because the > flexmojos:generate-config-swc on this module produces the wrong source > paths, compilation in IDEA fails. > > -- > 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%[email protected]> > 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/
