svn commit: r733624 - /ofbiz/trunk/applications/party/ofbiz-component.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r733624 - /ofbiz/trunk/applications/party/ofbiz-component.xml

hansbak-2
Author: hansbak
Date: Sun Jan 11 21:01:01 2009
New Revision: 733624

URL: http://svn.apache.org/viewvc?rev=733624&view=rev
Log:
change sheduled jobs to seed data

Modified:
    ofbiz/trunk/applications/party/ofbiz-component.xml

Modified: ofbiz/trunk/applications/party/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/ofbiz-component.xml?rev=733624&r1=733623&r2=733624&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/party/ofbiz-component.xml Sun Jan 11 21:01:01 2009
@@ -29,7 +29,7 @@
     <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/PartyTypeData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/PartySecurityData.xml"/>
-    <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/ScheduledJobs.xml"/>
+    <entity-resource type="data" reader-name="seed" loader="main" location="data/ScheduledJobs.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_view.xml"/>
     <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>


Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r733624 - /ofbiz/trunk/applications/party/ofbiz-component.xml

jonesde

Hans,

Could explain why you made this change?

Generally we want things like scheduled jobs to be loaded once and not  
every time a software update is done, meaning it should be in seed-
initial and not in seed.

For more information on the different data readers, check out the  
build.xml file in the ofbiz.home directory, specifically the comments  
for the run-install-seed, run-install-extseed, and run-install-exttest  
targets. To help clarify this I have also added more comments to the  
entityengine.xml file where these are declared.

Unless there is a good reason for this change that I'm missing, and  
you understand all of this, please revert it (or I can certainly do it  
too).

-David


On Jan 11, 2009, at 9:01 PM, [hidden email] wrote:

> Author: hansbak
> Date: Sun Jan 11 21:01:01 2009
> New Revision: 733624
>
> URL: http://svn.apache.org/viewvc?rev=733624&view=rev
> Log:
> change sheduled jobs to seed data
>
> Modified:
>    ofbiz/trunk/applications/party/ofbiz-component.xml
>
> Modified: ofbiz/trunk/applications/party/ofbiz-component.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/ofbiz-component.xml?rev=733624&r1=733623&r2=733624&view=diff
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- ofbiz/trunk/applications/party/ofbiz-component.xml (original)
> +++ ofbiz/trunk/applications/party/ofbiz-component.xml Sun Jan 11  
> 21:01:01 2009
> @@ -29,7 +29,7 @@
>     <entity-resource type="model" reader-name="main" loader="main"  
> location="entitydef/entitymodel.xml"/>
>     <entity-resource type="data" reader-name="seed" loader="main"  
> location="data/PartyTypeData.xml"/>
>     <entity-resource type="data" reader-name="seed" loader="main"  
> location="data/PartySecurityData.xml"/>
> -    <entity-resource type="data" reader-name="seed-initial"  
> loader="main" location="data/ScheduledJobs.xml"/>
> +    <entity-resource type="data" reader-name="seed" loader="main"  
> location="data/ScheduledJobs.xml"/>
>     <service-resource type="model" loader="main"  
> location="servicedef/services.xml"/>
>     <service-resource type="model" loader="main"  
> location="servicedef/services_view.xml"/>
>     <service-resource type="eca" loader="main" location="servicedef/
> secas.xml"/>
>
>