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.

This commit is contained in:
Luke Taylor 2007-09-09 22:24:29 +00:00
parent 70a0e54282
commit dcb7156773
1 changed files with 5 additions and 6 deletions

View File

@ -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
<a href="http://acegisecurity.org">http://acegisecurity.org</a>).
In this case, execute:</p>
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:</p>
<ol>
<pre>cd $ACEGI_SECURITY/core (or cd %ACEGI_SECURITY%/core on Windows)</pre>
<pre>mvn install</pre>
<pre>cd $ACEGI_SECURITY/samples/contacts</pre>
<pre>mvn package</pre>
<pre>cd samples/contacts</pre>
<pre>mvn jetty:run</pre>
</ol>
<p>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).
<p>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
<a href="http://localhost:8080/contacts/">http://localhost:8080/contacts/</a> to use the application.
</p>