adrian: david made a specific comment to use the long line with delegator=default so would it not be a good Idea to included in the script?
========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> adri...@apache.org sent the following on 4/2/2010 9:44 PM: > 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"> > > >