each time you wish to update, you need to increase the model’s version. You can 
do that with your existing kiebuilder and kiefilesystem. Then buildAll and make 
sure it’s added to KieRepository (if it’s not done automated, I forget if it is 
or isn’t). Once the new jar is in the  KieRepository you can call 
kieContainer.updateToJar; and it will upgrade the changed kiebases.

Mark
On 23 Feb 2014, at 04:37, lukes <mail2lok...@gmail.com> wrote:

> Sorry for the confusion, what i actually meant was : lets say i started my
> application and with the sample code i wrote above, i created n kieBases and
> everything works fine, but now in the middle i want to create another
> kieBase and deploy a new drl file in that kieBase on the fly, and want to
> deploy on the same application or module which is running. Do i need to
> create a new jar now ? Or can i write in the same kieFileSystem and buildAll
> ?
> 
> 
> 
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/Best-way-to-have-multiple-kieBase-dynamically-tp4028247p4028252.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to