<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Sorry I am the "silent partner" in this - as Michael said if you use
the a dsl and its "then" scope expression in your rules, a change to
the dsl like for example:<br>
<br>
[then] Augment {var} price = ${var}.price += 5<br>
to <br>
[then] Augment {var} price = ${var}.price += 10<br>
<br>
would be considered a global change across all rules using this dsl
in your package that use that expression. <br>
<br>
You could as Michael also said make direct changes in your exported
repository.xml and then import it back to Guvnor, but you will loose
version history and would need to re-import all for fact model jars
and any other assets that are not text so this is not recommended ;)<br>
<br>
Thanks.<br>
Tihomir<br>
<br>
<br>
<br>
<br>
On 3/28/11 11:22 AM, Michael Anstis wrote:
<blockquote
cite="mid:AANLkTinDgiGWkQMnUBB0RVRnPm-C=sPMGBOdxKsFC4Hi@mail.gmail.com"
type="cite">I think the view would have been if rules used DSL
like "There is a priced beverage=Beverage( $p : price > 200)"
then you could change the "200" to something else and all rules
using the DSL would automagically change.<br>
<br>
My colleague, who is choosing to remain silent here ;), also had
the good idea that an export is only XML, that you could parse and
update before re-importing; however you'd loose all your history.<br>
<br>
Cheers,<br>
<br>
Mike<br>
<br>
<div class="gmail_quote">On 28 March 2011 16:09, FrankVhh <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:frank.vanhoenshoven@agserv.eu">frank.vanhoenshoven@agserv.eu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Mike,<br>
<br>
Thanks again for your swift reply.<br>
<br>
I have one more question, though :-) What do you mean by "only
need to<br>
update DSL"? I really don't get this. Imo, DSL are just rules
with a shirt<br>
on.<br>
<br>
Regards,<br>
Frank<br>
<font color="#888888"><br>
--<br>
View this message in context: <a moz-do-not-send="true"
href="http://drools-java-rules-engine.46999.n3.nabble.com/Rule-storage-tp2742515p2743501.html"
target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Rule-storage-tp2742515p2743501.html</a><br>
</font>
<div>
<div class="h5">Sent from the Drools - User mailing list
archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>