Re: [rules-users] import data model to eclipse

2010-09-30 Thread fionali
resolved. need specify 'import com.sample.aes.cpm.sample' rather than 'import com.sample.aes.cpm.*' -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/import-data-model-to-eclipse-tp1606966p1607163.html Sent from the Drools - User mailing list archive at

Re: [rules-users] Matching strings in two arrays

2010-09-30 Thread Wolfgang Laun
You could define a new operator (similar to contains or memberOf) that tests whether a field - a set of values - is a subset of a another set of values. See my home page for a full recipe: http://members.inode.at/w.laun/ The code given there is for both sides being java.util.Collection.

[rules-users] Using CGLIB BeanGenerator as fact object

2010-09-30 Thread Kumar Pandey
I'm exploring the possibility of using a dynamic bean as fact object as my fact object is very dynamic in nature. I came across posts where people had recommended using BeanGenerator from CGLIB. This blog does a very good job of explaining the details of classloader etc.

Re: [rules-users] Drools Flow Events Not Working

2010-09-30 Thread jawa
Finally I've fixed the problem Exception in thread main java.lang.NoSuchMethodError: org.drools.runtime.StatefulKnowledgeSession.execute(Lorg/drools/command/Command;)Lorg/drools/runtime/ExecutionResults; It was caused because I was compiling my code against drools version 5.1.0 and was

Re: [rules-users] Drools flow variables don't get passed to sub process?

2010-09-30 Thread jawa
Figured it out it was an easy one, it needs in/out parameter mapping. Thanks -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-flow-variables-don-t-get-passed-to-sub-process-tp1609297p1609409.html Sent from the Drools - User mailing list archive at

Re: [rules-users] 5.1.1 import com.sun.tools.xjc

2010-09-30 Thread Mark Proctor
On 30/09/2010 16:19, Barry Kaplan wrote: It seems that KnowledgeBuilderFactory in api now has a dependency on these sun packages. However the pom declares them as provided. This seems to imply that drools will only be run in some kind of app-server?? I had to manually add a bunch of

Re: [rules-users] Drools Flow process question...

2010-09-30 Thread drooRam
Hmm that one, i believe to persist the variables during the process flow. so you can work later on the persisted variable based on your use case. sometime you need to halt the process for any approval or some other event, then resume it once the event is triggered, so that time you would be

Re: [rules-users] Drools Flow process question...

2010-09-30 Thread drooRam
another example: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-flow-variables-don-t-get-passed-to-sub-process-td1609297.html#a1609297 he mentioned that he is using the variable in subflow you can set it using IN/OUT param, registered variable thus can be passed to subflow in

Re: [rules-users] Drools Flow Events Not Working - FIXED

2010-09-30 Thread drooRam
just updating the subject to Fixed, so that it wud be helpful for other users to directly look for solution. -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1610992.html Sent from the Drools - User mailing

Re: [rules-users] Using CGLIB BeanGenerator generated instance as fact object

2010-09-30 Thread kpandey
Digging further I found that 5.x version supports Declared Types. However it seems that it is only limited to primitives and Classes right now. I got a simple sample with primitives working. However I have a need to pass an array of string as a instance variable. Is this possible right now?