I have parent drl file with:

<?xml version="1.0"?>
<!DOCTYPE rule-set [ 
    <!ENTITY rules-rulefile1 SYSTEM "rulefile1.drl" >
         <!ENTITY rules-rulefile2 SYSTEM "rulefile2.drl" >
]>
<rule-set name="RuleSet1" 
          xmlns="http://drools.org/rules";
         
xmlns:java="http://drools.org/semantics/java";
         
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance";
          xs:schemaLocation="http://drools.org/rules
rules.xsd
                            
http://drools.org/semantics/java java.xsd">

        &rules-rulefile1;
        &rules-rulefile2;
        
</rule-set>

rulefile1.drl and rulefile2.drl have simply rules
defined.
And both rulefile1.drl and rulefile2.drl - I use them
in several other parent
rule files.

Because of that, to avoid having to add
<java:import>... in each parent file,
I use the "import xxx.yy" in the <java:consequence>.
This has been working fine for all previous releases
of drools - until
I got the Drools 2.5. With that, it gives compile
error for the import that is within
the consequence - Has the support been removed for
import within consequence?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to