]
Mark Proctor updated JBRULES-2854:
----------------------------------
Assignee: Geoffrey De Smet (was: Mark Proctor)
Fix Version/s: 5.2.0.CR1
the drools-expert documentation speaks of
kbase.addKnowledgePackages(...) but there is no information on how to create a kbase
------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2854
URL:
https://issues.jboss.org/browse/JBRULES-2854
Project: Drools
Issue Type: Task
Security Level: Public(Everyone can see)
Components: drools-core (expert), drools-docs
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Priority: Optional
Fix For: 5.2.0.CR1
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/ht...
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add( ResourceFactory.newClassPathResource( "licenseApplication.drl",
getClass() ),
ResourceType.DRL );
if ( kbuilder.hasErrors() ) {
System.err.println( builder.getErrors().toString() );
}
kbase.addKnowledgePackages( kbuilder.getKnowledgePackages() ); // <======= Where does
kbase come from?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: