Hi  All,
 
I am really new to drools 4.0,
I am trying to use guided editor for business rules (.brl) in eclipse 3.3 .
First I am converting the .brl into .drl using BRXMLPersistence and BRDRLPersistence then when calling

addPackageFromDrl() method of  PackageBuilder it throws

org.drools.compiler.PackageBuilder$MissingPackageNameException: Missing package name for rule package.

I have added the package and import statements in "rule.package" but it not able to find the package after it got converted to .drl.

 

Is this the approach we follow? If yes How to resolve this issue.

If no what is the approach can some one send me sample code for this.

thanks in advance

satnew