Hi Velo,

oh, I see, then I misunderstood your answer in which you suggested
just to switch to graniteds 2 to solve Ilya's problem.

At the moment I'm experimenting with custom templates. But I have some
difficulties to apply the bean templates correctly. I can give
bean.gsd and beanBase.gsd for bean template but the result is not what
I expected.

If I use this configuration

<beanTemplate>
        <template>${project.basedir}/../generatorTemplates/bean.gsp</
template>
        <template>${project.basedir}/../generatorTemplates/beanBase.gsp</
template>
</beanTemplate>

the beans are named {beanName}Base.

If I use

<beanTemplate>
        <template>${project.basedir}/../generatorTemplates/beanBase.gsp</
template>
        <template>${project.basedir}/../generatorTemplates/bean.gsp</
template>
</beanTemplate>

my custom templates are not used.

Any suggestions? Too many trees to see the forest?

Regards,
Christoph

On 24 Jun., 13:29, Marvin Froeder <[email protected]> wrote:
> On Wed, Jun 24, 2009 at 7:30 AM, flex-guse <[email protected]> wrote:
>
> >                        <plugin>
> >                                <groupId>org.sonatype.flexmojos</groupId>
>
> >  <artifactId>flexmojos-maven-plugin</artifactId>
> >                                <version>3.3-SNAPSHOT</version>
> >                                <configuration>
> >                                        <enableM2e>true</enableM2e>
> >                                </configuration>
> >                                <dependencies>
> >                                        <dependency>
>
> >  <groupId>org.graniteds</groupId>
>
> >  <artifactId>granite-generator</artifactId>
> >                                                <version>2.0.0.GA</version>
> >                                        </dependency>
> >                                </dependencies>
>
> Granite is never that simple, just update the dependency and go.... they
> usually break the API, so is necessary to patch flexmojos before updating...
>
> I just did that, so give it a shot.
>
> Can you please provide an example how to force flexmojos-generator to
>
> > use the granite ds 2.0.0.GA generator, so no classes using
> > IExternalizable are generated?
>
> Are you sure this is a change on granite?  When I need that I change the
> templates by myself....
>
> VELO
--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to