myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1335097 - /myfaces/tobago/trunk/src/site/apt/getting-started.apt
Date Mon, 07 May 2012 16:19:02 GMT
Author: lofwyr
Date: Mon May  7 16:19:02 2012
New Revision: 1335097

URL: http://svn.apache.org/viewvc?rev=1335097&view=rev
Log:
show commands to start with different versions

Modified:
    myfaces/tobago/trunk/src/site/apt/getting-started.apt

Modified: myfaces/tobago/trunk/src/site/apt/getting-started.apt
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/apt/getting-started.apt?rev=1335097&r1=1335096&r2=1335097&view=diff
==============================================================================
--- myfaces/tobago/trunk/src/site/apt/getting-started.apt (original)
+++ myfaces/tobago/trunk/src/site/apt/getting-started.apt Mon May  7 16:19:02 2012
@@ -55,22 +55,22 @@ Building All
    For building all the stuff you can use the profile all-modules
 
 +----------------------------------------
- mvn install -Pall-modules
+  mvn install -Pall-modules
 +----------------------------------------
 
 
 The Demo
 
-You can run the demo in tobago-example/tobago-example-demo with jetty
+  You can run the examples inside tobago-example with jetty
 
 +----------------------------------------
-  mvn jetty:run-exploded
+  mvn jetty:run
 +----------------------------------------
 
-  the other examples with
+  or (for the addressbook and the JSP versions of demo and test)
 
 +----------------------------------------
-  mvn jetty:run
+  mvn jetty:run-exploded
 +----------------------------------------
 
   or
@@ -79,9 +79,20 @@ You can run the demo in tobago-example/t
   mvn package
 +----------------------------------------
 
-  and deploy the WAR from the target directory
-  manually.
+  and deploy the WAR from the target directory manually.
+
+Using different JSF implementations
 
-  The demo application will create a log file in the app-server
-  starting folder. You may want to change that in
-  {{{http://svn.apache.org/repos/asf/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/classes/log4j.xml}src/main/webapp/WEB-INF/classes/log4j.xml}}.
+  By default the example will be started with MyFaces 1.2.
+  You can run the examples with other version like you see here:
+
++----------------------------------------
+  mvn jetty:run -Djsf=myfaces-1.1
+  mvn jetty:run
+  mvn jetty:run -Djsf=myfaces-2.0
+  mvn jetty:run -Djsf=myfaces-2.1
+  mvn jetty:run -Djsf=mojarra-1.1
+  mvn jetty:run -Djsf=mojarra-1.2
+  mvn jetty:run -Djsf=mojarra-2.0
+  mvn jetty:run -Djsf=mojarra-2.1
++----------------------------------------



Mime
View raw message