myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "Deploying the Webpage of MyFaces" by SimonKitching
Date Mon, 17 Dec 2007 13:06:49 GMT
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 SimonKitching:
http://wiki.apache.org/myfaces/Deploying_the_Webpage_of_MyFaces

------------------------------------------------------------------------------
  == Publishing the site via Continuum ==
  
- Usually, the webpage should deploy automatically. The !MyFaces continuum server is configured
- to rebuild every project nightly, and to also deploy any site modifications.
+ Build tasks to perform the build and deployment of the website for !MyFaces core is defined
in the !MyFaces continuum installation. At the current time, these tasks are marked as "default=false",
meaning that they do not run
+ on an automatic schedule.
  
+ Therefore, to deploy an updated website, log on to the continuum server, open the appropriate
"project group" and "project", then click the (small) "build now" icon that is next to the
"site-deploy" build definition. A build takes approximately 4 minutes, and the status can
be seen on the continuum "builds" tab. It would be possible to deploy the latest site automatically
(ie on a schedule such as nightly) but at the current time this is not enabled.
- If you need to push out a new site urgently, then log on to the continuum server and execute
- a "build immediately" command.
  
  The site is initially deployed to minotaur.apache.org (aka people.apache.org). From there
  a periodic task transfers it to the main apache site and mirrors, so it can take a few hours
@@ -18, +17 @@

  == Publishing the site manually ==
  
  It should be possible to run this locally:
+ {{{
    mvn clean site-deploy
+ }}}
  
  If your local username is not the same as your account on minotaur.apache.org, then you
can
  add an entry in your maven settings.xml file to specify logon details. See the release
@@ -27, +28 @@

  You will also need to be in the "myfaces" unix group in order to be able to write to the
  necessary directories.
  
+ == Testing Site Modifications ==
+ 
+ Running "mvn clean site" will build the site for the current module and all its submodules.
However the generated html pages for each submodule are placed into the target directory for
that module. As a result, none of the inter-module links work.
+ 
+ To test a multi-module site, use this instead:
+ {{{
+   mvn -DstagingDirectory=/tmp/stage mvn site:stage
+ }}}
+ which will assemble a complete site from the partial pieces present in the different modules.
+ 

Mime
View raw message