Re: [rules-users] Guvnor - more than one resource in changeset.xml

2013-08-28 Thread rganesh84
Hi, Thanks for the reply. I understand that. However the below line is going to fire rules in all the packages. kagent.applyChangeSet(ResourceFactory.newClassPathResource("guvnor-tomcat-single-changeset.xml")); Is there a possibility to specify the package to fire rules. For instance, Java

[rules-users] Guvnor - more than one resource in changeset.xml

2013-08-27 Thread rganesh84
I have 2 packages in Guvnor UI having different set of rule assets in it. pkg1 -> UI rules pkg2 -> Business rules In the java application code base, is it mandatory to have 2 change set xmls with different package contents? [Java] // for UI rules kagent.applyChangeSet(ResourceFactory.newClassPat

[rules-users] Guvnor - Unable to fire rules from standalone java

2013-08-08 Thread rganesh84
I am new to drools and even more new to Guvnor. I have a below code with simple rules (just 2) which doesn't work as expected, any help would be greatly appreciated. I attempted to copy the contents of guvnor generated drl file to a local drl file and tested with drools expert, it works well. F

[rules-users] Pattern matching rules

2013-07-24 Thread rganesh84
I was just wondering if there is a pattern matcher available in drools. Below is a sample rule "Action Movies" dialect "java" when ui : UserInfo(likes contains "Action") then List sw = new ArrayList(); sw.add("Die Hard"); sw.a

Re: [rules-users] Iterating string objects inside Arraylist

2013-07-17 Thread rganesh84
Thank you guys! it worked for me. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Iterating-string-objects-inside-Arraylist-tp4024954p4025028.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___