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:

[then] Augment {var} price = ${var}.price += 5
to
[then] Augment {var} price = ${var}.price += 10

would be considered a global change across all rules using this dsl in your package that use that expression.

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 ;)

Thanks.
Tihomir




On 3/28/11 11:22 AM, Michael Anstis wrote:
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.

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.

Cheers,

Mike

On 28 March 2011 16:09, FrankVhh <frank.vanhoenshoven@agserv.eu> wrote:
Mike,

Thanks again for your swift reply.

I have one more question, though :-) What do you mean by "only need to
update DSL"? I really don't get this. Imo, DSL are just rules with a shirt
on.

Regards,
Frank

--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Rule-storage-tp2742515p2743501.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users