Details
-
Type:
Task
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Drools 5.0.0 M4,Windows XP
-
Number of attachments :
Description
For Drools 4.0.7 : When .rf file is created(with properties) and saved then .rfm file is generated automatically in eclipse with plugins for 4.0.7.
For Drools 5.0.0.M4 : When .rf file is created(with properties) and saved then .rfm file is not at all generated in eclipse with plugins for 5.0.0.M .
Is there any plugin missing for eclipse.. or anyother reason?
Any help is highly appreciated.
Regards,
Samiu
I have resolved the issue.
In drools 5 we need not to use .rfm file for rule flow instead .rf file is used.
But then the syntax slightly changes....
old syntax:
builder.addRuleFlow(new InputStreamReader(EvalDTAndRF.class.getResourceAsStream("/PremiumCalculationRF.rfm")));
new syntax:
builder.addProcessFromXml(new InputStreamReader(EvalDTAndRF.class.getResourceAsStream("/PremiumCalculationRF.rf")));