From dcb7156773d4916e93ab7d1d366b2f0ca2268a24 Mon Sep 17 00:00:00 2001
From: Luke Taylor
Date: Sun, 9 Sep 2007 22:24:29 +0000
Subject: [PATCH] Corrected build description. You need to run mvn install for
the entire project or the contacts sample won't run because the parent
project isn't in the repository. Improved the text a bit too.
---
src/site/xdoc/building.xml | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/site/xdoc/building.xml b/src/site/xdoc/building.xml
index dd91badf51..5cdfa6b8e8 100644
--- a/src/site/xdoc/building.xml
+++ b/src/site/xdoc/building.xml
@@ -17,17 +17,16 @@
for their projects. They want to deploy a sample application, and that's about it
(after all, all the reference documentation can be read online at
http://acegisecurity.org).
- In this case, execute:
+ Assuming you've already checked out the code from subversion, start up a command prompt and
+ execute the following commands from the directory containing the project source:
- cd $ACEGI_SECURITY/core (or cd %ACEGI_SECURITY%/core on Windows)
mvn install
- cd $ACEGI_SECURITY/samples/contacts
- mvn package
+ cd samples/contacts
mvn jetty:run
- This should build main framework library, build the sample application and run the "contacts" sample application
- using the maven jetty plugin (JDK 1.5 or later is required to run the Jetty plugin).
+
This should build the framework lirary jars, install them to your local maven repository and run the "contacts"
+ sample application using the maven jetty plugin (JDK 1.5 or later is required to run the Jetty plugin).
You should then be able to point your browser at
http://localhost:8080/contacts/ to use the application.