hello
i have configured my ofbiz appplication pointing to MYSQL. Now everytime i run 'ant run-install' it adds all the demo products to ofbiz database as mentioned in build file. Please help me to configure my application such that those service wont be called which adds demo products to database even if i run ant run-install. Thanks in advance for your kind suggestion. |
Administrator
|
I think you want to use ant run-install-seed
You may also try to use ant -p to list all targets But best would certainly to begin by looking into the documentation. Unfortutnately, due to an attack to an ASF server last week, it's still not available. Should be soon, refer to this link to follow http://monitoring.apache.org/status/#SERVICEDOWNTIME Jacques From: <[hidden email]> > hello > i have configured my ofbiz appplication pointing to MYSQL. Now > everytime i run 'ant run-install' it adds all the demo products to ofbiz > database as mentioned in build file. Please help me to configure my > application such that those service wont be called which adds demo products > to database even if i run ant run-install. Thanks in advance for your kind > suggestion. > -- > View this message in context: http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1836946.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by asitkumar.roy@tcs.com
Hi,
just check your entityengine.xml again there is <read-data reader-name="seed"/> sub tag of your delegator. and change install-containers.xml inside base/config folder There is <property name="delegator-name" value="default"/> change value with your delegator name. Then try with ant run-install Regards Anurag Walia |
In reply to this post by asitkumar.roy@tcs.com
Hi
You can do one thing, go to specialpurpose/ecommerce/data/DemoProduct.xml and comment out the products from there also check if these products are used in any other data file, if so u will have to comment them as well. Other associated data files are DemoProductImages.xml, DemoRentalProduct.xml, check for others if problem occurs in data loading. If you want to completely clean the demo data go to ofbiz-component.xml and comment loading of files with type "data" and add your own data files. -----Original Message----- From: [hidden email] [mailto:[hidden email]] Sent: Monday, April 12, 2010 4:25 PM To: [hidden email] Subject: Ofbiz demo product elimination hello i have configured my ofbiz appplication pointing to MYSQL. Now everytime i run 'ant run-install' it adds all the demo products to ofbiz database as mentioned in build file. Please help me to configure my application such that those service wont be called which adds demo products to database even if i run ant run-install. Thanks in advance for your kind suggestion. -- View this message in context: http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1836946.html Sent from the OFBiz - User mailing list archive at Nabble.com. ______________________________________________________________________ This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. ______________________________________________________________________ |
In reply to this post by Anurag Walia
Thanks Anurag
but what delegator name should i use as the delegator is provide in EntityDataLoadContainer.java. Do i need to write my own delegator |
Thanks for ur valuable reply. entity-name="EmplLeave" this is new entity created in default database Regards Anurag Walia Date: Wed, 14 Apr 2010 23:32:37 -0800 From: [hidden email] To: [hidden email] Subject: Re: Ofbiz demo product elimination Thanks Anurag but what delegator name should i use as the delegator is provide in EntityDataLoadContainer.java. Do i need to write my own delegator
View message @ http://n4.nabble.com/Ofbiz-demo-product-elimination-tp1836946p1862062.html
To unsubscribe from Re: Ofbiz demo product elimination, click here. The latest auto launches and test drives Drag n' drop |
Free forum by Nabble | Edit this page |