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 2010/07/16 01:14:35 UTC

[Myfaces Wiki] Update of "Extensions/CDI/DevDoc/Examples" by JakobKorherr

Dear Wiki user,

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

The "Extensions/CDI/DevDoc/Examples" page has been changed by JakobKorherr.
The comment on this change is: Added example page.
http://wiki.apache.org/myfaces/Extensions/CDI/DevDoc/Examples

--------------------------------------------------

New page:
= CODI Examples =

Currently there are two JSF examples available for CODI, one for JSF 1.2 and one for JSF 2.0. You can find them at https://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/examples/jsf-examples

== Run the examples with Jetty ==

The examples can be started with Jetty 7 very easily:
{{{
mvn clean jetty:run-exploded -PjettyConfig
}}}

This command will start the current example with Jetty using MyFaces Core 2.0 or 1.2, depending on the example.

If you want to start the example using Mojarra, you have to use the following command:
{{{
mvn clean jetty:run-exploded -PjettyConfig -Djsf=mojarra
}}}