Thx, didnt see those version #'s!
On Wed, Jul 14, 2010 at 8:09 PM, Marvin Froeder <[email protected]> wrote: > > - *Type:* [image: Improvement] Improvement > - *Status:* [image: Closed] Closed > - *Priority:* [image: Minor] Minor > - *Resolution:* Fixed > - *Affects Version/s:* 3.6.1, 3.7.0, 4.0 > - *Fix Version/s:* > 3.7.0<https://issues.sonatype.org/browse/FLEXMOJOS/fixforversion/10721>, > 4.0 <https://issues.sonatype.org/browse/FLEXMOJOS/fixforversion/10534> > > > > On Wed, Jul 14, 2010 at 9:47 PM, Scott Langeberg <[email protected]>wrote: > >> Hang on - I did find an existing jira ticket. I see patches here, but not >> sure if I need to try to apply these? >> >> https://issues.sonatype.org/browse/FLEXMOJOS-298 >> >> >> >> >> On Wed, Jul 14, 2010 at 7:00 PM, Marvin Froeder <[email protected]>wrote: >> >>> >>> >>> On Wed, Jul 14, 2010 at 7:56 PM, Scott Langeberg >>> <[email protected]>wrote: >>> >>>> GAS3 does have support for service generation, and includes a >>>> remote.gsp, and remoteBase.gsp. However, I am not able to generate my >>>> service using the @RemoteDestination annotation (to generate service API) , >>>> using flexmojos 3.6.1. >>>> >>>> http://www.graniteds.org/confluence/display/DOC/3.+Gas3+Code+Generator >>>> >>>> I notice that the maven code does not appear to account for this case, >>>> seen in error at line #418: >>>> >>>> >>>> http://grepcode.com/file/repo1.maven.org/maven2/org.sonatype.flexmojos/flexmojos-generator-graniteds-2.1.0/3.6.1/org/sonatype/flexmojos/generator/granitedsv2d1d0/GraniteDsGenerator.java >>>> >>>> I get the error below, when trying to annotate my bean. Will any future >>>> versions of flex-mojos enable this capability? >>>> >>> >>> Well, you can file a ticket at >>> https://issues.sonatype.org/browse/FLEXMOJOS >>> >>> But if you really wanna see that done I suggest you download the sources >>> and made a patch for it, I promise I will apply it as fast as I can. >>> >>> >>> VELO >>> >>> >>> >>>> >>>> Obrigado, amigos!! >>>> >>>> - Scott >>>> >>>> >>>> [ERROR] java.lang.IllegalArgumentException: Unknown template kind: >>>> REMOTE_DESTIN >>>> ATION / class >>>> com.ideas.tetris.pacman.services.security.AuthorizationService >>>> at >>>> org.sonatype.flexmojos.generator.granitedsv2d1d0.GraniteDsGenerator$G >>>> eneratorConfiguration.getTemplateUris(GraniteDsGenerator.java:418) >>>> at >>>> org.granite.generator.as3.JavaAs3GroovyTransformer.getGenerationType( >>>> JavaAs3GroovyTransformer.java:270) >>>> at >>>> org.granite.generator.as3.reflect.JavaAbstractType.<init>(JavaAbstrac >>>> tType.java:73) >>>> at >>>> org.granite.generator.as3.reflect.JavaRemoteDestination.<init>(JavaRe >>>> moteDestination.java:58) >>>> at >>>> org.granite.generator.as3.DefaultRemoteDestinationFactory.newRemoteDe >>>> stination(DefaultRemoteDestinationFactory.java:38) >>>> at >>>> org.granite.generator.as3.JavaAs3GroovyTransformer.getJavaType(JavaAs >>>> 3GroovyTransformer.java:229) >>>> at >>>> org.granite.generator.as3.JavaAs3GroovyTransformer.getOutputs(JavaAs3 >>>> GroovyTransformer.java:82) >>>> at >>>> org.granite.generator.as3.JavaAs3GroovyTransformer.getOutputs(JavaAs3 >>>> GroovyTransformer.java:61) >>>> at >>>> org.granite.generator.Transformer.generate(Transformer.java:66) >>>> at org.granite.generator.Generator.generate(Generator.java:83) >>>> at >>>> org.sonatype.flexmojos.generator.granitedsv2d1d0.GraniteDsGenerator.g >>>> enerateClass(GraniteDsGenerator.java:320) >>>> at >>>> org.sonatype.flexmojos.generator.granitedsv2d1d0.GraniteDsGenerator.g >>>> enerate(GraniteDsGenerator.java:272) >>>> at >>>> org.sonatype.flexmojos.generator.SimpleGeneratorMojo.execute(SimpleGe >>>> neratorMojo.java:208) >>>> at >>>> org.sonatype.flexmojos.generator.GeneratorMojo.execute(GeneratorMojo. >>>> java:40) >>>> at >>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi >>>> nManager.java:490) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >>>> ultLifecycleExecutor.java:694) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >>>> fecycle(DefaultLifecycleExecutor.java:556) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >>>> ltLifecycleExecutor.java:535) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >>>> dleFailures(DefaultLifecycleExecutor.java:387) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >>>> ts(DefaultLifecycleExecutor.java:348) >>>> at >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >>>> fecycleExecutor.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:6 >>>> 0) >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >>>> java:39) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >>>> sorImpl.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) >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Fail to generate class >>>> [com.ideas.tetris.pacman.services.security.Authori >>>> zationService] >>>> >>>> Unknown template kind: REMOTE_DESTINATION / class >>>> com.ideas.tetris.pacman.servic >>>> es.security.AuthorizationService >>>> >>>> -- >>>> 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]<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]<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]<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/
