[rules-users] Re: [drools-user] More Fun with JBoss Rules IDE and JBoss Rules in general
Ronald R. DiFrango
ron.difrango at gmail.com
Thu May 24 13:46:06 EDT 2007
Yeah, I like that idea as well!
On 5/24/07, Edson Tirelli <tirelli at post.com> wrote:
>
>
> Geoffrey, that is actually a nice Idea... :)
>
> Will look at implementing it.
>
> Thanks,
> Edson
>
> 2007/5/24, Geoffrey Wiseman < geoffrey.wiseman at gmail.com>:
> >
> > Just a thought -- you could always do something like include the
> > string's hashcode in the rulename, to ensure that two names that are similar
> > with special-character differences won't conflict with each other.
> >
> > On 5/24/07, Edson Tirelli <tirelli at post.com > wrote:
> > >
> > >
> > > Ronald,
> > >
> > > Special characters in the rule names are replaced by '_' as a
> > > class will be created with that name. So yes, the given names will generate
> > > conflicts.
> > > I'm not sure we can do much about it, as transparently generating
> > > unique names may cause silent unexpected problems.
> > >
> > > For now, my recommendation would be for you to use a valid
> > > character to differentiate rule names (like prefixing them with numbers or
> > > letters, etc). If you or anyone have any better idea on how to handle such
> > > situations, just suggest and we can analyze the viability of implementing
> > > it.
> > >
> > > []s
> > > Edson
> > >
> > > 2007/5/24, Ronald R. DiFrango <ron.difrango at gmail.com >:
> > > >
> > > > All,
> > > >
> > > > I am now getting the following error:
> > > >
> > > > The type Rule_RNR_Qty____RNR_Adjustment_Qty___100__Tolerance_0 is
> > > > already defined
> > > > RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules rtv.drl
> > > > line 758 1180017847586 29221
> > > >
> > > > But I do not have this defined twice, well at least not in my mind.
> > > > Here are the two rule names that are conflicting:
> > > >
> > > > "RNR Qty == RNR Adjustment Qty : 100% Tolerance"
> > > > "RNR Qty >= RNR Adjustment Qty : 100% Tolerance"
> > > >
> > > > So it appears as though the rule names are not taking into account
> > > > "special" characters.
> > > >
> > > > Is this to be expected?
> > > >
> > > > Ron
> > > >
> > >
> > >
> > >
> > > --
> > > Edson Tirelli
> > > Software Engineer - JBoss Rules Core Developer
> > > Office: +55 11 3529-6000
> > > Mobile: +55 11 9287-5646
> > > JBoss, a division of Red Hat @ www.jboss.com
> > > _______________________________________________
> > > rules-users mailing list
> > > rules-users at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/rules-users
> > >
> > >
> >
> >
> > --
> > Geoffrey Wiseman
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
>
> --
> Edson Tirelli
> Software Engineer - JBoss Rules Core Developer
> Office: +55 11 3529-6000
> Mobile: +55 11 9287-5646
> JBoss, a division of Red Hat @ www.jboss.com
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070524/c95397fa/attachment.html
More information about the rules-users
mailing list