Hi VELO,
thanks for your help. I got it working.
My execution configuration of the flexmojos-maven-plugin looks like
this:
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<generatorToUse>graniteds2</generatorToUse>
<beanTemplate>
<template>${project.basedir}/../generatorTemplates/beanBase.gsp</
template>
<template>${project.basedir}/../generatorTemplates/bean.gsp</
template>
</beanTemplate>
<entityTemplate>
<template>${project.basedir}/../generatorTemplates/entityBase.gsp</
template>
<template>${project.basedir}/../generatorTemplates/entity.gsp</
template>
</entityTemplate>
<includeJavaClasses>
<includeClass>TranslationItem</includeClass>
<includeClass>TranslationItems</includeClass>
<includeClass>TranslationNotFoundException</includeClass>
<includeClass>TranslationAlreadyExistsException</includeClass>
</includeJavaClasses>
</configuration>
</execution>
The configuration setting <generatorToUse>graniteds2</generatorToUse>
switches to the version 2 generator which uses the custom templates
correctly.
I added this piece of documentation in the flex-mojos wiki.
Regards,
Christoph
On 24 Jun., 16:41, Marvin Froeder <[email protected]> wrote:
> Running mvn -X should show you what generator is being used.
>
> VELO
>
> On Wed, Jun 24, 2009 at 11:39 AM, flex-guse <[email protected]> wrote:
>
> > Nothing suspicious.
>
> > If I use my configuration, can I be sure to use graniteds 2 generator?
> > In the created files there is always something similar to "...
> > generated by GraniteDS 1.1 generator..."
>
> > Christoph
>
> > On 24 Jun., 16:29, Marvin Froeder <[email protected]> wrote:
> > > Anything on logs?
>
> > > 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/
-~----------~----~----~----~------~----~------~--~---