[rules-users] Health care meeting

2010-03-04 Thread J Michael Dean
Any further information about the health care meeting mentioned in the blog for last week of March? J Michael Dean, MD, MBA HA and Edna Benning Presidential Professor of Pediatrics Professor of Biomedical Informatics (adjunct) Chief, Division of Pediatric Critical Care Medicine Vice Chairman

[rules-users] Ruleflow diagram customization

2010-02-16 Thread J Michael Dean
es dialog should be altered so as to not allow the user to commit this crime. J Michael Dean mdea...@comcast.net ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Accessing rule flow names

2010-02-15 Thread J Michael Dean
To do testing, I have an event listener that keeps track of which nodes have been activated, etc. by accessing the ProcessNodeEvent where I can either get the NodeID or the NodeName, but cannot get the associated rule flow. The NodeID appears to be numeric and always automatically assigned, so

[rules-users] Flow and Rules Together - Best practice question

2010-02-15 Thread J Michael Dean
Have been working solely with rules and have now created an overall rule flow that has enabled me to eliminate parts of the conditions of many rules, because the rules are in rule flow groups. For example, if the glucose value must be below 40 to get into a rule flow group called "Below 40", th

[rules-users] Verifier Question

2010-02-15 Thread J Michael Dean
Does anyone have a succinct example of using verifier on a DRL or knowledge base? This is a nice feature in Guvnor and I thought it should be easy in the Eclipse environment to create a simple plugin that would gobble up the knowledge base and spit out the report. Thanks. - Mike ___

[rules-users] Drools and Eclipse 3.5

2009-08-30 Thread J Michael Dean
Sorry because I am sure this has been answered, but cannot find. Compelling reasons to switch to Eclipse 3.5 because of recent changes to Mac OSX but documentation pretty clearly indicates 3.4 for Drools 5.0. Is Drools 5.0 compatible with Eclipse 3.5? - Mike ___

[rules-users] Drools 5 Final location

2009-05-05 Thread J. Michael Dean
Where can I locate the 5.00 FINAL artifacts? On Hudson the revisions are way beyond this version; I found everything on SVN but not eager to try to build it myself. Sorry for probable idiotic question. PGP.sig Description: PGP signature ___ rules

[rules-users] Scenarios

2009-03-24 Thread J Michael Dean
Scenarios are very slick on Guvnor - is there a way to either create or execute these in Eclipse? Thanks. - Mike ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] Re: Declarative Model Editor in Guvnor

2009-02-23 Thread J Michael Dean
ckage? On Sun, Feb 22, 2009 at 5:02 AM, J Michael Dean wrote: When I declare a very simple object in Guvnor and validate, save, build, etc. and then try to edit it, I get the guided editor. However, if I import that model to the IDE and edit it there, and commit it back, then in Guv

[rules-users] Extending objects in declared facts

2009-02-21 Thread J Michael Dean
When a fact is declared with propertyChangeSupport in Guvnor, such as following: declare Hemodynamics @propertyChangeSupport systolicBP: Integer diastolicBP: Integer centralVenousP: Integer wedgeP: Integer status: Boolean alive: Boolean en

[rules-users] Declarative Model Editor in Guvnor

2009-02-21 Thread J Michael Dean
When I declare a very simple object in Guvnor and validate, save, build, etc. and then try to edit it, I get the guided editor. However, if I import that model to the IDE and edit it there, and commit it back, then in Guvnor I subsequently can edit the text directly. I cannot find a way t

[rules-users] Error creating field accessors ... in Guvnor

2009-02-20 Thread J Michael Dean
Started new model in Guvnor and declared two fact types. Nothing else involved. Source code that is provided from Guvnor is shown below. But when I try to build the package, or create a scenario, I get error [package configuration problem] Error creating field accessors for "Hemodynamics

[rules-users] re:KnowledgeAgent and Guvnor

2009-02-17 Thread J Michael Dean
: Tue, 17 Feb 2009 23:14:45 + From: Mark Proctor Subject: Re: [rules-users] KnowledgeAgent and Guvnor To: Rules Users List Message-ID: <499b44e5.7020...@codehaus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed J Michael Dean wrote: RuleAgent could be fed a properties fil

[rules-users] KnowledgeAgent and Guvnor

2009-02-17 Thread J Michael Dean
RuleAgent could be fed a properties file that included a URL enabling connection to Guvnor. I cannot find any examples of using a KnowledgeAgent to connect to Guvnor - can someone point me in the right direction? Thank you. - Mike ___ rules-user

