I head previously read that but didn't spot the bit that mentions creating
from a drl defined as a String. I take it this can be done from
KieFileSystem.
String rules = ...
KieFileSystem kfs = kieServices.newKieFileSystem();
kfs.write(kieServices.getResources().newReaderResource(new
StringReader(rules)));
This throws an exception complaining that the resource doesn't have a source
or target path set.
Is there a way to push a dynamically created drl into this without writing
it to disk first?
--
View this message in context:
http://drools.46999.n3.nabble.com/drools-6-equivalent-of-addKnowledgePack...
Sent from the Drools: User forum mailing list archive at
Nabble.com.