[rules-users] Rules doubt
Puneet duggal
duggalpunit at gmail.com
Tue May 4 06:12:14 EDT 2010
drlFile = BusinessRuleUtils.createCombinedDrlDocument(id,map.get(id));
PackageBuilder PACKAGE_BUILDER = new
PackageBuilder(BUILDER_CONFIGURATION);
org.drools.rule.Package pkg = null;
PACKAGE_BUILDER
.addPackageFromDrl(new StringReader(drlFile));
if (PACKAGE_BUILDER.hasErrors()) {
DSM_LOGGER
.logFatal("Error has occured while building package. For Parameter
ID : "
+ id
+ " Error details are : "
+ PACKAGE_BUILDER.getErrors()
.toString());
} else {
pkg = PACKAGE_BUILDER.getPackage();
RULEBASE.addPackage(pkg);
DSM_LOGGER
.logInfo("Package created for Component Prmr ID : "
+ id);
}
This is the code which i am using at it is not giving
any error at the time creating the drl file.it is also
not giving any error at the time of calling of execute()
method , but rules are not executed .
On 5/4/10, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:
>
> Anatoly,
>
> please note that I wrote "please" to Puneet, which is usually not
> considered
> as being "impolite". Also, kindly note that I asked for more information,
> which,
> in my book, is not "inconsiderate", as simply deleting Puneet's post might
> have been.
>
> I do resent being called a "hater", and I'll let the community judge
> whether
> my (admittedly ironic) kidding is "hateful". Somehow, however, posters have
> to
> be admonished to state their problem more detailed, without people on the
> list having to waste their time playing guessing games or writing replies
> begging
> for more information.
>
> -W
>
> PS: A you can see now, it was not a question of "debugging", and so you
> have wasted
> your time on a "simple question". :-)
>
>
>
> On Tue, May 4, 2010 at 5:10 AM, tolitius <webakaunt at gmail.com> wrote:
>
>>
>>
>> @Wolfgang,
>>
>> No need to be a hater Wolfgang, the question is simple. I agree,
>> examples would be helpful, but that is NOT how you grow a friendly
>> community.
>>
>> Community is the biggest problem JBoss has. Why is it so inhumanly
>> difficult to be polite and considerate?
>>
>> /Anatoly
>>
>> --
>> View this message in context:
>> http://drools-java-rules-engine.46999.n3.nabble.com/Rules-doubt-tp774023p775029.html
>> Sent from the Drools - User 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100504/6e768d77/attachment.html
More information about the rules-users
mailing list