I would prefer a new attribute or element in the ofbiz-component.xml file that controls tenant loading of webapps/data.

-Adrian

On 9/5/2011 7:46 AM, Hans Bakker wrote:
Currently we have:

load-tenant-data-readers
        Loads data of given data-readers in the tenant database
run-tenant-install-file
        Loads the data of the tenant using the command line argument
        'file' to load data from a given file


How about adding an optional 'tenant' parameter to the:
./ant run-install
./ant run-install-seed
commands?

At the same time we would like to add a TenantComponent entity which
lists all components which are specific for a tenant.

The above 2 commands 'run-install' and run-install-seed will (when a
tenant is specified) import the requested data files from all components
which are not assigned to a tenant and data files of the components of
the requested tenant.

Please provide your input.

Reply via email to