Just change your rules, increase the project version and build the jar. Then either add
the jar manually to KieRepository or make it available through maven, with kie-ci on the
class path. Once the new jar is reachable, you can just call KieContainer.updateToVersion
Make sure you read this thoroughly:
http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/KIEChap...
Mark
On 15 Jan 2014, at 14:01, Shinsekai <arenaux(a)genoscope.cns.fr> wrote:
Hi,
I use Drools (6.0.0) with KIE-api and I have a method to generate drl rules
from templates+hashmaps. These rules are stored in a List<String>.
Now, I would to pack up these generated rules and make them available to a
preexistant KieSession.
Thus, a KieSession could access to standard KieBases (with rules stored in
resource directories) AND to these generated rules (stored in an object, in
memory).
Is it possible to do that?
I precise I don't want to use org.drools.internal.* classes.
Regards,
Alexandre
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-add-generated-rules-from-templat...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users