So, my English sux :(

Look template order... base should be first.


VELO

On Sun, Mar 29, 2009 at 10:34 PM, Davis Ford <davisf...@gmail.com> wrote:

>
> Hi VELO -- your messages are always brief and cryptic.  This time, I'm
> afraid I'm not seeing it.  I'm using
> https://docs.sonatype.org/display/FLEXMOJOS/generate-mojo.html
>
> "entityTemplate" no description
>
> I commented out the beanTemplate stuff.
>
> I'm using the entity.gsp and entityBase.gsp from granite-generator
> JAR.  I'm still getting the as3 files generated in reverse.  What am I
> missing?
>
> Regards,
> Davis
>
> <!--                                                    <beanTemplate>-->
> <!--
> <template>${basedir}/src/main/template/beanBase.gsp</template>-->
> <!--
> <template>${basedir}/src/main/template/bean.gsp</template>-->
> <!--                                                    </beanTemplate>-->
>                                                       <entityTemplate>
>
> <template>${basedir}/src/main/template/entity.gsp</template>
>
> <template>${basedir}/src/main/template/entityBase.gsp</template>
>                                                       </entityTemplate>
>                                               </configuration>
>
>
> On Sun, Mar 29, 2009 at 9:22 PM, Marvin Froeder <velo...@gmail.com> wrote:
> > On Sun, Mar 29, 2009 at 10:18 PM, Davis Ford <davisf...@gmail.com>
> wrote:
> >>
> >> The groovy templates are not being applied correctly.  Is this a
> >> flexmojos issue, or a graniteds issue, or a bad groovy script issue?
> >
> > Neither, bad usage :D
> > <entityTemplate>
> >    <template>${basedir}/src/main/template/entityBase.gsp</template>
> >    <template>${basedir}/src/main/template/entity.gsp</template>
> > </entityTemplate>
> >
> > VELO
> >
> >>
> >> Thanks,
> >> Davis
> >>
> >>
> >>                        <plugin>
> >>                                <groupId>org.sonatype.flexmojos</groupId>
> >>
> >>  <artifactId>flexmojos-maven-plugin</artifactId>
> >>                                <extensions>true</extensions>
> >>                                <configuration>
> >>
> >>  <contextRoot>elibrary-web</contextRoot>
> >>                                        <debug>true</debug>
> >>                                </configuration>
> >>                                <executions>
> >>                                        <execution>
> >>                                                <goals>
> >>
> >>  <goal>optimize</goal>
> >>
> >>  <goal>generate</goal>
> >>                                                </goals>
> >>                                                <configuration>
> >>
> >>  <includeJavaClasses>
> >>
> >>  <includeClass>biz.zenoconsulting.elibrary.entity.Author</includeClass>
> >>
> >>  <includeClass>biz.zenoconsulting.elibrary.entity.Book</includeClass>
> >>
> >>  <includeClass>biz.zenoconsulting.elibrary.entity.EFile</includeClass>
> >>
> >>
>  <includeClass>biz.zenoconsulting.elibrary.entity.Publisher</includeClass>
> >>
> >>  <includeClass>biz.zenoconsulting.elibrary.entity.Subject</includeClass>
> >>
> >>  </includeJavaClasses>
> >>                                                        <beanTemplate>
> >>
> >>  <template>${basedir}/src/main/template/beanBase.gsp</template>
> >>
> >>  <template>${basedir}/src/main/template/bean.gsp</template>
> >>                                                        </beanTemplate>
> >>                                                        <entityTemplate>
> >>
> >>  <template>${basedir}/src/main/template/entity.gsp</template>
> >>
> >>  <template>${basedir}/src/main/template/entityBase.gsp</template>
> >>                                                        </entityTemplate>
> >>                                                </configuration>
> >>                                        </execution>
> >>                                </executions>
> >>                                <dependencies>
> >>                                        <dependency>
> >>
> >>  <groupId>org.graniteds</groupId>
> >>
> >>  <artifactId>granite-hibernate</artifactId>
> >>
> >>  <version>${org.graniteds.version}</version>
> >>                                        </dependency>
> >>                                        <dependency>
> >>
> >>  <groupId>org.graniteds</groupId>
> >>
> >>  <artifactId>granite-hibernate-swc</artifactId>
> >>
> >>  <version>${org.graniteds.version}</version>
> >>                                                <type>swc</type>
> >>                                        </dependency>
> >>                                </dependencies>
> >>                        </plugin>
> >>
> >> On Sun, Mar 29, 2009 at 2:20 PM, Marvin Froeder <velo...@gmail.com>
> wrote:
> >> >> Am I just missing something fundamental here?
> >> >
> >> > Yes, GAS3 do not generate service layer.
> >> >
> http://www.graniteds.org/confluence/display/DOC/2.+Gas3+Code+Generator
> >> >
> >> >
> >> > VELO
> >> >
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Zeno Consulting, Inc.
> >> home: http://www.zenoconsulting.biz
> >> blog: http://zenoconsulting.wikidot.com
> >> p: 248.894.4922
> >> f: 313.884.2977
> >>
> >>
> >
> >
> > >
> >
>
>
>
> --
> Zeno Consulting, Inc.
> home: http://www.zenoconsulting.biz
> blog: http://zenoconsulting.wikidot.com
> p: 248.894.4922
> f: 313.884.2977
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to flex-mojos@googlegroups.com
To unsubscribe from this group, send email to
flex-mojos+unsubscr...@googlegroups.com
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