David,
I did this because i suspected that the data has been changed. and
anyhow when the data will be updated in the future it will simply
overwrite what is there? so what is the harm having it in seed data?
It is an essential part of the system....other wise mail will not go
out...if it is not used it will do no harm and hardly takes any system
resources. So i think there is a good reason for doing this.

i also saw that the scheduled job for fixed assets also is in seed
data...

regards,
Hans


On Sun, 2009-01-11 at 21:18 -0800, David E Jones wrote:
> 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, hans...@apache.org 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"/>
> >
> >
> 
-- 
Antwebsystems.com: Quality OFBiz services for competitive prices

Reply via email to