granite 1, 2 and 2.1 aren't binary compatible. So flexmojos can only support one at time. https://issues.sonatype.org/browse/FLEXMOJOS-266
VELO On Tue, Mar 30, 2010 at 5:42 AM, Christofer Dutz < [email protected]> wrote: > Ok, > > I finally added flexmojos to the list of projects in my 3rdParty directory > and had a look for myself. I was using the granitesd2 generator. When having > a look at the source I could see that there is a 2.1 version and as soon as > I switched to that "graniteds21" code generation seemed to work again. I > just wonder why grantieds2 doesn't work as it is provided in the code. > > Chris > > > > > 2010/3/30 Marvin Froeder <[email protected]> > >> Hrmm, probably the generator you are trying to use is not enabled.... >> >> Which one are you using? >> >> >> VELO >> >> >> On Mon, Mar 29, 2010 at 9:14 PM, Christofer Dutz < >> [email protected]> wrote: >> >>> Hi, >>> >>> I am currently switching to Flex4 and therefore had to upgrade to >>> newer versions. I had allready tried upgrading to Flex versions >>> greater than 4.0.0.10485 but had no luck in getting them to work. In >>> the meanwhile I have managed to compile using the latest version >>> (4.0.0.14159) but am aving trouble with flexmojos. The version 3.5 had >>> issued with the globalplaye versions 10.0 and 10.1 so I updated to 3.6 >>> and am having the problem, that my code-generation steps have stopped >>> working. I am suddenly getting NPEs. At first I thought they were >>> caused by my custom templates, but even without any template >>> definitions I am getting them. Here the stacktrace: >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Building EE Webapp (Client): Library Model >>> [INFO] task-segment: [clean, install] >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] [clean:clean {execution: default-clean}] >>> [INFO] Deleting directory E:\Projekte\EE\trunk\modules\ee-webapp >>> \modules\client\modules\lib-model\target >>> [INFO] [flexmojos:generate {execution: default}] >>> [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 >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] FATAL ERROR >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] null >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Trace >>> java.lang.NullPointerException >>> at >>> >>> org.sonatype.flexmojos.generator.SimpleGeneratorMojo.execute(SimpleGeneratorMojo.java: >>> 208) >>> at >>> >>> org.sonatype.flexmojos.generator.GeneratorMojo.execute(GeneratorMojo.java: >>> 40) >>> at >>> >>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: >>> 490) >>> at >>> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: >>> 694) >>> at >>> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java: >>> 556) >>> at >>> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: >>> 535) >>> at >>> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java: >>> 387) >>> at >>> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java: >>> 348) >>> at >>> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: >>> 180) >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) >>> at >>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java: >>> 60) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: >>> 39) >>> at >>> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: >>> 25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: >>> 315) >>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >>> at >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: >>> 430) >>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: >>> 39) >>> at >>> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: >>> 25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> com.intellij.rt.execution.application.AppMain.main(AppMain.java: >>> 110) >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 36 seconds >>> [INFO] Finished at: Tue Mar 30 02:08:57 CEST 2010 >>> [INFO] Final Memory: 41M/254M >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> Any help greatly appreciated. >>> >>> Chris >>> >>> -- >>> 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/ >>> >>> To unsubscribe from this group, send email to flex-mojos+ >>> unsubscribegooglegroups.com or reply to this email with the words >>> "REMOVE ME" as the subject. >>> >> >> -- >> 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/ >> >> To unsubscribe from this group, send email to flex-mojos+ >> unsubscribegooglegroups.com or reply to this email with the words "REMOVE >> ME" as the subject. >> > > -- > 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/ > > To unsubscribe from this group, send email to flex-mojos+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- 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/ To unsubscribe from this group, send email to flex-mojos+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
