Also, please note that the includeJavaClass filters are ineffective as
well. I must be doing something wrong. A fresh pair of eyes would be
appreciated.

- Taskin



On Sep 4, 11:39 am, Taskin <[email protected]> wrote:
> I am trying to customize groovy templates so that AS3 code generated
> works with BlazeDS. I build the plugin and related classes from SNV
> trunk. Excerpt from the pom.xml in my as3 lib project ins included
> below.
>
> I have looked at WIKI, blogs etc. to find a solution.
>
> Please help me understand what I am doing incorrectly below.
>
> Thanks in advance.
>
> Regards,
>
> Taskin
>
> <build>
>                 <sourceDirectory>src/main/flex</sourceDirectory>
>                 <testSourceDirectory>src/test/flex</testSourceDirectory>
>                 <plugins>
>                         <plugin>
>                                 <groupId>org.sonatype.flexmojos</groupId>
>                                 
> <artifactId>flexmojos-maven-plugin</artifactId>
>                                 <extensions>true</extensions>
>                                 <configuration>
>                                         <contextRoot>app</contextRoot>
>                                         <debug>true</debug>
>                                 </configuration>
>                                 <executions>
>                                         <execution>
>                                                 <id>generate_from_java</id>
>                                                 
> <phase>generate-sources</phase>
>                                                 <goals>
>                                                         <goal>generate</goal>
>                                                 </goals>
>                                                 <configuration>
>                                                         <includeJavaClasses>
>                                                                 
> <includeClass>**.api.Test</includeClass>
>                                                         </includeJavaClasses>
>                                                         <beanTemplate>
>                                                                 
> <template>${project.basedir}/src/main/templates/beanBase.gsp</
> template>
>                                                                 
> <template>${project.basedir}/src/main/templates/bean.gsp</
> template>
>                                                         </beanTemplate>
>                                                         
> <generatorToUse>graniteds2</generatorToUse>
>                                                 </configuration>
>                                         </execution>
>                                         <execution>
>                                                 <phase>prepare-package</phase>
>                                                 <goals>
>                                                         <goal>optimize</goal>
>                                                         <!-- Optimized RSL 
> generation -->
>                                                 </goals>
>                                         </execution>
>                                 </executions>
>                                 <dependencies>
>                                         <dependency>
>                                                 
> <groupId>com.adobe.flex</groupId>
>                                                 
> <artifactId>compiler</artifactId>
>                                                 
> <version>${flex-sdk.version}</version>
>                                                 <type>pom</type>
>                                         </dependency>
>                                         <!--
>                                         <dependency>
>                                                 
> <groupId>org.sonatype.flexmojos</groupId>
>                                                 
> <artifactId>flexmojos-generator-graniteds-2.0.0</artifactId>
>                                                 
> <version>${flexmojos.version}</version>
>                                         </dependency>
>                                         -->
>                                 </dependencies>
>                         </plugin>
>                 </plugins>
>         </build>

-- 
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/

Reply via email to