[rules-users] Re: Class import problems

J Michael Dean mdean77 at comcast.net
Sun Nov 25 13:19:43 EST 2007


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 at lists.jboss.org wrote:

> Send rules-users mailing list submissions to
> 	rules-users at 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 at lists.jboss.org
>
> You can reach the person managing the list at
> 	rules-users-owner at 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 at comcast.net>
> Subject: [rules-users] Class import problems
> To: rules-users at lists.jboss.org
> Message-ID: <579CA6A2-0048-434F-A863-10A2C4073FE8 at 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
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071124/bc9a627d/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> End of rules-users Digest, Vol 12, Issue 65
> *******************************************




More information about the rules-users mailing list