<div dir="ltr"><div>Hi Mark,<br></div><div>thanks for you answer.<br></div><div>When you say deploy, I guess it is in the worbench&#39;s repository ?<br></div><div>Now I do not want to compile or whatever.<br></div><div>My application is running and while running, we want it to load new set of rules.<br>
</div><div>How is the KieContainer aware of the workbench address or stuff like that ?<br></div><div>I fully understand how all this work when redeploying a new version of my app and the drools package build by the drools-wb is seen as a maven dependency.<br>
</div><div>But in my use case, I do not see how it works. <br>I think I only miss this &quot;Ensure the JAR is in the KieRepository, or available to maven if using kie-ci&quot;<br>What is ensure ?<br>Sorry<br></div><div>Nicolas<br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/28 Mark Proctor [via Drools] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=4026988&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span><br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

        As per previous email:
<br><br>1) Create your original project with rules, build and deploy the jar.
<br>2) Load the JAR to create a KieContainer.
<br>3) add or change rules. Change the maven version, build and deploy the jar.
<br>4) Ensure the JAR is in the KieRepository, or available to maven if using kie-ci, and call KieContainer.updateToVersion( ReleaseId). 
<br><br>This will ensure your KieContainer is updated, and all existing stateful sessions will be incrementally updated too. Assuming no bugs :)
<br><br>On a side note, on master, there is a change to ensure that the Maven syntax for scanNow (with using the KieScanner) is obeyed. see
<br><a href="https://issues.jboss.org/browse/DROOLS-356" rel="nofollow" link="external" target="_blank">https://issues.jboss.org/browse/DROOLS-356</a><br><br>Mark
<br><br></div><div><div class="h5">On 28 Nov 2013, at 08:03, Nicolas Héron &lt;<a href="http://user/SendEmail.jtp?type=node&amp;node=4026983&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>&gt; wrote:
<br></div></div><div><div><div class="h5"><div class='shrinkable-quote'><br>&gt; Hi All,
<br>&gt; In previous Drools version (5.3, 5.4, 55 and 5.6RC1), it was possible to dynamically  update the package content  from Guvnor.
<br>&gt; The use case was :
<br>&gt; 1) Some rules are created/updated/deleted on Guvnor
<br>&gt; 2) A new snapshot is built
<br>&gt; 3) The drools runtime is notified and reload a new knowledgeBase from this new snapshot. (For this we developed some code to do that). No need to redeploy a new application. No need for IT people to be involved.
<br>&gt; 4) It was possible to see the content of each snapshot and compare the content of different snapshot.
<br>&gt; Now in Version 6 :
<br>&gt; Step 1 : no change
<br>&gt; Step 2 : as all in Maven =&gt; We build a new maven build an increment the version number
<br>&gt; Step 3 : is is possible to do that ? How do I set in all that the new Drools-wb maven repo ?
<br>&gt; Step 4 : how can I do that from the UI ?
<br>&gt; 
<br>&gt; 
<br>&gt; Thanks in advance
<br>&gt; Nicolas Héron
</div></div></div>&gt; _______________________________________________
<br>&gt; rules-users mailing list
<br>&gt; <a href="http://user/SendEmail.jtp?type=node&amp;node=4026983&amp;i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></div><br><br>_______________________________________________
<br>rules-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&amp;node=4026983&amp;i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://drools.46999.n3.nabble.com/rules-users-Drools-6-and-dynamic-update-tp4026966p4026983.html" target="_blank" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/rules-users-Drools-6-and-dynamic-update-tp4026966p4026983.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Drools: User forum, email <a href="/user/SendEmail.jtp?type=node&node=4026988&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from Drools, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>


        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                Nicolas Héron
                        </div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Drools-6-and-dynamic-update-tp4026966p4026988.html">Re: [rules-users] Drools 6 and dynamic update</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>