Mark Proctor | 7 Feb 19:57

[rules-dev] Drools & jBPM Info Sheet

http://blog.athico.com/2012/02/drools-jbpm-info-sheet.html
----
We've made an Info Sheet that provides an overview of Drools, jBPM and 
Guvnor. Feel free to download it and hand it out in your public 
presentations. You'll need to sign in to slideshare to download. Big 
text and lots of pretty pictures and very sexy, but not to be used for 
"extra" curriculum activities ;)
http://www.slideshare.net/MarkProctor/drools-jbpm-info-sheet
<http://4.bp.blogspot.com/-XsvNmjYCW9Y/TzFy-ZQB8fI/AAAAAAAAAqQ/1mo0L91Sbco/s1600/infosheet1.png>

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mark Proctor | 7 Feb 15:44

http://blog.athico.com/2012/02/welcome-alexandre-porcelli.html

http://blog.athico.com/2012/02/welcome-alexandre-porcelli.html
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Wolfgang Laun | 7 Feb 09:49
Picon

[rules-dev] Valid or not valid: 1 < foo < 10?

Developers:

it would be *very nice* to have a clarifying statement as to whether
the triplex relational expression is valid or not, so that a proper
issue might be raised.

Status in 5.3.0: accepted by the DRL parser and resulting in unknown semantics.

Thanks
Wolfgang

---------- Forwarded message ----------
From: "Welsh, Armand" <AWelsh <at> statestreet.com>
Date: Mon, 6 Feb 2012 23:18:08 +0000
Subject: Re: [rules-users] How to write rules in two fact's fields?
To: Rules Users List <rules-users <at> lists.jboss.org>

The Drools documentation states that the left side of any binding
pattern of any conditional element must be a read-only property of the
element (or nested property).  As such you must rewrite your rule.

Try this:

	rule "rule_Name"
	    when
	        per: Person(age >= 50 && < 100, income >= 10000 && < 50000,
occupation == "Business", category == "Military", location ==
"Bangalore", custype == "Individual")
	        pri: Price((price >= 20 && < 30) || price == 1)
	    then
(Continue reading)

Mark Proctor | 7 Feb 04:17

[rules-dev] Blog: Wumpus World Lives!!!

http://blog.athico.com/2012/02/wumpus-world-lives.html
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Mark Proctor | 6 Feb 14:20

[rules-dev] Project Idea - pure HTML5 Audit log

I was just making a swing app, for Wumpups, and thought it would be 
really nice if I could embed the audit log that would render in the 
example as it was executing. I can't re-use the existing stuff, as it's 
SWT based.

So I thought a nice project for someone would be to make an 
HTML5/Javascript version of the Eclipse graphical audit log. It should 
be able to take json document and render an audit log correctly. This 
component can then be re-used by people anywhere, we can even move the 
SWT version over to the HTML5 version in eclipse, so that we only have a 
single version to maintain.

In theory it's not too difficult, we don't need any fancy canvas stuff. 
Just indent lines and use background coloured spans for highlighting. 
The hardest part of the project is probably getting the current xstream 
document dumped to a sane json format. Luckily xstream already has json 
capabilities, so maybe not too hard.

Any takers?

Mark
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Wolfgang Laun | 6 Feb 12:22
Picon

[rules-dev] '#' deprecated

(Why this sudden return to orthogonality?)

Expert still shows the diagram for "comment" with a '#' as the first choice:
   images/Chapter-Rule_Language/single_line_comment.png

Also, the warning contains a typo:
   <para>Drools also suppors for backward compatibility

s/suppors/supports/


Other chapters in "Expert" still use '#' throughout and in preference of '//'.

-W
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Picon
Gravatar

[rules-dev] It looks like maven build is broken for drools-compiler

I tried to install drools-compiler 5.3.1.Final in a OSGI container and got exception - 

Error executing command: Unresolved constraint in bundle org.drools.compiler [171]: Unable to resolve 171.0: missing requirement [171.0] module; (&(bundle-symbolic-name=org.drools.core)(bundle-version>=5.3.1.SNAPSHOT)).

