tag:blogger.com,1999:blog-5869426.post8668806178030636386..comments2024-03-25T09:15:58.430+00:00Comments on Drools & jBPM: Solving the Examination problem part 1: Domain diagramMark Proctorhttp://www.blogger.com/profile/03304277188725220501noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-5869426.post-48735262722873637212008-10-28T02:42:00.000+00:002008-10-28T02:42:00.000+00:00Thanks!I want to use Solver for routeplanning.Chee...Thanks!<BR/>I want to use Solver for routeplanning.<BR/>Cheers, MartinMartinhttps://www.blogger.com/profile/08198356142525326739noreply@blogger.comtag:blogger.com,1999:blog-5869426.post-60847156788192078602008-10-27T17:17:00.000+00:002008-10-27T17:17:00.000+00:00By the way: What kind of problem are you using dro...By the way: What kind of problem are you using drools-solver for? I am interested in the diversity of the use cases people use it for.Geoffrey De Smethttps://www.blogger.com/profile/10118333179703404539noreply@blogger.comtag:blogger.com,1999:blog-5869426.post-4178095471074189592008-10-27T16:59:00.000+00:002008-10-27T16:59:00.000+00:00If you're not using maven: you're ending u...If you're not using maven: you're ending up with at least the wrong mvel jar version... read which jars need which jars and fix all that manually.<BR/><BR/>If you are: It's probably a maven dependency conflict and you're ending up with the wrong mvel jar version.<BR/><BR/>Things you can do:<BR/>1) Use maven 2.0.9. If both mvel jars use the same groupId, starting from maven 2.0.9, the highest version should win IIRC.<BR/>2) Explicitly depend on the correct mvel jar version in your pom.xml. The correct mvel jar version is the one the drools-parent pom.xml uses. see http://repository.jboss.org<BR/>3) Use high quality seam pom.xml that mark drools correctly as an optional dependency. <BR/>4) In the seam dependency, use exclusion> for the drools stuff. Use drools as a direct dependency.<BR/><BR/>PS: note that drools-solver 5.0.0.m2 is borked. So use either m1 or trunk (or m3 which will hopefully be released soon).Geoffrey De Smethttps://www.blogger.com/profile/10118333179703404539noreply@blogger.comtag:blogger.com,1999:blog-5869426.post-12155461700747914942008-10-27T00:43:00.000+00:002008-10-27T00:43:00.000+00:00Hi Geoffrey,I am trying to use Solver 5M1 with Dro...Hi Geoffrey,<BR/>I am trying to use Solver 5M1 with Drools 4.0.7. in a Seam environment. However, I am getting a ClassCastException: org.drools.rule.builder.dialect.mvel.MVELDialectConfiguration cannot be cast to org.drools.compiler.DialectConfiguration<BR/> at org.drools.compiler.PackageBuilderConfiguration.addDialect(PackageBuilderConfiguration.java:155)<BR/><BR/>When invoking buildSolver() on a XmlSolverConfigurer<BR/>Am I doing something wrong, or is it simply impossible to use these versions together?<BR/>Thanks in advance, MartinMartinhttps://www.blogger.com/profile/08198356142525326739noreply@blogger.comtag:blogger.com,1999:blog-5869426.post-28100120243006073462008-04-21T17:16:00.000+01:002008-04-21T17:16:00.000+01:00I am not using any 5.0 features yet, but if anythi...I am not using any 5.0 features yet, but if anything interesting appears, such as accumulate sum(Integer), I 'll probably use it.<BR/>However, that's isolated in the examples's score DRL's, so drools-solver-core will probably still run with drools 4.0.2+ just fine.Geoffrey De Smethttps://www.blogger.com/profile/10118333179703404539noreply@blogger.comtag:blogger.com,1999:blog-5869426.post-64413482909134697372008-04-19T12:22:00.000+01:002008-04-19T12:22:00.000+01:00That's very good news. I believe having a module s...That's very good news. I believe having a module such as solver available will be good PR for the whole drools project because of the added AI-shininess that will appeal even to the uninitiated.<BR/><BR/>Are you aiming for continued drools 4.0.6 compliance, or will you be requiring 5.0 features?Martinhttps://www.blogger.com/profile/08198356142525326739noreply@blogger.comtag:blogger.com,1999:blog-5869426.post-74583629284528094402008-04-19T11:15:00.000+01:002008-04-19T11:15:00.000+01:00I just did a big refactor which will makes it easi...I just did a big refactor which will makes it easier to write isolated unit tests on specific parts of the algoritms. Once more of those unit tests are in place, we're thinking about releasing the first alfa of drools-solver.Geoffrey De Smethttps://www.blogger.com/profile/10118333179703404539noreply@blogger.comtag:blogger.com,1999:blog-5869426.post-1997746175665916352008-04-07T03:27:00.000+01:002008-04-07T03:27:00.000+01:00There are currently no plans to officially support...There are currently no plans to officially support drools-solver at the moment. We are waiting to see how it matures and for market adoption to occur.Mark Proctorhttps://www.blogger.com/profile/03304277188725220501noreply@blogger.comtag:blogger.com,1999:blog-5869426.post-35030006195041494032008-04-07T02:49:00.000+01:002008-04-07T02:49:00.000+01:00Hi Geoffrey, will Drools-Solver be an official par...Hi Geoffrey, will Drools-Solver be an official part of Drools 5?<BR/><BR/>Best regards, Martin.Martinhttps://www.blogger.com/profile/08198356142525326739noreply@blogger.com