You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/10/25 18:46:32 UTC

[Myfaces Wiki] Update of "MyFaces Archetypes for Maven" by BrunoAranda

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by BrunoAranda:
http://wiki.apache.org/myfaces/MyFaces_Archetypes_for_Maven

------------------------------------------------------------------------------
  The Jetty6 plugin has been added to the pom.xml of the archetype.
  
  {{{
- mvn -PjettyConfig clean jetty6:run
+ mvn -PjettyConfig clean jetty:run
  }}}
  
  This will create a war, launch the Jetty container and it will server your project at http://localhost:8080/testApp
@@ -140, +140 @@

  The webapp can be built with !Myfaces or with the JSF-RI and can be executed directly with Jetty (the same way than the !MyFaces Archetype). That is very handy to test that your components work in both implementations. For instance, if you want to execute your application directly from Jetty and using MyFaces, execute this in the examples folder:
  
  {{{
- mvn -PjettyConfig clean package jetty6:run
+ mvn -PjettyConfig clean package jetty:run
  }}}
  
  Alternately, to build your example app using the JSF Reference Implementation, execute this in the examples folder:
  
  {{{
- mvn -PjettyConfig -Djsf=ri clean package jetty6:run
+ mvn -PjettyConfig -Djsf=ri clean package jetty:run
  }}}
  
  And you can go to http://localhost:8080/myJsfComponents-examples to see the examples.