Hi
How to disable default entity creation or overridden of existing data in the database on ant run-install[build]. To avoid the same I am changing the default database to localderby instead of localoracle and building the application. Tell me know any other way to resolve this. Regards Prasanthi |
Administrator
|
Look in entityengine.xlm into your datasource
check-on-start="true" add-missing-on-start="true" ... Jacques From: "prasanthi_ofbiz" <[hidden email]> > Hi > How to disable default entity creation or overridden of existing data in the > database on ant run-install[build]. To avoid the same I am changing the > default database to localderby instead of localoracle and building the > application. > Tell me know any other way to resolve this. > Regards > Prasanthi > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/How-to-disable-default-entity-creation-on-ant-run-install-tp2298196p2298196.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by prasanthi_ofbiz
Simply use:
ant if you only want to rebuild the jars. ant run-install is for compiling and loading seed and demo data. Look at the main build file if you want to better understand the various targets. Regards Scott HotWax Media http://www.hotwaxmedia.com On 22/07/2010, at 6:36 PM, prasanthi_ofbiz wrote: > > Hi > How to disable default entity creation or overridden of existing data in the > database on ant run-install[build]. To avoid the same I am changing the > default database to localderby instead of localoracle and building the > application. > Tell me know any other way to resolve this. > Regards > Prasanthi > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/How-to-disable-default-entity-creation-on-ant-run-install-tp2298196p2298196.html > Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s (3K) Download Attachment |
In reply to this post by Jacques Le Roux
Hi Jacques ,
Thanks for u r great reply. I changed those conditions to check-on-start="false",add-missing-on-start="false" instead of check-on-start="true" add-missing-on-start="true". Still its creating the demo data. If I use ant command for build its not. Regards Prasanthi |
Hello Prasanthi,
"ant run-install loads all configured data; meant for generic OFBiz development, testing, demonstration, etc purposes", as Scott mentioned if you want to build the application then run ant or ant build, (build is default target) and if you want to load data then run appropriate target. Please read the build.xml of ofbiz project so you are more clear with ant target. comment inline : prasanthi_ofbiz wrote: > Hi Jacques , > Thanks for u r great reply. I changed those conditions to > check-on-start="false",add-missing-on-start="false" instead of > check-on-start="true" add-missing-on-start="true". Still its creating the > demo data. > If I use ant command for build its not. > use ant clean && ant build or use ant clean-all && ant build or ant refresh > Regards > Prasanthi > Thanks & Regards -- Deepak Dixit HotWax Media Pvt. Ltd. Website :- www.hotwaxmedia.com Contact :- +91-98267-54548 Skype Id :- deepakdixit |
Administrator
|
Yes, looks like we were not on the same page
Jacques From: "Deepak Dixit" <[hidden email]> > Hello Prasanthi, > > "ant run-install loads all configured data; meant for generic OFBiz > development, testing, demonstration, etc purposes", > as Scott mentioned if you want to build the application then run ant or > ant build, (build is default target) and if you want to load data then > run appropriate target. > > Please read the build.xml of ofbiz project so you are more clear with > ant target. > > comment inline : > > prasanthi_ofbiz wrote: >> Hi Jacques , >> Thanks for u r great reply. I changed those conditions to >> check-on-start="false",add-missing-on-start="false" instead of >> check-on-start="true" add-missing-on-start="true". Still its creating the >> demo data. >> If I use ant command for build its not. >> > > use ant clean && ant build > or > use ant clean-all && ant build or ant refresh > >> Regards >> Prasanthi >> > > > > Thanks & Regards > -- > Deepak Dixit > HotWax Media Pvt. Ltd. > Website :- www.hotwaxmedia.com > Contact :- +91-98267-54548 > Skype Id :- deepakdixit > |
Free forum by Nabble | Edit this page |