There is an unimplemented <depends-on> tag in ofbiz-component.xsd that I've been meaning to add support for which would solve this problem. It's not a trivial implementation though because at the moment components are loaded as they are located while this feature would require them all to be located first and then reordered and loaded.
Regards Scott HotWax Media http://www.hotwaxmedia.com On 19/02/2011, at 5:31 AM, Bruno Busco wrote: > Hi, > is in the framework any tool to set the order in which the hot-deploy > components are loaded? > I have created two components in the hot-deploy folder. > > The first component loads some extseed in the database and the second > component loads some other extseed that depends on the first one. > > Unfortunately the order on which they are loaded when I use the ant > run-install-extseed command is the alphabetic order and the second one is > loaded before the first resulting in a foreign-key error. > > How can I fix this? > > Thank you, > Bruno
smime.p7s
Description: S/MIME cryptographic signature