[rules-users] Tags on Facts (propertyChange Support for example) in Guvnor

2009-02-16 Thread J Michael Dean
Have been helped about declaring attributes of facts for things such as propertyChangeSupport. However, when I import a DRL file that has such attributes into Guvnor, there does not appear to be any evidence that anything happens. The source code returned from Guvnor does not include the

[rules-users] re:Shadow Facts

2009-02-15 Thread J Michael Dean
Sorry - in previous email forgot to include the following code, as the NPE occurs when this routine is called at the addPackage call. private void readDRLintoPackage(String rulesFile) throws DroolsParserException, IOException, Exception { Reader source = new InputStreamReader(RulesEngi

[rules-users] Re:Shadow Facts

2009-02-15 Thread J Michael Dean
Edson - build2589-rev25264-20090214-0603 is the snapshot that I downloaded and installed. However, I have done a search on the source and have not been able to locate MiscTest.testPropertyChangeSupportNewAPI() in the source at all. Interestingly, the DRL compilation does not crash if I use

[rules-users] [Re:] No return from Guvnor

2009-02-12 Thread J Michael Dean
Just a couple additional comments. The binary package DOES get loaded into the localCache that is in my properties file; when I shut down JBoss, the app does try to hit the cache file. I also downloaded the DRL from Guvnor, and when I point at the DRL directly, the code all executes prop

[rules-users] No return from Guvnor

2009-02-12 Thread J Michael Dean
I have an app that can run with a local DRL file and with 4.07 and BRMS, all has been working. Migrating to 5 to take advantage of Guvnor. However, when I try to instantiate a RuleAgent using a properties file, my code goes to heaven (or the other place). From the code below, the subsequ

Re: [rules-users] Shadow facts

2009-02-11 Thread J Michael Dean
Facts are a complete different thing that should be mostly transparent to users. If you can provide an example, it will be easier to help you. []s Edson 2009/2/11 J Michael Dean I am migrating from 4.07 to 5 and my previous DRL file does not function correctly; I previousliy inser

[rules-users] Shadow facts

2009-02-11 Thread J Michael Dean
I am migrating from 4.07 to 5 and my previous DRL file does not function correctly; I previousliy inserted facts with the dynamic Boolean set true. I understand that this is no longer done because shadow facts are "not needed" in Drools 5, but is it necessary to do anything different in t

[rules-users] Community Clinic

2009-02-03 Thread J Michael Dean
Sorry to be ignorant but what are the details about the planned February 4th Webinar? How to connect, etc.? Thanks. - Mike ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] re:JBoss 5.0 and Guvnor

2008-12-19 Thread J Michael Dean
The errors encountered when deploying Guvnor are different: 07:39:25,722 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 16s:344ms 07:40:24,329 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitNam

[rules-users] re:JBoss 5.0 and Guvnor

2008-12-19 Thread J Michael Dean
When I drag either application into the deploy folder, deployment fails. Here is the initial console output when I try to install brms. 07:31:18,921 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 23s:344ms 07:33:35,527 INFO [

[rules-users] JBoss 5.0 and Guvnor (Newbie)

2008-12-18 Thread J Michael Dean
Have not been able to deploy Guvnor nor 4.07 BRMS in JBoss 5 - both easily deployed in JBoss 4.2.3 or earlier. Anyone using JBoss 5 with Drools presently? - Mike ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailm

[rules-users] Best (better) practice question

2008-12-08 Thread J. Michael Dean
I have an application that classifies glucose levels in a patient, looks at the insulin dose, and provides advice. Works reasonably well (using 4.07 and local drl file). However, my "decision object" has a text field in it where the advice and explanation is put, by the relevant rules. T

[rules-users] Best (better) practice question

2008-12-08 Thread J. Michael Dean
I have an application that classifies glucose levels in a patient, looks at the insulin dose, and provides advice. Works reasonably well (using 4.07 and local drl file). However, my "decision object" has a text field in it where the advice and explanation is put, by the relevant rules. T

[rules-users] Guvnor and old BRMS clash?? (newbie)

2008-12-06 Thread J Michael Dean
Do Guvnor and 4.07 BRMS store their data in the same location in JBoss? I naively placed both war files into JBoss, thinking I could experiment with Guvnor while using BRMS, and it appears that Guvnor reads and writes to the same repository. Do I need to keep these apps in separate JBoss

[rules-users] RuleAgent question

2008-11-25 Thread J Michael Dean
Two questions. I am interested in using RuleAgent but with the file or dir property rather than the URL. However, it is not clear to me where the directories or files must actually be located. If I use dir=/ then the DirectoryScanner is invoked and claims to have found some number of fi

[rules-users] Answering my own question Eclipse 3.4

2008-11-23 Thread J Michael Dean
I have verified that if I start with a virgin Ganymede (Eclipse 3.4) installation and install Drools 5M3, and then try to install 4.07 from update site, I cannot go back and trying to manipulate the plugins and features manually will destroy the ability of the Eclipse distribution to ever e

[rules-users] Drools 5 in Eclipse 3.4.1 Newbie

2008-11-23 Thread J Michael Dean
Trying to move forward to Eclipse 3.4 so got it set up and now Drools 5.0.0.M3 eclipse plugin and feature. Appears to have no effect, so am guessing I have to load much more than that. The documentation implies that I ought to be up and running. I was able to create a new Drools project,

[rules-users] Excel sheet has immediate error

2008-09-08 Thread J Michael Dean
This must be a ridiculous newbie issue, but I have working Sample.xls and com.sample; when, however, I add a new decision table resource in the Eclipse environment, the new spreadsheet is immediately marked by Excel as having an error (with the error decoration). What is the reason for th

[rules-users] Decision table keywords

2008-09-02 Thread J. Michael Dean
Do the keywords such as NAME actually function in 4.07? I added a NAME column to the sample spreadsheet that uses the message class, but the rules continue to be named HelloWorld_11, etc. Sorry to be dense but on the other hand, have not seen any example spreadsheets that use some of thes

[rules-users] RCP and Drools

2008-04-04 Thread J Michael Dean
I have continued to try to isolate the problem that I have previously described, where my RCP application that calls Drools runs properly, but am unable to Unit test. Can reproduce the problem simply and am hoping someone can lend some insight. I started by creating a simple Drools project

[rules-users] Eclipse, JUnit and Classpaths (sorry, back)

2008-03-22 Thread J Michael Dean
I have been unable to work on this for a while but problem has not gone away. I have an RCP that runs and Drools runs and works. But when I try to run unit tests that involve Drools, I get this recurrent problem: java.lang.NullPointerException at org.mvel.optimizers.OptimizerFactory.(

[rules-users] Re: JUnit and classpath

2008-01-05 Thread J Michael Dean
his suite is the place to add Drools tests. * * @author J. Michael Dean, M.D., M.B.A. (University of Utah) * Copyright 2005 - 2008. All Rights Reserved. * */ @RunWith(Suite.class) @SuiteClasses( { TestHypoglycemiaDetection.class }) public class AllDroolsRulesTests { public

[rules-users] Re: JUnit and classpath

2008-01-03 Thread J Michael Dean
includes an inlined ASM version inside it for its own use... are you stripping that? []s Edson 2008/1/2, J Michael Dean <[EMAIL PROTECTED]>: Thanks. When I do that, there is no reference to org.objectweb.asm, nor is there even any reference to any asm library. The information is abo

[rules-users] Re: rules-users Digest, Vol 13, Issue 48

2007-12-31 Thread J Michael Dean
Sorry - am using Eclipse in OSX and have no clue how to ask it to dump its classpath. I can print out the .classpath file but this is clearly not really relevant. path="org.eclipse.jdt.launching.JRE_CONTAINER"/> path="org.eclipse.pde.core.requiredPlugins"/> path="org.ec

[rules-users] JUnit testing problem

2007-12-30 Thread J Michael Dean
Continuing to have problems - can use Drools in RCP but when I try to JUnit test, I cannot instantiate a PackageBuilder. With the following code fragment: @BeforeClass public static void setUp() throws Exception { Reader source; PackageBuilderConfiguration p

[rules-users] Eclipse 3.3.2 versus 3.4

2007-12-26 Thread J Michael Dean
I am successfully using Drools in RCP development with Eclipse 3.3.1.1 but am having problems with an unrelated plugin for building interfaces, etc. The vendor indicates that I should move to one of these two Eclipse builds and the question is whether Drools is known to work or not with Ec

[rules-users] Re: Constants on LHS?

2007-12-10 Thread J Michael Dean
nt from my iPhone. PLs excuse typing mistake. On Dec 9, 2007, at 12:48 PM, J Michael Dean <[EMAIL PROTECTED]> wrote: I have not been able to figure out how to define "constants" that can be used replace numbers, etc. on the LHS of rules, and am not quite at the stage where

[rules-users] Constants on LHS?

2007-12-09 Thread J Michael Dean
I have not been able to figure out how to define "constants" that can be used replace numbers, etc. on the LHS of rules, and am not quite at the stage where I can set up a DSL. Is there a way to accomplish this? For example, I have a simple rule to determine if glucose is below the targete

[rules-users] Re: Drools and Eclipse RCP

2007-12-09 Thread J Michael Dean
Sorry - I wrote this reply before realizing that you were asking about an "editor", not just incorporating Drools into an RCP. I am posting this in case other are having the more mundane problem of making a RCP execute Drools rules. - Mike I have been trying to do this for a while, and ha

[rules-users] Re:JUnit testing

2007-12-04 Thread J. Michael Dean
ohn J. Franey" <[EMAIL PROTECTED]> Subject: Re: [rules-users] JUnit testing To: rules-users@lists.jboss.org Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii J Michael Dean wrote: I am having problems figuring out how to do JUnit 4 unit tests with D

[rules-users] JUnit testing

2007-12-01 Thread J Michael Dean
In examining the examples that are provided as an Eclipse project, there are none that simply do JUnit testing of simple rules examples. The insurance example is a BRMS example, and has unit tests, but none of the other examples actually has a unit test. I am having problems figuring out h

[rules-users] JUnit testing

2007-12-01 Thread J Michael Dean
I am having problems with testing Drools rules; the code is JUnit setup code that is shown below. However, I get a problem that the dialect cannot be opened (see after code). This problem persists whether I tell JUnit to use my core plugin, or if I add every piece of code in the Drools d

[rules-users] Invalid signature file

2007-11-30 Thread J Michael Dean
I have created a plugin to contain the core Drools jars and dependencies, and this plugin is then used by my RCP. This works, a couple rules fire correctly, etc. Now I want to set up a testing framework (JUnit4) and have the following code, which causes an Invalid signature file error. M

[rules-users] Rule firing problem - must be missing something obvious

2007-11-27 Thread J Michael Dean
I am passing a glucose decision object with a value of 12, and have a state object that starts out with its flag set false. The desired behavior is that the value will be recognized as "extremeHypoglycemia" by the first rule, and then the second rule will recommend giving a glucose bolus.

[rules-users] Re: Eclipse tools question

2007-11-25 Thread J Michael Dean
ntents of rules-users digest..." Today's Topics: 1. RE: Re: Drools and BRMS (60,000+ rules) (Carlsen, Len) 2. Re: Re: Drools and BRMS (60,000+ rules) (Mark Proctor) 3. Eclipse tools question (J Michael Dean) -- Mes

[rules-users] Re: Class import problems

2007-11-25 Thread J Michael Dean
it is more specific than "Re: Contents of rules-users digest..." Today's Topics: 1. Class import problems (J Michael Dean) -- Message: 1 Date: Sat, 24 Nov 2007 18:34:22 -0700 From: J Michael Dean <[EMAIL PROTE

[rules-users] Class import problems

2007-11-24 Thread J Michael Dean
I am trying to import a class, but get a message that only a type can be imported, and what I am trying to import resolves to a package. I have used the examples and they appear to do the same thing, except they work. The top of my drl file is shown below. GlucoseDecision is, in fact, a

[rules-users] Handler Conflict Warning Eclipse 3.3 with 4.03

2007-11-01 Thread J Michael Dean
Starting afresh with Eclipse and encounter a message that a handler conflict occurred. The conflict relates to the ConvertToDroolsProjectAction. This is with a fresh install and no workspace. I can create a rules project and it functions correctly. The trace is below. Is this a problem

[rules-users] Re: Drools 4.0.3 Released

2007-10-24 Thread J Michael Dean
Does 4.0.3 take care of the jdt inclusion problem? Or does this wait for 4.1? - Mike Dean On Oct 24, 2007, at 12:51 AM, [EMAIL PROTECTED] wrote: Send rules-users mailing list submissions to rules-users@lists.jboss.org To subscribe or unsubscribe via the World Wide Web, visit

[rules-users] Drools, RCP, and Eclipse 3.3

2007-10-20 Thread J Michael Dean
I am trying to utilize Drools in an RCP, and have been getting errors relating to not finding the jdt core. I have attempted to use the snapshot but with no difference. So to work around this, am planning to build my rules into a package outside my RCP, and then I won't need the drools co

[rules-users] Eclipse Question - Newbie

2007-05-27 Thread J Michael Dean
I have an RCP application that uses Jess and have added code to switch to JBoss. I can create a sample rules project in Eclipse, but when I simply move the rules and the Java source from the JBoss rules project into my RCP, I get extensive errors. I have added the JBoss builder and the JB