pdl(a)agh.edu.pl wrote:
Hello all,
In Guvnor, the function export allows to dump the content of the
repository's assets in a xml file. Could somebody please point me towards
the pieces of code that allow this? More specifically, the code that allows
exporting rules and facts into xml?
Below is an example of rule exported in the repository_export.xml:
<sv:property sv:name="drools:content" sv:type="String">
<sv:value>
<rule> ... </rule>
</sv:value>
</sv:property>
All the best,
Pierre
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Hi, take a look into RulesRepoistory.java (drools-repository module),
for example dumpPacakgeFromRepositoryXML method. Its using JCR API
internally.
Cheers,
Jervis