<div dir="ltr"><div><div><div><div><div>This is indeed a limitation of sharing a model JAR across two guvnor (5.5) installations.<br><br></div>If duplicating the JAR in different guvnor installations is not an option; then you need to look at using a single repository, adding the JAR to &quot;Global Area&quot; and sharing into different packages.<br>
<br></div>One package could be equivalent to &quot;base&quot; and another to &quot;custom&quot;. You should be able to restrict access to the packages by setting up the appropriate security.<br><br></div>If your current &quot;base&quot; and &quot;custom&quot; installation contain many packages then the above line becomes more cumbersome.<br>
<br></div>6.0 doesn&#39;t have this limitation. You can upload the model JAR to a central repository and import it into different projects.<br><br></div>With kind regards,<br><br>Mike<br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On 29 October 2013 10:27, Soumya.plavaga <span dir="ltr">&lt;<a href="mailto:soumya.bose@plavaga.in" target="_blank">soumya.bose@plavaga.in</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Mantis for the quick reply. I have updated my query.<br>
<br>
We have a multi-tenant application. We need to maintain a common set of base<br>
rules that will be applicable to all our tenants and then We have few rules<br>
that will be per tenant specific. For this, we have created two guvnor<br>
repositories, one having a base set of rules with models and another having<br>
custom rules. We will be having one repo of second type of repo per tenant.<br>
<br>
But the problem with this approach is:<br>
- if we have models in both the repo types, then there will be duplicates<br>
when we import the repos into kbase.<br>
- if we have models only in base repo, then we can not compile the rules<br>
within custom type repos due to failed model dependency.<br>
<br>
<br>
I would like to know, if this is the right approach or there is another way<br>
to accomplish the same? We are using drools-guvnor version 5.5.Final.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-5-5-0-Final-How-do-we-maintain-two-repo-with-rules-in-one-repo-depending-on-another-repo-s-mo-tp4026541p4026547.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-5-5-0-Final-How-do-we-maintain-two-repo-with-rules-in-one-repo-depending-on-another-repo-s-mo-tp4026541p4026547.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div>