Re: [rules-users] Guvnor - support for custom file extensions

2012-05-14 Thread anchi
Nobody? -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-support-for-custom-file-extensions-tp3970683p3985342.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Guvnor - support for custom file extensions

2012-05-14 Thread Michael Anstis
Ordinarily you'll also need to look at contenthandler.properties and creating your own ContentHandler implementation. These define a class that can handle your additional type (serializing to and de-serializing from whatever internal storage representation you want). asseteditors.xml should also

Re: [rules-users] Does Guvnor support calendar definitions

2012-05-14 Thread Michael Anstis
In a BRL guided rule (or Rule Template) click on the Options section at the bottom of the editor and choose the Calendars attribute. On 10 May 2012 16:11, FlyingEagle elisabeth.wi...@wincor-nixdorf.comwrote: Hi, I have a rule, which only may be fired at night. So I have defined in the drl

[rules-users] Error with Helloworld Drools projet

2012-05-14 Thread paco
Hello everybody, I want to create my first drools projet with eclipse and I've got this following error. org.drools.RuntimeDroolsException: Unable to load dialect 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java' .

Re: [rules-users] Error with Helloworld Drools projet

2012-05-14 Thread Wolfgang Laun
Since you are starting anew with Drools: why don't you use Drools 5.3.0 or 5.4.0? -W On 14/05/2012, paco fifi_nji...@yahoo.fr wrote: Hello everybody, I want to create my first drools projet with eclipse and I've got this following error. org.drools.RuntimeDroolsException: Unable to load

Re: [rules-users] Guvnor - support for custom file extensions

2012-05-14 Thread anchi
Thank you very much, I'll take a look at this! -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-support-for-custom-file-extensions-tp3970683p3985455.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

Re: [rules-users] Error with Helloworld Drools projet

2012-05-14 Thread paco
Hello Laune! Because I'm following all istrution presented in the JBoss Drools Businness Rules book. Is it due bye a version of the Drools? Can you tell me can I find Drools 5.3.0 or 5.4.0? Thanks -- View this message in context:

Re: [rules-users] Error with Helloworld Drools projet

2012-05-14 Thread Michael Anstis
Wolfgang suggests using 5.3 or 5.4 as both bring many, many new features and improvements over 4.0.7. You are also more likely to get help with a newer version (as most people will say have you tried with 5.3+) if you post problems relating to 4.0.x. The problem you state is caused by not having

[rules-users] Guvnor REST API and XLS decision tables

2012-05-14 Thread anchi
Hi! I'm wondering how does Guvnor REST api handle Excel decision tables? I'm using 5.3.1.Final version. It seems that when I use url for binary e.g. /http://{guvnor_url}/rest/packages/package_name/assets/excel_table_name/binary/ , I get a source (.xls) file. And when I use source url e.g.

Re: [rules-users] Error with Helloworld Drools projet

2012-05-14 Thread paco
Your contribution is very helphul. I'm going to install Drools 5.3.0. I hope it will work well. Thanks very much -- View this message in context: http://drools.46999.n3.nabble.com/Error-with-Helloworld-Drools-projet-tp3985433p3985595.html Sent from the Drools: User forum mailing list archive

[rules-users] The drools.packagebuilder.conf directory

2012-05-14 Thread Carolina Pellecchia
Hi all I am novice on GUVNOR/DROOLS, but I defined some Drools Evaluator functions and to make the function available to the rules engine I inserted drools.packagebuilder.conf into user home directory. Is there different directory to do this? Thank you in advance, Carolina Pellecchia

Re: [rules-users] The drools.packagebuilder.conf directory

2012-05-14 Thread Michael Anstis
Guvnor doesn't support use of custom Drools Evaluators at this time. However, if you mean to more simply use with Drools Expert then thishttp://planet.jboss.org/post/creating_pluggable_operatorsmight be of assistance. With kind regards, Mike On 14 May 2012 15:50, Carolina Pellecchia

