I was digging the source code a little and I found that the repo is initialized with default data by JackrabbitRepositoryConfigurator.setupRulesRepository() inside drools-repository module. Unfortunately, there is no way to hook custom behavior there.<div>
You can always modify the source code, but you must be aware of the implications of that. <br><br><div class="gmail_quote">On Wed, Apr 21, 2010 at 3:56 AM, fmetral <span dir="ltr"><<a href="mailto:fmetral@sopragroup.com">fmetral@sopragroup.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Thanks Esteban for your answer.<br>
<br>
I agree with you, this solution is a little bit awful. :)<br>
When the repository is installed for the first time, the status Draft is<br>
available. So in my mind, this status may be contained in the WAR and not<br>
just in the repository.<br>
What do you think about this?<br>
<br>
I really 'd like to have such feature.<br>
If it is totally impossible to do that currently, maybe it is still possible<br>
to include it in M2?<br>
<br>
Regards,<br>
Florent<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Add-some-default-status-tp732084p739277.html" target="_blank">http://n3.nabble.com/Add-some-default-status-tp732084p739277.html</a><br>
</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
</div>