Sorry - This was a simple buddy registration problem. Need to
register the drools package with my rcp.
- Mike
On Nov 25, 2007, at 10:00 AM, rules-users-request(a)lists.jboss.org wrote:
> Send rules-users mailing list submissions to
> rules-users(a)lists.jboss.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
https://lists.jboss.org/mailman/listinfo/rules-users
> or, via email, send a message with subject or body 'help' to
> rules-users-request(a)lists.jboss.org
>
> You can reach the person managing the list at
> rules-users-owner(a)lists.jboss.org
>
> When replying, please edit your Subject line so 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 <mdean77(a)comcast.net>
> Subject: [rules-users] Class import problems
> To: rules-users(a)lists.jboss.org
> Message-ID: <579CA6A2-0048-434F-A863-10A2C4073FE8(a)comcast.net>
> Content-Type: text/plain; charset="us-ascii"
>
> 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
> type. But this is inside a large Eclipse project. Do I have to, in
> some fashion, separately jar the classes that I want to import in
> Drools? Does not appear to be the case when I look at the examples.
>
> package edu.utah
>
> #import edu.utah.cdmcc.entities.Patient;
> import edu.utah.cdmcc.entities.GlucoseDecision;
>
> rule "First Glucose Rule First File"
>
> when
> eval(1==1)
> then
> System.out.println("First Glucose Rule First File got called");
>
> end
>
>
>