This commit is contained in:
Keith Donald
2008-04-28 12:16:31 +00:00
parent d01261a61c
commit 23847f42c2
2 changed files with 61 additions and 28 deletions

View File

@@ -8,14 +8,30 @@
* jsf-booking: Traditional JSF-based implementation; here to support comparison with "booking-faces"
*/
[*] Sample pre-requisites:
Sample pre-requisites:
----------------------
* JDK 1.5 or > must be installed and in your system path
* Ant 1.7 or > must be installed and in your system path
[*] To build the samples:
To build the samples:
---------------------
1. cd to the ../build-spring-webflow directory
2. run 'ant' to produce deployable .war files for all samples
Built .war files are placed in target/artifacts within each sample directory.
2. run 'ant' to build the Spring Web Flow projects and the main-line "booking-faces" and "booking-mvc" sample projects.
Built .war files are placed in the target/artifacts directory of each sample.
3. After running the master build, you may also cd to any sample directory and run 'ant jar' to build the sample manually.
To import Web Flow projects into Eclipse:
-----------------------------------------
1. Use the Eclipse IDE for Java EE developers, version 3.3 or above.
Creating a dedicated workspace for importing Web Flow projects is recommended.
2. Use the 'File -> Import -> Existing Projects into Workspace' wizard to import the Web Flow projects into Eclipse.
3. The projects will not compile initially as Eclipse will not be able to find dependent libraries.
To compile, define a IVY_CACHE classpath variable pointing to the local artifact repository created by the Web Flow build.
To do this, access 'Preferences -> Java -> Build Path -> Classpath Variables'.
Then select 'New...'; enter IVY_CACHE for the Name and select the 'projects/ivy-cache/repository' Folder as the path.
3. After the projects compile within Eclipse, run a sample web project on your local server by right-clicking on it and selecting 'Run on Server'.