I fixed it!
I change redirect-action to redirectAction in file 
web\src\test\resources\appfuse\web\struts\struts.ftl and Gen command works!
Thanks!
  ----- Original Message ----- 
  From: Oscar Rodriguez 
  To: users@appfuse.dev.java.net 
  Sent: Tuesday, September 29, 2009 6:48 PM
  Subject: Re: [appfuse-user] Customizing AMP Templates: changing struts.ftl


  It works!
  mvn install runs sucessfully.
  But it doesn't install anything in my repository. Do you kown why?
  Gen continues working with redirect-action.

  Thanks!

  ----- Original Message ----- 
  From: "Matt Raible" <m...@raibledesigns.com>
  To: <users@appfuse.dev.java.net>
  Sent: Tuesday, September 29, 2009 5:56 PM
  Subject: Re: [appfuse-user] Customizing AMP Templates: changing struts.ftl


  You'll want to checkout the plugin that matches your version. Assuming
  2.0.2, you'd want to use the following SVN URL:

  
https://appfuse.dev.java.net/svn/appfuse/tags/APPFUSE_2.0.2/plugins/appfuse-maven-plugin

  Matt

  On Tue, Sep 29, 2009 at 1:42 PM, oskarher <orodrigu...@speedy.com.ar> wrote:
  >
  > Hello, i'm using Struts 2.1.6 I want change in struts.ftl redirect-action to
  > redirectAction.
  > I'm following that:
  >
  > 
////////////////////////////////////////////////////////////////////////////////////
  > Customizing AMP Templates
  > The FreeMarker templates that AMP uses to generate code are packaged in the
  > plugin itself. While it
  > should be possible to override templates by placing them in your project's
  > classpath, this doesn't seem to
  > work. We hope to fix this in a future release. In the meantime, you should
  > be able to customize it using
  > the following steps:
  > 1. Checkout the plugin from SVN (username: guest, password: <blank>):
  > svn co
  > https://appfuse.dev.java.net/svn/appfuse/trunk/plugins/appfuse-maven-plugin
  > appfuse-maven-plugin
  > 2. Customize the templates in src/main/resources/appfuse.
  > 3. Run mvn install (use -Dmaven.test.skip=true if tests fail and you don't
  > want to fix them).
  > 4. Make sure your project matches the version number you just installed.
  > 
////////////////////////////////////////////////////////////////////////////////////
  >
  > But, when I run mvn install I get next error:
  >
  > [INFO] Failed to resolve artifact.
  >
  > GroupId: org.appfuse.plugins
  > ArtifactId: appfuse-plugins
  > Version: 2.1-SNAPSHOT
  >
  > Reason: Unable to download the artifact from any repository
  >
  > org.appfuse.plugins:appfuse-plugins:pom:2.1-SNAPSHOT
  >
  > from the specified remote repositories:
  > central (http://repo1.maven.org/maven2)
  >
  > Thanks!
  > --
  > View this message in context: 
http://www.nabble.com/Customizing-AMP-Templates%3A-changing-struts.ftl-tp25670523s2369p25670523.html
  > Sent from the AppFuse - User mailing list archive at Nabble.com.
  >
  >
  > ---------------------------------------------------------------------
  > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
  > For additional commands, e-mail: users-h...@appfuse.dev.java.net
  >
  >

  ---------------------------------------------------------------------
  To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
  For additional commands, e-mail: users-h...@appfuse.dev.java.net


  E-mail clasificado por el Idenfificador de Spam Inteligente.
  Para modificar la categora clasificada acceda a su webmail

  Este mensaje ha sido verificado por el E-mail Protegido.
  Antivirus actualizado en 29/09/2009 / Versin: 0.95.2/9852



  __________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4468 (20090929) __________

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com




  __________ Information from ESET NOD32 Antivirus, version of virus signature 
database 4468 (20090929) __________

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com



------------------------------------------------------------------------------
  E-mail clasificado por el Idenfificador de Spam Inteligente. Para modificar 
la categor�clasificada acceda a su webmail 


------------------------------------------------------------------------------
  Este mensaje ha sido verificado por el E-mail Protegido. Antivirus 
actualizado en 29/09/2009 / Versión: 0.95.2/9853 

Reply via email to