Re: [rules-users] Any news on Drools 5.1

2010-05-10 Thread Rohit Rai
Thanks for the update Mark! :) Can't wait to try it out . . . It is not there on the downloads page. The last release is 5.1M1. Can you point me to where I can download M2 release from? Regards, Rohit -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Any-ne

[rules-users] Rule salience vs salience of ruleflow executions?

2010-05-10 Thread H.C.
I have some maintenance/event rules in an auto-focus agenda group with a very high salience. These rules are supposed to kick in ASAP whenever their conditions become true. I have made sure their salience is the highest of all rules in our repository and they are not attributed to any ruleflow-gro

[rules-users] Apache commons sandbox dependencies

2010-05-10 Thread Dale Wyttenbach
Hi, I grabbed drools build 3895 and am trying to work it into our local environment. I see that drools-workitems has a dependency on an unreleased Apache project (commons-finder) which in turn has a dependency on another unreleased Apache project (commons-cli 2.x) The commons-finder dependency lo

Re: [rules-users] Any news on Drools 5.1

2010-05-10 Thread Mark Proctor
On 10/05/2010 19:08, Rohit Rai wrote: > It has been around 2 months since this update. > > Do we have anything new? Is there some major issue with the release? > > Can't we release a M2 if we are not yet ready for beta or final release? > M2 has been released, we just haven't announced it or pu

Re: [rules-users] Any news on Drools 5.1

2010-05-10 Thread Rohit Rai
It has been around 2 months since this update. Do we have anything new? Is there some major issue with the release? Can't we release a M2 if we are not yet ready for beta or final release? -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Any-news-on-Drools

Re: [rules-users] ClassCastException: org.drools.reteoo.RuleTerminalNode$TerminalNodeMemory cannot be cast to org.drools.reteoo.EvalConditionNode$EvalMemory

2010-05-10 Thread Paul Ryan
Edson, Any pointers here we're seeing this all over the place and it's starting to become a major problem I'm more than willing to do a merge build and test but I really need to know which thing it was that you did to try to fix this. Thank you very much, -- Paul Ryan On May 5, 2010, at 1:43

Re: [rules-users] how to create a list obj for a rule using 'memberOf'

2010-05-10 Thread Greg Barton
If you want to restrict to a series of literals you might check if the "in" operator is faster: rule "Filter File Types" salience 100 // prioritywhen FileType( type in ("ico","gif","jpg","mov","wmv","jpeg","css","bmp","avi","swf","png") ) then

Re: [rules-users] Mavenizing a new drools project

2010-05-10 Thread eyal edri
How come it started working when i added the missing jars? jxl.jar and xstream.jar? E. 2010/5/11 Salaboy > You need to move the rules inside /src/main/resources/ and maven will > include the rule file into the classpath automatically. > > - Ing. Mauricio Salatino - > > On May 10, 2010, at 8:21

Re: [rules-users] Mavenizing a new drools project

2010-05-10 Thread Esteban Aliverti
Ups, sorry! Salaboy is right. I forgot the *main *directory. 2010/5/11 Salaboy > You need to move the rules inside /src/main/resources/ and maven will > include the rule file into the classpath automatically. > > - Ing. Mauricio Salatino - > > On May 10, 2010, at 8:21, eyal edri wrote: > > I'm

Re: [rules-users] Mavenizing a new drools project

2010-05-10 Thread Salaboy
You need to move the rules inside /src/main/resources/ and maven will include the rule file into the classpath automatically. - Ing. Mauricio Salatino - On May 10, 2010, at 8:21, eyal edri wrote: I'm still having problem unfortunately.. :( i get a strange error that i didn't got before tur

[rules-users] FIXED: Mavenizing a new drools project

2010-05-10 Thread eyal edri
OK, I found 2 missing jars from the maven dependencies that appeared in the drools project, and apparantly are mandatory: jxl.jar xstream.jar both were available via the maven2 repo. Eyal. On Mon, May 10, 2010 at 2:21 PM, eyal edri wrote: > I'm still having problem unfortunately.. :( > > i g

