commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1411921 - in /commons/sandbox/privilizer/trunk/src/site: markdown/ site.xml
Date Tue, 20 Nov 2012 23:25:59 GMT
Author: mbenson
Date: Tue Nov 20 23:25:58 2012
New Revision: 1411921

add building info


Added: commons/sandbox/privilizer/trunk/src/site/markdown/
--- commons/sandbox/privilizer/trunk/src/site/markdown/ (added)
+++ commons/sandbox/privilizer/trunk/src/site/markdown/ Tue Nov 20 23:25:58 2012
@@ -0,0 +1,20 @@
+Commons Privilizer is built using Maven 3 in typical fashion.  Things to know:
+### Testing with security enabled
+Since the whole point of the Privilizer relates to Java security, it is only
+natural that its tests be executable with Java security enabled. It is also
+reasonable to test without security enabled, to show that your code works as
+always.  The `example` and `ant/test` modules each have a `sec` profile defined;
+You can run their tests with this profile enabled to turn on Java security.
+### Antlib Test module
+Located at `ant/test`, this module\'s tests are implemented by unpacking the
+source of the `example` module and reusing it.  For this reason, the
+`example` module must have been packaged previously to executing the `ant/test`
+tests, so in a multimodule build you should at least specify the `package`
+phase of the default lifecycle.  Alternatively, you can disable this module\'s
+tests by deactivating the profile in which they are set up: `antlib-test`.
+Similarly, when building the project site you should deactivate the
+`antlib-test` profile, to stop this module's tests from requiring the
+`example` module to have been previously packaged. 

Modified: commons/sandbox/privilizer/trunk/src/site/site.xml
--- commons/sandbox/privilizer/trunk/src/site/site.xml (original)
+++ commons/sandbox/privilizer/trunk/src/site/site.xml Tue Nov 20 23:25:58 2012
@@ -31,6 +31,7 @@
     <menu name="Development">
       <item name="Team" href="/team-list.html"/>
       <item name="SVN" href="/source-repository.html"/>
+      <item name="Building" href="/building.html"/>
     <menu ref="modules" />

View raw message