I guess it should depend on 5.3.1.Final, not SNAPSHOT

Alex
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Wolfgang Laun | 2 Feb 14:07
Picon

http://www.jboss.org/drools

At the end of the box with the title "From the Drools & jBPM blog"
there's a funny accumulation of "Category: ...", with lots of
interesting buzz-words.

Highlight: "Category: salaboy".

Cheers
-W
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Toni Rikkola | 1 Feb 12:44
Picon
Gravatar

[rules-dev] Drools 5.4.0.Beta2 released

Drools 5.4.0.Beta2 released (Expert, Fusion, Planner, Guvnor)

Toni Rikkola
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Anstis | 31 Jan 13:42
Picon
Gravatar

[rules-dev] MapBackedClassLoader initialization error

Hi,

We see the below in Guvnor from to time thrown from MapBackedClassLoader's static initialization block:-

Any ideas or thoughts? We haven't had any users report the problem but it does make a mess of our Hudson build ;)

Cheers,

Mike

java.lang.ExceptionInInitializerError at org.drools.guvnor.server.builder.ClassLoaderBuilder$1.run(ClassLoaderBuilder.java:104) at org.drools.guvnor.server.builder.ClassLoaderBuilder$1.run(ClassLoaderBuilder.java:102) at java.security.AccessController.doPrivileged(Native Method) at org.drools.guvnor.server.builder.ClassLoaderBuilder.getMapBackedClassLoader(ClassLoaderBuilder.java:102) at org.drools.guvnor.server.builder.ClassLoaderBuilder.buildClassLoader(ClassLoaderBuilder.java:74) at org.drools.guvnor.server.builder.BRMSPackageBuilder.<init>(BRMSPackageBuilder.java:67) at org.drools.guvnor.server.builder.PackageAssemblerBase.createBuilder(PackageAssemblerBase.java:44) at org.drools.guvnor.server.builder.AssetItemValidator$BuilderValidator.init(AssetItemValidator.java:52) at org.drools.guvnor.server.builder.AssetItemValidator.validate(AssetItemValidator.java:43) at org.drools.guvnor.server.builder.drools.AssetItemValidatorTest.runValidate(AssetItemValidatorTest.java:185) at org.drools.guvnor.server.builder.drools.AssetItemValidatorTest.verifyValidate(AssetItemValidatorTest.java:176) at org.drools.guvnor.server.builder.drools.AssetItemValidatorTest.testValidate(AssetItemValidatorTest.java:159) at org.drools.guvnor.server.builder.drools.AssetItemValidatorTest.testValidateBRL(AssetItemValidatorTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103) at org.apache.maven.surefire.Surefire.run(Surefire.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) Caused by: java.lang.NullPointerException at java.util.jar.Manifest$FastInputStream.fill(Manifest.java:422) at java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:358) at java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:390) at java.util.jar.Attributes.read(Attributes.java:359) at java.util.jar.Manifest.read(Manifest.java:182) at java.util.jar.Manifest.<init>(Manifest.java:52) at java.util.jar.JarFile.getManifestFromReference(JarFile.java:167) at java.util.jar.JarFile.getManifest(JarFile.java:148) at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:696) at java.net.URLClassLoader.defineClass(URLClassLoader.java:228) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.drools.rule.MapBackedClassLoader.<clinit>(MapBackedClassLoader.java:38)
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
vinodkiran | 26 Jan 16:20
Picon
Gravatar

[rules-dev] project idea - Running Guvnor SCENARIOS from regular java code

Is there capability within Guvnor/Drools currently to invoke SCENARIO's
defined in Guvnor? If yes, can someone point me to it?

If this is missing, does the community see value in such a feature?

see http://pastebin.com/Drze6YGP for some thoughts.

--
View this message in context: http://drools.46999.n3.nabble.com/project-idea-Running-Guvnor-SCENARIOS-from-regular-java-code-tp3690698p3690698.html
Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


Gmane