Re: [rules-users] Including repository in a WAR file

2014-08-22 Thread ilguapo
Hola Salaboy! Thanks for your last comment. 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. The repository_export.zip file is stored on Subversion. Is there a maven plug-in that will take that file, convert it

Re: [rules-users] Including repository in a WAR file

2014-07-23 Thread Mauricio Salatino
Hi, I don't think that it will be possible the repository is a JCR repository in 5.3, so there is no point in storing all the meta information from the repository if the only thing you need are the rules. You can always ship the rules inside the web application, provide a way to upload new rules

Re: [rules-users] Including repository in a WAR file

2014-07-23 Thread Toni Rikkola
This is possible, but you will need to add the ability to compile the repository_export.zip. This means you need to reuse a lot of the Guvnor codes for resolving enums, package imports, guided rules and so on. If I guess our needs correctly. You are better taking a different approach. Build the

Re: [rules-users] Including repository in a WAR file

2014-07-23 Thread ilguapo
Thank you for replying Toni and Salaboy. This is the reason why we want to do that: -We already have an application that uses Guvnor in production. The problem is Guvnor is hosted on a different machine which we are losing therefore we thought about an idea of completely eliminating Guvnor by

Re: [rules-users] Including repository in a WAR file

2014-07-23 Thread Mauricio Salatino
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. Regards On Wed, Jul 23, 2014 at 2:39 PM, ilguapo ilgu...@gmail.com wrote: Thank you for replying Toni and Salaboy. This is the

[rules-users] Including repository in a WAR file

2014-07-22 Thread ilguapo
I'm using Drools 5.3.0 I'd like to find out if the following scenario is possible: - Include the repository_export.zip file inside my application WAR file. This way, Guvnor won't be necessary. - Provide a special upload page just like Guvnor's Import/Export to upload a completely new