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 when needed and regenerate the sessions using the new rules. 
Why do you want to have all the repo?


On Wed, Jul 23, 2014 at 1:55 AM, ilguapo <ilguapo@gmail.com> wrote:
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 repository_export.zip file when rules have changed.

I haven't been able to find a way to read a repository_export.zip file with
the current API.  They only talk about drl, pkg, etc..etc but no zip files.
I could potentially take the zip file, unzip it to an XML and maybe read
this file??

Any ideas would be really helpful.

Regards,
Ilguapo



--
View this message in context: http://drools.46999.n3.nabble.com/Including-repository-in-a-WAR-file-tp4030450.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



--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -