<div>Thanks Jervis!!<br><br></div>
<div class="gmail_quote">On Sun, Feb 21, 2010 at 7:05 PM, Jervisliu <span dir="ltr"><<a href="mailto:jliu@redhat.com">jliu@redhat.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">A new feature called "Sharable artifacts/Global artifacts" will be<br>available in Drools 5.1. This feature allows you share an asset among<br>
different packages. It also creates a global area (you can consider it<br>as a global package). Potentially you can promote an asset that you<br>think is more appropriate to be defined in a global scope from your<br>current package to the global area, so that this global asset can be<br>
reused by every package. This feature is already on trunk, maybe you<br>want to give it a try. Any comments or feedbacks will be highly<br>appreciated.<br><br>Cheers,<br>Jervis<br>
<div>
<div></div>
<div class="h5"><br><br>Amit Kumar wrote:<br>> Hello All,<br>><br>> I am looking to organize the rules in different categories. But for<br>> distribution purposes We are creating packages for different<br>> roles/processing phases<br>
><br>> So a rule will reside in one pckage but for navigation it can belong<br>> to multiple categories<br>><br>> So packages are like Shirts, Pants, Shoes, Sweaters<br>> Categories are Color, Material, Size, Gender and those have sub<br>
> categories witin them<br>><br>> We have rules which will device the category of the item<br>> Like "red rule", "blue rule", "cloth rule", leather rule"<br>><br>> Now the problem we are facing is for category rules is if I define the<br>
> rule in Shirt package .. then I will not be able ot use it in Pant<br>> package.. Will have to redefine it.<br>><br>> The other problem in this scenario is If I have a price rule in Shirt<br>> package and the category is "Blue Color" and "XL Size" then I will<br>
> have to put it in both categories<br>> When I put the "Blue Rule" on "Blue Category" and "XL Rule" on "XL<br>> Category" and I put the rule in both categories.. will it be an "and"<br>
> relationship or will be an "OR"<br>><br>> Regards,<br>> Amit<br></div></div>> ------------------------------------------------------------------------<br>
<div>
<div></div>
<div class="h5">><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>
><br><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>