Somewhere in the docs and tutorials I thought I had seen a description
of how to re-integrate one's customisations of the demo data back into the build/run-install process. I cannot seem to find that info again now. Is there a succinct procedure to * export the customised demo data * re-import this data into a clean install? regards, -Ryan |
I should rephrase this: how do you re-import from within the build-file
or from the cli? i can successfully re-import using the Entity Maintenance UI.... Ryan Sweet wrote: > Somewhere in the docs and tutorials I thought I had seen a description > of how to re-integrate one's customisations of the demo data back into > the build/run-install process. I cannot seem to find that info again > now. > > Is there a succinct procedure to > * export the customised demo data > * re-import this data into a clean install? > > regards, > -Ryan |
In reply to this post by ryan-116
Add a entity-resource entry of type "data" and reader-name as "ext" in
ofbiz-components.xml of your application. For example: <entity-resource type="data" reader-name="ext" loader="main" location="data/GeoData_IN.xml"/> And run the "run-install-extseed" ant target instead of "run-install". This should load your modified data along with the seed data and without any demo data. Hope this helps. Raj Ryan Sweet wrote: > Somewhere in the docs and tutorials I thought I had seen a description > of how to re-integrate one's customisations of the demo data back into > the build/run-install process. I cannot seem to find that info again > now. > > Is there a succinct procedure to > * export the customised demo data > * re-import this data into a clean install? > > regards, > -Ryan > |
Thanks, that works great!
Raj Saini wrote: > Add a entity-resource entry of type "data" and reader-name as "ext" > in ofbiz-components.xml of your application. For example: > > <entity-resource type="data" reader-name="ext" loader="main" > location="data/GeoData_IN.xml"/> > > And run the "run-install-extseed" ant target instead of "run-install". > > This should load your modified data along with the seed data and > without any demo data. > > Hope this helps. > > > Raj > > Ryan Sweet wrote: >> Somewhere in the docs and tutorials I thought I had seen a >> description of how to re-integrate one's customisations of the demo >> data back into the build/run-install process. I cannot seem to find >> that info again now. >> >> Is there a succinct procedure to >> * export the customised demo data >> * re-import this data into a clean install? >> >> regards, >> -Ryan >> > |
Administrator
|
In reply to this post by rajsaini
Thanks Raj,
I put your advice as a tip in http://docs.ofbiz.org/pages/editpage.action?pageId=1379#FAQ-Tips-Tricks-Cookbook-HowTo-DataBase Jacques From: "Raj Saini" <[hidden email]> > Add a entity-resource entry of type "data" and reader-name as "ext" in > ofbiz-components.xml of your application. For example: > > <entity-resource type="data" reader-name="ext" loader="main" > location="data/GeoData_IN.xml"/> > > And run the "run-install-extseed" ant target instead of "run-install". > > This should load your modified data along with the seed data and without > any demo data. > > Hope this helps. > > > Raj > > Ryan Sweet wrote: >> Somewhere in the docs and tutorials I thought I had seen a description >> of how to re-integrate one's customisations of the demo data back into >> the build/run-install process. I cannot seem to find that info again >> now. >> >> Is there a succinct procedure to >> * export the customised demo data >> * re-import this data into a clean install? >> >> regards, >> -Ryan >> > |
Thanks Jacques for putting it on Wiki.
Raj Jacques Le Roux wrote: > Thanks Raj, > > I put your advice as a tip in > http://docs.ofbiz.org/pages/editpage.action?pageId=1379#FAQ-Tips-Tricks-Cookbook-HowTo-DataBase > > > Jacques > > From: "Raj Saini" <[hidden email]> >> Add a entity-resource entry of type "data" and reader-name as "ext" >> in ofbiz-components.xml of your application. For example: >> >> <entity-resource type="data" reader-name="ext" loader="main" >> location="data/GeoData_IN.xml"/> >> >> And run the "run-install-extseed" ant target instead of "run-install". >> >> This should load your modified data along with the seed data and >> without any demo data. >> >> Hope this helps. >> >> >> Raj >> >> Ryan Sweet wrote: >>> Somewhere in the docs and tutorials I thought I had seen a >>> description of how to re-integrate one's customisations of the demo >>> data back into the build/run-install process. I cannot seem to find >>> that info again now. >>> >>> Is there a succinct procedure to >>> * export the customised demo data >>> * re-import this data into a clean install? >>> >>> regards, >>> -Ryan >>> >> > |
Free forum by Nabble | Edit this page |