[rules-users] How does SpreadSheetCompiler work?

Minzeng Liang mzliang723 at gmail.com
Mon Apr 25 06:07:57 EDT 2011


No,They're contained by two cells which is next to each other.

On 22 April 2011 15:38, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:

> Is it a single cell containing "RuleSet com.sample"? Preceding everything
> else?
>
> Perhaps we should look at the first few rows converted to CSV.
>
> -W
>
> 2011/4/22 Minzeng Liang <mzliang723 at gmail.com>:
> > I've checked that before you said,but found no space, and it's still
> > 'package rule_table' after compiling.
> > Are there other possibilities?
> >
> > Thanks.
> >
> > 2011/4/21 Wolfgang Laun <wolfgang.laun at gmail.com>
> >>
> >> Check whether the cell "RuleSet com.sample" has leading  spaces. Spaces
> >> were not trimmed in 5.1.1 or earlier.
> >> -W
> >>
> >> On 21 April 2011 13:39, Jay <mzliang723 at gmail.com> wrote:
> >>>
> >>> Hi, All!
> >>>
> >>> I got a question with SpreadSheetCompiler now.
> >>>
> >>> The story is:
> >>> I have two Decision Tables,which are SOP.xls and quotation.xls. When I
> >>> try
> >>> to write a class,named as XLSConverter.java to compile them to drl rule
> >>> files,
> >>>
> >>> I found a strange thing--
> >>>
> >>> 1.The RuleSet of SOP.xls is 'com.my.booking.as.drools', after compiling
> >>> SOP.xls, the 'package' value of compiled drl file from SOP.xls is
> >>> 'com.my.booking.as.drools';
> >>> And if I change RuleSet of it to 'com.sample', after compiling, package
> >>> value is also 'com.sample', which is normal;
> >>>
> >>> 2.But while RuleSet of quotation.xls is 'com.sample', after compiling
> >>> quotation.xls, the package value of compiled drl file from
> quotation.xls
> >>> is
> >>> 'rule_table';
> >>> And no matter what I change RuleSet of it to, after compiling it, its
> >>> package value is still 'rule_table'.
> >>>
> >>> Could anybody please help me to explain why is that?
> >>>
> >>> Any help is appreciated!
> >>>
> >>> Yours sincerely,
> >>> Jay
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://drools.46999.n3.nabble.com/How-does-SpreadSheetCompiler-work-tp2846694p2846694.html
> >>> Sent from the Drools: User forum mailing list archive at Nabble.com.
> >>> _______________________________________________
> >>> rules-users mailing list
> >>> rules-users at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/rules-users
> >>
> >>
> >> _______________________________________________
> >> rules-users mailing list
> >> rules-users at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/rules-users
> >>
> >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
> _______________________________________________
> 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/20110425/64995a89/attachment.html 


More information about the rules-users mailing list