Author: jonesde
Date: Tue Jun 26 09:43:56 2007
New Revision: 550848
URL:
http://svn.apache.org/viewvc?view=rev&rev=550848Log:
Added ext-test data reader for ext data files that are used for testing only and not for production; the main reason for using this instead of demo is that it is often necessary for custom installations to make sure the tests will run without the demo data which is not generally used in production; so, production gets extseed (seed, ext) and pre-production testing gets exttest (seed, ext, ext-test)
Modified:
ofbiz/trunk/build.xml
ofbiz/trunk/framework/entity/config/entityengine.xml
Modified: ofbiz/trunk/build.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?view=diff&rev=550848&r1=550847&r2=550848==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Tue Jun 26 09:43:56 2007
@@ -234,6 +234,13 @@
<arg value="readers=seed,ext"/>
</java>
</target>
+ <target name="run-install-exttest" depends="build">
+ <java jar="ofbiz.jar" fork="true">
+ <jvmarg value="${memory.max.param}"/>
+ <arg value="install"/>
+ <arg value="readers=seed,ext,ext-test"/>
+ </java>
+ </target>
<target name="run-debug" depends="build">
<java jar="ofbiz.jar" fork="true">
<jvmarg value="${memory.max.param}"/>
Modified: ofbiz/trunk/framework/entity/config/entityengine.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/config/entityengine.xml?view=diff&rev=550848&r1=550847&r2=550848==============================================================================
--- ofbiz/trunk/framework/entity/config/entityengine.xml (original)
+++ ofbiz/trunk/framework/entity/config/entityengine.xml Tue Jun 26 09:43:56 2007
@@ -77,7 +77,8 @@
<entity-data-reader name="seed"/>
<entity-data-reader name="demo"/>
<entity-data-reader name="ext"/>
-
+ <entity-data-reader name="ext-test"/>
+
<field-type name="hsql" loader="fieldfile" location="fieldtypehsql.xml"/>
<field-type name="derby" loader="fieldfile" location="fieldtypederby.xml"/>
<field-type name="cloudscape" loader="fieldfile" location="fieldtypecloudscape.xml"/>