<?xml version="1.0" encoding="UTF-8"?>
<chapter id="Getting_started_with_RW" xreflabel="Getting_started_with_RW">
      <?dbhtml filename="RichFacesMigrationIssues31to32.html"?>
      <chapterinfo>
            <keywordset>
                  <keyword>RichFaces</keyword>
                 
            </keywordset>
      </chapterinfo>
      <title>Getting started</title>
	  
	<section>
       <title>Environment configuration</title>
       <para>
             The working version of the application is available online(?). 
             Those who wish to rimmage and touch the source code form inside can dowload the project from repository and deploy it locally. 
             Following should be installed and configured to start working with project source: 
       </para>
             
             <itemizedlist>
                   <listitem><para>JDK 1.5 and higher</para></listitem>
                   <listitem><para>Maven 2.0.9</para></listitem>
                   <listitem><para>JBDS (or Eclipse)</para></listitem>
                   <listitem><para>JBoss Server 4.2.3</para></listitem>
                   <listitem><para>SVN client </para></listitem>
                   <listitem><para>Browser</para></listitem>                  
             </itemizedlist>
	</section>
	
	<section>
       <title>Installation</title>
       <para>Do the following steps for downloading and installing the Real World demo.</para>
             
             <itemizedlist>
                   <listitem><para><literallayout><emphasis>Checkout the project using installed SVN client</emphasis>.
				   URL of repository: <code>https://svn.jboss.org/repos/richfaces/trunk/test-applications/realworld/</code></literallayout></para></listitem>.
                   <listitem><para><emphasis>Build the project</emphasis>. Open command line, point to the folder with checkouted project and tell Maven: <code>mvn clean install eclipse:eclipse</code>.</para></listitem>
                   <listitem><para><emphasis>Import the project into your IDE</emphasis>. Steps to do for JBDS users: click <code>File</code> -> <code>Import</code> and select <code>Existing project into Workspace</code> as import source; in <code>Import Project</code> window click <code>Browse</code> button and point to the realworld project folder; сlick <code>OK</code>.  Three SNAPSHOTS (ear, ejb, web) should appear in <code>Projects</code> area. Checkmark them all and click <code>Finish</code>. These projects should appear in JBDS <code>Package Explorer</code> window.</para></listitem>
                   <listitem><para><emphasis>Register the pass to project images</emphasis>. Open project <code>web.xml</code> file (<code>realworld-web-1.0-SNAPSHOT/src/main/webapp/WEB-INF/web.xml</code>) and change <code>uploadRoot</code> parameter value from <code>E:/Andrey/Upload/</code> to yours e.g. <code>D:/realworld/Upload/</code>.</para></listitem>
                   <listitem><para><emphasis>Run realworld-ear-1.0-SNAPSHOT</emphasis> on the <code>JBoss 4.2. Server</code> under 3 Runtime (those who prefer manual job should deploy and start <code>realworld.ear</code> file).</para></listitem>
                   <listitem><para>Browse to <code>http:/localhost:8080/realworld</code>.</para></listitem>                  
             </itemizedlist>
	


 </section>
 
      


  
</chapter>