Re: [rules-users] Mavenizing a new drools project

2010-05-10 Thread Esteban Aliverti
You can put your rules files under src/resources/xxx/yyy.drl and then do *kbuilder.add(ResourceFactory.newClassPathResource("xxx/yyy.drl"), ResourceType.DRL);* Best, 2010/5/10 eyal edri > I'm still having problem unfortunately.. :( > > i get a strange error that i didn't got before turning to

Re: [rules-users] Mavenizing a new drools project

2010-05-10 Thread eyal edri
I'm still having problem unfortunately.. :( i get a strange error that i didn't got before turning to maven: when running: *kbuilder.add(ResourceFactory.newClassPathResource("src/main/rules/sample.drl"), ResourceType.DRL);* this errors occurs: java.lang.RuntimeException: java.io.FileNotFoundExc

Re: [rules-users] Mavenizing a new drools project

2010-05-10 Thread eyal edri
OK, the eclipse maven plugin added those deps type as 'pom' instead of 'jar', so the drools jars weren't included. fixed that. thanks. On Mon, May 10, 2010 at 11:25 AM, eyal edri wrote: > OK, Still got problems. > > i've created a maven project, and all looks good in compile time (with all > t

Re: [rules-users] Insert Fact Speed bottleneck

2010-05-10 Thread djb
Thanks Mark, I don't have much free time to contribute, unfortunately, (I've gotta look busy at work...). sorry to be an abuser of open source :) But I'll download the source, and occasionally try understand what's going on in the dev forum. Regards Daniel -- View this message in context:

Re: [rules-users] Mavenizing a new drools project

2010-05-10 Thread eyal edri
OK, Still got problems. i've created a maven project, and all looks good in compile time (with all the org.drools dep below). but i think i still missing a 'runtime' dependency, cause when i try to run the Hello World example, i get this error: [the src line is this: KnowledgeBuilder kbuilder =

Re: [rules-users] how to create a list obj for a rule using 'memberOf'

2010-05-10 Thread Wolfgang Laun
You should add '^' and '$' to avoid matching with part of the type String. -W 2010/5/10 eyal edri > Thanks! > > I've found another way by using 'matches'. though i don't know which one > is preferable (performance speaking..). > > rule "Filter File Types" > salience 100 // priority > when > Fi

Re: [rules-users] Drools Server Problem java.lang.String cannot be cast to [B

2010-05-10 Thread Seltir
Hello Im using your example from your blog page with Person example model. Im using JAXB marshaller. Server JBoss 5. http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ser="http://service.server.drools.org/";> 2010/5/7 Lucas Amador [via Drools - Java Ru

Re: [rules-users] how to create a list obj for a rule using 'memberOf'

2010-05-10 Thread eyal edri
Thanks! I've found another way by using 'matches'. though i don't know which one is preferable (performance speaking..). rule "Filter File Types" salience 100 // priority when FileType( type matches "(ico|gif|jpg|mov|wmv|jpeg|css|bmp|avi|swf|png)" ) then //TODO: change to actual action System

[rules-users] creating custom flow components for the eclipse gui

2010-05-10 Thread Geir Gullestad Pettersen
Hi, I'm considering Drools Flow for our application which currently runs a proprietary flow engine. This flow engine wires the nodes/tasks in the flow using spring xml which essentially lets our customers build custom flows which executes pojos which implement a predefined interface. It does howev

[rules-users] Drools and JBoss 6.0 Support

2010-05-10 Thread ramram
Hi All, I have a question about the Drools support for the JBOSS 6.0 because I have problems deploying the Guvnor on the JBOSS 6.0 where it was functioning perfectly under JBOSS 4.2.3. Any suggestions or documents that I can refer to. Regards, Ram -- View this message in context: http://dro