You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2010/04/03 06:44:13 UTC

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

Author: adrianc
Date: Sat Apr  3 04:44:13 2010
New Revision: 930471

URL: http://svn.apache.org/viewvc?rev=930471&view=rev
Log:
Added run-install-multitenant ant target to make it easier to set up the multi-tenancy demo.

Caution: this creates three databases, with each one loaded with all demo data. Be aware of disk space use and the time required to run the task.

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=930471&r1=930470&r2=930471&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Sat Apr  3 04:44:13 2010
@@ -350,6 +350,29 @@ under the License.
             <arg value="install"/>
         </java>
     </target>
+    <target name="run-install-multitenant" depends="build"
+            description="This loads all data needed for the multi-tenancy demonstration">
+        <java jar="ofbiz.jar" fork="true">
+            <jvmarg value="${memory.initial.param}"/>
+            <jvmarg value="${memory.max.param}"/>
+            <jvmarg value="${memory.maxpermsize.param}"/>
+            <arg value="install"/>
+        </java>
+        <java jar="ofbiz.jar" fork="true">
+            <jvmarg value="${memory.initial.param}"/>
+            <jvmarg value="${memory.max.param}"/>
+            <jvmarg value="${memory.maxpermsize.param}"/>
+            <arg value="install"/>
+            <arg value="delegator=default#DEMO1"/>
+        </java>
+        <java jar="ofbiz.jar" fork="true">
+            <jvmarg value="${memory.initial.param}"/>
+            <jvmarg value="${memory.max.param}"/>
+            <jvmarg value="${memory.maxpermsize.param}"/>
+            <arg value="install"/>
+            <arg value="delegator=default#DEMO2"/>
+        </java>
+    </target>
     <target name="run-install-seed" depends="build"
             description="This loads ONLY the seed data (not seed-initial, demo, ext* or anything else); meant for use after an update of the code to reload the seed data as it is generally maintained along with the code and needs to be in sync for operation">
         <java jar="ofbiz.jar" fork="true">