<meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div>Hola Salaboy!</div><div><br></div><div>Thanks for your last comment. &nbsp;I was busy with other stuff but now I'm back with this problem and would like to ask if this scenario would work in your opinion.</div><div><br></div><div>The repository_export.zip file is stored on Subversion. &nbsp;Is there a maven plug-in that will take that file, convert it to an XML file and then compile this file into a PKG file? &nbsp;After that, we can move that file to a certain area inside the WAR file and then your idea works.</div><div><br></div><div>Later for rule changes, a GUI will be provided where they can upload a new PKG file to replace the old rules.</div><div><br></div><div>Any ideas will be appreciated.</div><div><br></div><div>Muchas gracias!</div><div>Horacio</div><div><br></div><br><div><div>On Jul 23, 2014, at 5:47 PM, salaboy [via Drools] &lt;<a href="/user/SendEmail.jtp?type=node&node=4030708&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite">

        <div dir="ltr">You can build the PKGs in guvnor and then just move the PKGs to a accesible server by the app that will load the rules in those packages. That will do the work IMO.<div><br></div><div>Regards</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Wed, Jul 23, 2014 at 2:39 PM, ilguapo <span dir="ltr">&lt;&lt;a href=&quot;x-msg://11/user/SendEmail.jtp?type=node&amp;amp;node=4030466&amp;amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot; link=&quot;external&quot;&gt;[hidden email]</a>&gt;</span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em" class="gmail_quote">

Thank you for replying Toni and Salaboy.<br>
<br>
This is the reason why we want to do that:<br>
<br>
-We already have an application that uses Guvnor in production. &nbsp;The problem<br>
is Guvnor is hosted on a different machine which we are losing therefore we<br>
thought about an idea of completely eliminating Guvnor by including the<br>
repository in the WAR so that we could read it the first time the<br>
application starts. &nbsp;As you know, this is being done by pointing to the<br>
Guvnor URL at this time.<br>
<br>
-We actually wanted to leave Guvnor in the dev environment so that<br>
developers could add more rules to the application whenever necessary by<br>
providing an Import feature to read the repository_export.zip file into the<br>
application to replace the old repository.<br>
<br>
-If we do this, we will only need Guvnor in the dev environment which is<br>
controlled by us and will be eliminated from all other environments. (Will<br>
reduce a lot of paper work at a government site)<br>
<br>
I like Toni's idea of building the repository using Guvnor in the dev<br>
environment but how do you read the repository the first time the app<br>
starts? &nbsp;This is done now by getting the package from Guvnor thru a URL.<br>
That was the only reason to store the repository inside the WAR file so that<br>
the rules could be read at initialization time.<br>
<br>
Any pointers would be really appreciated especially how to update the<br>
package which according to Toni is easy :-)<br>
<br>
Regards,<br>
Ilguapo<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Including-repository-in-a-WAR-file-tp4030450p4030458.html" target="_blank" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/Including-repository-in-a-WAR-file-tp4030450p4030458.html</a><br>


<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at <a href="http://Nabble.com" target="_top" rel="nofollow" link="external">Nabble.com</a>.<br>
_______________________________________________<br>
rules-users mailing list<br>
&lt;a href=&quot;x-msg://11/user/SendEmail.jtp?type=node&amp;amp;node=4030466&amp;amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot; link=&quot;external&quot;&gt;[hidden email]</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">&nbsp;- MyJourney @ <a href="http://salaboy.wordpress.com/" target="_blank" rel="nofollow" link="external">http://salaboy.com</a><div>&nbsp;- Co-Founder @ <a href="http://www.jugargentina.org/" target="_blank" rel="nofollow" link="external">http://www.jugargentina.org</a><br>

&nbsp;- Co-Founder @ <a href="http://www.jbug.com.ar/" target="_blank" rel="nofollow" link="external">http://www.jbug.com.ar</a><br>&nbsp;<br>&nbsp;- Salatino "Salaboy" Mauricio -</div></div>
</div>
<br>_______________________________________________
<br>rules-users mailing list
<br>&lt;a href=&quot;x-msg://11/user/SendEmail.jtp?type=node&amp;amp;node=4030466&amp;amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot; link=&quot;external&quot;&gt;[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_top" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/rules-users</a>

        
        
        
        <br>
        <br>
        <hr noshade="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/Including-repository-in-a-WAR-file-tp4030450p4030466.html" target="_top" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/Including-repository-in-a-WAR-file-tp4030450p4030466.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Including repository in a WAR file, <a href="" target="_top" 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="_top" link="external">NAML</a>
        </div></blockquote></div><br>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/Including-repository-in-a-WAR-file-tp4030450p4030708.html">Re: [rules-users] Including repository in a WAR file</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/>