Also, as part of our build process, we used
org.drools.contrib.DroolsCompilerAntTask in our maven file to compiled all
.rf file into a single ruleflow.flow file , which in turn was added to our
RuleBase in the following fashion:
DroolsObjectInputStream ruleFlowStream = new
DroolsObjectInputStream(
new BufferedInputStream(
resourceLoader.getResource(
"classpath:ruleflow.flow"
).getInputStream()
)
);
org.drools.rule.Package ruleFlow =
(org.drools.rule.Package)ruleFlowStream.readObject();
ruleBase.addPackage(ruleFlow);
How do we add it to KnowledgeBase in the new 5.3 API? Do we need to make any
changes for our Maven task?
--
View this message in context:
http://drools.46999.n3.nabble.com/ruleflow-and-bpmn-files-issues-with-dro...
Sent from the Drools: User forum mailing list archive at
Nabble.com.