Yes, you are right, I want to add and remove rules in a drl, not generate another drl again.
-----邮件原件----- 发件人: Michael Neale [mailto:[EMAIL PROTECTED] 发送时间: 2006年4月29日 15:09 收件人: user@drools.codehaus.org 主题: Re: [drools-user] Question: implement Dynamic runtime addition and removal of rules I am not quite sure what you mean, but do you mean that say you have a drl file with 5 rules, and later you want to make it 6 rules? On 4/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Ok, I see the example,thank you. > but the example implement dynamic addition and removal rules with many drl > files, > May I add rule in one drl file? > RuleBaseImpl Class provide addRule method, would you please tell me how to > use it? > > Regards, > wangwei > > -----邮件原件----- > 发件人: Michael Neale [mailto:[EMAIL PROTECTED] > 发送时间: 2006年4月29日 11:24 > 收件人: user@drools.codehaus.org > 主题: Re: [drools-user] Question: implement Dynamic runtime addition and > removal of rules > > In the IntegrationCases class, you can see testDynamicAddition, > testDynamicRemoval examples - they are part of the test suite. > > On 4/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Thanks Michael, but I could not find the example from jboss web. Could > you > > help me? My project need this function. > > > > Regards, > > Wangwei > > > > > > test_DynamicRules... examples in the integration tests show how its > done. > > > > On 4/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Dear user group: > > > > > > I was failed in implement Dynamic runtime addition and removal > > of > > > rules. > > > I didn`t know how to do it, Is there be some full example ? > > > I'm eager for your help. > > > > > > Thanks > > > wangwei > > > > > > > > > > > >