Re: [rules-users] Debuggin in Eclipse

2009-12-07 Thread Ross H
Using a FileInputStream works for me with a non standard folder structure. Are all your folders on the eclipse build path? chris richmond-2 wrote: > > Ok, I have a project working with Eclipse Galileo 3.5.1 and it works fine. > I > can create new drools projects and they debug fine with the Dro

[rules-users] Debuggin in Eclipse

2009-12-07 Thread chris richmond
Ok, I have a project working with Eclipse Galileo 3.5.1 and it works fine. I can create new drools projects and they debug fine with the DroolsTest example. However I have a very larege existing project that does not use the src/main/java and src/main/rules src folder structure and the project run

Re: [rules-users] Multiple packages approach

2009-12-07 Thread Greg Barton
I know there are further emails where you settle on a multiple KB approach, but here's my advice at this stage: 1) If your rules involve tight integration between premium evaluations, then a single KB is preferable. i.e. While evaluating premium A and B for customer C, if the partial evaluati

Re: [rules-users] Multiple packages approach

2009-12-07 Thread Torfox
Excelent! Thanks for your input. I suppose separate KnowledgeBase-s are the best pattern in this scenario. I got the point, the the product identification is required since the rules are executed in the same space, no matter what package name is. This would complicate my rules a lot. When executi

Re: [rules-users] Multiple packages approach

2009-12-07 Thread Ross H
Funny you should mention that, I have not got my head around packages yet. Maybe it's just a namespace thing - I'm still learning. I think there may be two parts to this problem. How do your rules know that it is product x for the common customer information, I suppose you might have the product i

Re: [rules-users] Multiple packages approach

2009-12-07 Thread Torfox
Hi Ross, Thank your for your response. Here is a wider context of my application. I'm implementing insurance premium comparison system. So the system applies the same fact (customer information) to many sets of rules. Every set of rules represents a single insurance product. The result of execu