[rules-users] DSL expression - ??

2007-09-24 Thread vdelbart
Hi, I have this in my DSL consequence : {name}.{indic}+:{value}={name}.putIndicator({indic},{name}.get({indic})+{value}); {name}.{indic}:{value}={name}.putIndicator({indic},{value}); If I write in my dslr : ... then ex.+:200 ex.:200 end the mapping is : then

[rules-users] serialization size: a switch in Drools 2.5 ?

2007-09-24 Thread writetochristoph
Hi! I have a server which uses a Drools RuleBase to evaluate about 2500 rules. The server stores the Drools RuleBase in a database as a serialized java object. I also need to transfer the Drools RuleBase to clients for offline usage. For the server, I need fast loading of the Drools RuleBase.

[rules-users] BRMS and IDE

2007-09-24 Thread ekke
I did some first tests with BRMS and also with the IDE editors, I like the features of BRMS like Categories and I like it to use a web interface, so Business users can take a look at the rules and verify them developing of the rules is much easier using the eclipse editors with context-assist,

[rules-users] architectural question about saving the static data

2007-09-24 Thread Waruzjan Shahbazian
Hi, I have a question regarding the way of saving the values of some static data, wich will be used by the drools engine to calculate the price for some product. I will explain it with the following example: I have an website where the user can fill a form where he can choose between different

[rules-users] query

2007-09-24 Thread prateek.katiyar
Hi In one of my program i am getting the following erroe message Exception in thread main org.drools.compiler.PackageBuilder$MissingPackageNameException: Missing package name for rule package. at org.drools.compiler.PackageBuilder.validatePackageName(PackageBuilder.java:294) at

[rules-users] dialect: Java or MVEL

2007-09-24 Thread ekke
can someone tell me, when to use java or mvel as dialect ? I've experienced that in some cases inside the drl editor using java gives me more context-help then using mvel but: what can I do with java and not with mvel and what advantages has mvel compared with java which dialect is more

Re: [rules-users] JBoss AS 4.0.5 GA + Drools 4.0.1

2007-09-24 Thread Philip Reimer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guardian schrieb: Hello, I have many problems to integrate Drools in my existing Application that is running on JBoss AS 4.0.5 GA. When I try to load and execute the rule-file I get the following Exception: java.lang.RuntimeException:

Re: [rules-users] query

2007-09-24 Thread Edson Tirelli
As the error message states, you probably forgot to define a package name in your DRL files. []s Edson 2007/9/24, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi In one of my program i am getting the following erroe message Exception in thread main

Re: [rules-users] DSL expression - ??

2007-09-24 Thread vdelbart
Hi, It doesn't work. With : [consequence][]{name}.{indic}\+:{value}={name}.putIndicator({indic},{name}.get({indic})+{value}); this code : ex.\+:200 is mapping like that : ex.+:200 For information, I use the 4.0.1 Drools. thks, V. -- View this message in context:

[rules-users] Drools-solver

2007-09-24 Thread Geoffrey De Smet
Drools-solver solves planning problems. It has moved to trunk and the reference manual is now available at: http://users.telenet.be/geoffrey/tmp/solver/manual/html_single/ It's still experimental though. We even made 2 blogs about it for the price of one:

Re: [rules-users] DSL expression - ??

2007-09-24 Thread Edson Tirelli
No, you only need to escape the DSL mapping... not the actual code (BTW, '.' is a wildcard in regexp, so I recommend escaping it too): [consequence][]{name}\.{indic}\+:{value}={name}.putIndicator({indic},{name}.get({indic})+{value}); Should work with: then ex.+:200 end

Re: [rules-users] Drools-solver

2007-09-24 Thread Paul Browne
Geoffrey, In a bizarre co-incidence I had just finished reading the Drools solver docs. It's very good - it's taken one of the ideas that I'd been mulling over and implemented it a (good) way that makes me realise I'm hardly out of Kindergarten with this stuff :-) One comment on the

[rules-users] Re: Drools-solver

2007-09-24 Thread Geoffrey De Smet
Thanks for the feed-back Paul, I 'll adjust the manual accordingly :) With kind regards, Geoffrey De Smet Paul Browne wrote: Geoffrey, In a bizarre co-incidence I had just finished reading the Drools solver docs. It's very good - it's taken one of the ideas that I'd been mulling over and

Re: [rules-users] dialect: Java or MVEL

2007-09-24 Thread Mark Proctor
Java is more mature in tooling and implementation and is still currently the default implementation and the recommended one if you are not sure. MVEL will eventually become the default dialect when it matures, its advantage is in the simpler language it provides, which helps make rules easier

[rules-users] Re: Drools-solver

2007-09-24 Thread Geoffrey De Smet
Yep, I am gonna implement the contest examples of itc2007: http://www.cs.qub.ac.uk/itc2007/ They are nicely documented, use a lot of data and deal with lesson scheduling etc. And of course, it would be cool to win the contest with drools-solver :) With kind regards, Geoffrey De Smet Mark

Re: [rules-users] dialect: Java or MVEL

2007-09-24 Thread Godmar Back
BTW, when using Java, is there a way to save the .java files created by the compiler? I would like to understand the specific environment/scope in which consequences are compiled. Right now, if something goes wrong, the .java are deleted right away. I looked at PackageBuilderOptions, but didn't

Re: [rules-users] BRMS and IDE

2007-09-24 Thread ekke
Mark Proctor wrote: ... However the web does provide a really nice guided editor, which in many ways is supperior to the context assist in drl editing in eclipse. Mark, yes, I've seen this editor - looks really nice and is the best if editing rules from the web. and of course its a

[rules-users] import statements and performance

2007-09-24 Thread ekke
do import statements have any impact on the performance of a .drl or .rfm ? I plan to make some templates (.drl and .rfm) to use by the business guys - from my UML model I know which entities were used from which Services, so I can pre-configure a .drl/.rfm for each service (= drool package) and

Re: [rules-users] RuleFlow, packages, ruleflow-group

2007-09-24 Thread ekke
has anyone a short info for me ? thx ekke ekke wrote: I know, * packages are Collections of related rules * a rule can only belong to one package in the BRMS I can use * categories to structure rules, * one rule can belong to n Categories but this has nothing to do with the execution

Re: [rules-users] dialect: Java or MVEL

2007-09-24 Thread Mark Proctor
Godmar Back wrote: Change and re-compile the drool engine code? If so, I vote for an enhancement request that let's drool dump the Java files. will consider for 4.2. On a separate note, how would I be able to pre-compile sets of rules - would this process involve calling

[rules-users] org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed:

2007-09-24 Thread Manukyan, Sergey
Folks, Using 4.0.1. Getting errors sometimes while working with DRL file with Outline view open. Errors manifest themselves as a popup box : Here is the content of Error Log: -- eclipse.buildId=unknown java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32