The IDE allows you to define shared definitions (e.g. functions and imports)
in a file with extension .package (instead of the normal .drl). This
.package file should be in the same directory as the rules that use it, the
IDE is not capable of searching other folders at this point.
Kris
----- Original Message -----
From: "Tobias Abstreiter" <Tobias.Abstreiter(a)micronova.de>
To: <rules-users(a)lists.jboss.org>
Sent: Tuesday, June 24, 2008 6:41 PM
Subject: [rules-users] Eclipse plugin error: DRL-files in multiple folders?
Hi!
I have a problem using the drools Eclipse plugin 4.0.7 (with Drools
4.0.7).
In our project rules are located in different folders. One of it is called
"global" (containing many functions, imports, ...) whereon most of the
rules in the other folders depend. The package name is identical.
Running the application works fine but the Eclipse plugin reports many
"... cannot be resolved"-errors when I convert the Eclipse Java project
into a Drools project. I believe that the plugin has problems to find all
rule files. Is that possible?
Is there a way to tell the plugin to look in multiple rule-folders?
Thanks in advance,
Tobias
__________________________________________________________________
MicroNova electronic GmbH
Tobias Abstreiter
Telekommunikation & Netzmanagment
Unterfeldring 17
D-85256 Vierkirchen
Tel.: +49 (08139) 93 00-42
Fax.: +49 (08139) 93 00-80
eMail: Tobias.Abstreiter(a)micronova.de
Web:
http://www.micronova.de
Geschäftsführer: Josef W. Karl - Sitz der Gesellschaft: Jetzendorf
Registergericht: Ingolstadt - HRB-Nr.: 181 373
__________________________________________________________________
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users