You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2012/05/09 23:57:31 UTC

svn commit: r1336420 - /ofbiz/trunk/build.xml

Author: doogie
Date: Wed May  9 21:57:31 2012
New Revision: 1336420

URL: http://svn.apache.org/viewvc?rev=1336420&view=rev
Log:
FEATURE: Add gen-kek ant target.

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1336420&r1=1336419&r2=1336420&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Wed May  9 21:57:31 2012
@@ -1229,6 +1229,21 @@ under the License.
     </target>
 
     <!-- ================================================================== -->
+    <!-- kek helper                                                         -->
+    <!-- ================================================================== -->
+
+    <target name="gen-kek" 
+            description="Generate a new key-encrypting-key for use in entityengine.xml">
+        <java classname="org.ofbiz.base.crypto.Main" fork="false">
+            <arg value="-kek"/>
+            <classpath>
+                <path location="framework/base/build/lib/ofbiz-base.jar"/>
+                <path location="framework/base/lib/commons/commons-codec-1.4.jar"/>
+            </classpath>
+        </java>
+    </target>
+
+    <!-- ================================================================== -->
     <!-- Old tasks.                                                         -->
     <!-- ================================================================== -->
     <target name="run">