commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1411921&view=rev
Log:
add building info

Added:
    commons/sandbox/privilizer/trunk/src/site/markdown/building.md
Modified:
    commons/sandbox/privilizer/trunk/src/site/site.xml

Added: commons/sandbox/privilizer/trunk/src/site/markdown/building.md
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/src/site/markdown/building.md?rev=1411921&view=auto
==============================================================================
--- commons/sandbox/privilizer/trunk/src/site/markdown/building.md (added)
+++ commons/sandbox/privilizer/trunk/src/site/markdown/building.md 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
URL: http://svn.apache.org/viewvc/commons/sandbox/privilizer/trunk/src/site/site.xml?rev=1411921&r1=1411920&r2=1411921&view=diff
==============================================================================
--- 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>
     <menu ref="modules" />
   </body>



Mime
View raw message