building.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <document>
  3. <properties><title>Building</title></properties>
  4. <body>
  5. <section name="Building Acegi Security System">
  6. <subsection name="Checking Out from Subversion (SVN)">
  7. <p>This project uses <a href="http://maven.apache.org">Maven</a> as project manager
  8. and build tool. We recommend you to install Maven 2.0.5 or greater before trying
  9. the following. <b>Note there are workarounds at the bottom of this page.</b></p><p>To checkout Acegi Security from SVN, see our
  10. <a href="cvs-usage.html">CVS Usage</a> page.</p>
  11. </subsection>
  12. <subsection name="Quick Build"><p>Often people reading this document just want to see if Acegi Security will work
  13. for their projects. They want to deploy a sample application, and that's about it
  14. (after all, all the reference documentation can be read online at
  15. <a href="http://acegisecurity.org">http://acegisecurity.org</a>).
  16. In this case, execute:</p>
  17. <ol>
  18. <pre>cd $ACEGI_SECURITY/core (or cd %ACEGI_SECURITY%/core on Windows)</pre>
  19. <pre>mvn install</pre>
  20. <pre>cd $ACEGI_SECURITY/samples/contacts</pre>
  21. <pre>mvn package</pre>
  22. <pre>mvn jetty:run</pre>
  23. </ol>
  24. <p>This should build main framework library, build the sample application and run the "contacts" sample application
  25. using the maven jetty plugin. You should then be able to point your browser at
  26. <a href="http://localhost:8080/contacts/">http://localhost:8080/contacts/</a> to use the application.
  27. </p>
  28. </subsection>
  29. </section>
  30. </body>
  31. </document>