Re: [rules-users] The drools.packagebuilder.conf directory

2012-05-14 Thread Matteo Cusmai
Hi Micheal, we are going to extend drools with spatio evaluators, so we need to use them. Are you sure that we cannot use custom evaluator by using DRL or DSL in GUVNOR? And if yes, do you foresee to add support for custom evaluator in GUVNOR? Thanks a lot, Matteo. On Mon, May 14, 2012 at 5:02

Re: [rules-users] The drools.packagebuilder.conf directory

2012-05-14 Thread Michael Anstis
Hmmm, to be honest, I don't know :/ I fear although you can add the evaluator in DRL (or DSL), e.g. when MyFact( aField myUberEvaluator[bField] ) it will fail to compile in Guvnor, as we don't do anything explicit around custom evaluators (i.e. look for a drools.packagebuilder.conf file etc).

Re: [rules-users] Drools 5.4.0.Final and jBPM 5.3.0.Final are being released

2012-05-14 Thread Sean Su
The maven repository link is still pointing to CR1 instead of final. Do we have final jars on Maven yet? If not, anyone knows when? thanks Sean On Wed, May 9, 2012 at 3:04 AM, Toni Rikkola toni.rikk...@gmail.com wrote: Only blocker bugs can stop the release process. It is now too late to

Re: [rules-users] Score curruption exception in drools-planner-5.4.0.CR1

2012-05-14 Thread Christopher Dolan
I may be way off track, but I saw score corruption like yours in two cases: 1) broken .equals()/.hashCode() method. I had a couple of model classes that accidentally looked at mutable data in their .equals() and .hashCode() methods. When these were applied as the cause of the constraint, the

[rules-users] 5.4.0.Final Eclipse plug-in exception

2012-05-14 Thread Sean Su
The generated dslr from new drools source can't be opened inside Eclipse 3.7 due to the following exception. It works fine in the previous version: java.lang.ArrayIndexOutOfBoundsException: 1 at org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:230) at

[rules-users] Using collect repeatedly over sub-groups of a fact

2012-05-14 Thread Mike Goldner
I have a single rule that includes a collect pattern to pass a collection to the RHS. However, what I now need to do fire this rule for multiple collections based on groupings defined by attributes on the fact. Here is an example: Fact(a = 1, b = 1, c = 1) Fact(a = 1, b = 1, c = 2) Fact(a = 2,

[rules-users] Drools 5.4.0.Final released

2012-05-14 Thread Mark Proctor
http://blog.athico.com/2012/05/drools-540final-released.html link contents pasted below--- We are happy to announce the release of Drools (Expert, Fusion, Planner, Guvnor) *5.4.0.Final*. jBPM 5.3.0 announcement will follow shortly and the link will be added when it does. Documentation,

Re: [rules-users] Using collect repeatedly over sub-groups of a fact

2012-05-14 Thread Wolfgang Laun
You have to establish one representative of each subgroup that is markedly distinct from all of its siblings in the same subgroup. This triggers a single firing for a unique a/b combination. Then you can collect all those that match the representative. With attribute c being what it is in your

Re: [rules-users] Different Thread Handling between fireAllRules() and fireUntilHalt()

2012-05-14 Thread totempole
The issue occurs only when fireUntilHalt() is launched in Drools-Spring integration, like this, drools:ksession id=ksession type=stateful name=ksession kbase=kbase drools:batch drools:set-global identifier=droolsServiceUtil ref=droolsServiceUtil /

Re: [rules-users] Score curruption exception in drools-planner-5.4.0.CR1

2012-05-14 Thread Nurlan Rakhimzhanov
On 15 May 2012 00:30, Christopher Dolan christopher.do...@avid.com wrote: I may be way off track, but I saw score corruption like yours in two cases: 1) broken .equals()/.hashCode() method. I had a couple of model classes that accidentally looked at mutable data in their .equals() and