Good point Adam, corrected in revision 1346713

Regards,
Hans

On 06/05/2012 11:15 PM, Adam Heath wrote:
On 06/05/2012 02:35 AM, hans...@apache.org wrote:
Author: hansbak
Date: Tue Jun  5 07:35:26 2012
New Revision: 1346269

URL: http://svn.apache.org/viewvc?rev=1346269&view=rev
Log:
enable tenant demo data

Modified:
     ofbiz/trunk/framework/entity/ofbiz-component.xml

Modified: ofbiz/trunk/framework/entity/ofbiz-component.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/ofbiz-component.xml?rev=1346269&r1=1346268&r2=1346269&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/entity/ofbiz-component.xml Tue Jun  5 07:35:26 2012
@@ -34,7 +34,7 @@ under the License.
      <!-- these are for unit testing -->
      <entity-resource type="model" reader-name="main" loader="main" 
location="entitydef/entitymodel_test.xml"/>

-<!--entity-resource type="data" reader-name="tenant" loader="main" 
location="data/TenantDemoData.xml"/-->
+<entity-resource type="data" reader-name="tenant" loader="main" 
location="data/TenantDemoData.xml"/>
No.  It's demo data, never load it in *anything* that doesn't have a
reader-name pattern of '*demo*'.

Add a new reader, tenant-demo, or some such.  Add depdendancies on
data reader names, if needed.

If the data is not demo data, then the name of the file is wrong.

Reply via email to