Thank you very much Christofer ! In fact, I just had to delete this line :
<generatorToUse>graniteds21</generatorToUse> And then it worked... Btw, where can I download the gsp files for the template ? ( GDS ) Thx ! On Aug 16, 11:50 pm, Christofer Dutz <[email protected]> wrote: > Here I summed up my changes I needed to migrat from 3.x to > 4.0https://dev.c-ware.de/confluence/display/PUBLIC/Migrating+from+Flexmo... > > Hope it helps, > Chris > > 2011/8/16 Jihed <[email protected]>: > > > > > > > > > Hello, > > > I just switched from 3.8 to 4.0-RC1 and I have a problem with the > > generate goal with GDS, here is the pom : > > > <plugins> > > <plugin> > > <groupId>org.sonatype.flexmojos</groupId> > > <artifactId>flexmojos-maven-plugin</artifactId> > > <executions> > > <execution> > > <goals> > > <goal>generate</goal> > > </goals> > > <configuration> > > <generatorToUse>graniteds21</ > > generatorToUse> > > <baseOutputDirectory>$ > > {project.build.sourceDirectory}</baseOutputDirectory> > > <outputDirectory>$ > > {project.build.sourceDirectory}</outputDirectory> > > <extraOptions> > > <tide>true</tide> > > <uid>uid</uid> > > > <entityFactory>org.granite.generator.as3.BVEntityFactory</ > > entityFactory> > > > <outputEnumToBaseOutputDirectory>false</ > > outputEnumToBaseOutputDirectory> > > </extraOptions> > > <includeJavaClasses> > > <!-- java packages to include with GDS > > generator --> > > <include>entity.**</include> > > </includeJavaClasses> > > </configuration> > > </execution> > > </executions> > > <dependencies> > > <dependency> > > <groupId>org.graniteds</groupId> > > <artifactId>granite-core</artifactId> > > <version>${gds.version}</version> > > </dependency> > > <dependency> > > <groupId>org.graniteds</groupId> > > <artifactId>granite-generator-share</ > > artifactId> > > <version>${gds.version}</version> > > </dependency> > > <dependency> > > <groupId>org.graniteds</groupId> > > <artifactId>granite-generator</artifactId> > > <version>${gds.version}</version> > > </dependency> > > </dependencies> > > </plugin> > > </plugins> > > > And here the error : > > > [INFO] > > [INFO] --- flexmojos-maven-plugin:4.0-RC1:generate (default) @ > > remoting --- > > [INFO] flexmojos 4.0-RC1 - GNU GPL License (NO WARRANTY) - See > > COPYRIGHT file > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 8.046s > > [INFO] Finished at: Tue Aug 16 13:19:06 CEST 2011 > > [INFO] Final Memory: 11M/173M > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven- > > plugin:4.0-RC1:generate (default) on project remoting: Execution > > default of goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0- > > RC1:generate failed. NullPointerException -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with > > the -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help > > 1]http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionExcep... > > > It was working great with flexmojos 3.8... > > > Thx ! > > > -- > > 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/ -- 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/
