Thanks for the quick answer. That generates me the exact same warning : [WARNING] No classes to generate. The folder : generated-sources\flexmojos stays desesperatly empty.
On 21 avr, 16:01, Marvin Froeder <[email protected]> wrote: > mvn clean install > > > > > > On Wed, Apr 21, 2010 at 10:56 AM, benzonico <[email protected]> wrote: > > Hi to all, > > > I am trying to get FlexMojo generator to work on my project and I > > don't get the classes to be generated. > > I read the warn to read the doc carefully so I did it and i could not > > find an answer to my problem. > > > Here is my config of the plugin : > > > <plugin> > > <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-maven-plugin</artifactId> > > <dependencies> > > <dependency> > > > <groupId>com.adobe.flex</groupId> > > > <artifactId>compiler</artifactId> > > > <version>4.0.0.14159</version> > > <type>pom</type> > > </dependency> > > <dependency> > > > <groupId>com.adobe.flex.compiler</groupId> > > > <artifactId>license</artifactId> > > > <version>4.0.0.14159</version> > > </dependency> > > </dependencies> > > <version>3.6</version> > > <executions> > > <execution> > > <goals> > > > <goal>generate</goal> > > </goals> > > <configuration> > > <includeJavaClasses> > > > <includeClass>*projectName*</includeClass> > > > </includeJavaClasses> > > </configuration> > > </execution> > > </executions> > > </plugin> > > > And here is what i get when I do a mvn generate-source -X -e : > > > [DEBUG] Configuring mojo 'org.sonatype.flexmojos:flexmojos-maven- > > plugin:3.6:generate' with basic configurator --> > > [DEBUG] (f) baseOutputDirectory = C:\Users\user > > \workspaceTI1\projectName\target\generated-sources\flexmojos > > [DEBUG] (f) generatorToUse = graniteds21 > > [DEBUG] (f) includeJavaClasses = [*topupdate*] > > [DEBUG] (f) outputDirectory = C:\Users\user\workspaceTI1\projectName > > \src\main\java > > [DEBUG] (f) outputEnumToBaseOutputDirectory = false > > [DEBUG] (f) project = MavenProject: project.group:projectName:0.1.0- > > SNAPSHOT @ C:\Users\user\workspaceTI1\projectName\pom.xml > > [DEBUG] (f) useTideEntityTemplate = false > > [DEBUG] -- end configuration -- > > [INFO] Flexmojos 3.6 > > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > > file > > [INFO] flexmojos 3.6 - GNU GPL License (NO WARRANTY) - See COPYRIGHT > > file > > [WARNING] No classes to generate. > > > It seems that the plugin does not find any class that matches the > > pattern I provided. I tried to put the entire class name and it didn't > > work any better. > > > As you can see in the config I use flash builder 4, but I tried on > > flash builder 3 and didn't get it to work. > > I should add that if I remove the includeJavaClasses tag, the plugin > > try to convert every classes that I have in my dependencies. > > > It seems that the classes of my project can't be found by the plugin. > > > So, does anyone have any idea of what I am missing there ? > > 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 athttp://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/
