[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4326) Allow to specify a directory with rule resources to Seam RuleBase

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Sat Aug 1 20:04:41 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-4326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12478535#action_12478535 ] 

Stuart Douglas commented on JBSEAM-4326:
----------------------------------------

You can currently do this by using <drools:rule-agent>

> Allow to specify a directory with rule resources to Seam RuleBase
> -----------------------------------------------------------------
>
>                 Key: JBSEAM-4326
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4326
>             Project: Seam
>          Issue Type: Feature Request
>    Affects Versions: 2.2.0.CR1
>            Reporter: Tihomir Surdilovic
>            Assignee: Tihomir Surdilovic
>             Fix For: 2.2.1.CR1
>
>
> Currently org.jboss.seam.drools.RuleBase allows to add a list of rule resources individually, for example:
> <drools:rule-base name="policyPricingRules" dsl-file="policyPricing.dsl">
>     <drools:rule-files>
>         <value>/my/rules/dir/policyPricingRules.drl</value>
>        <value>/my/rules/dir/policyPricingRules2.drl</value>
>    </drools:rule-files>
> </drools:rule-base>
> However when you have a large number of rules it would be easier if we could specify the directory where RuleBase can find rule resources and register them, for example:
> <drools:rule-base name="policyPricingRules" dsl-file="policyPricing.dsl">
>     <drools:rule-files-dir>
>         <value>/my/rules/dir<value>
>    </drools:rule-files>
> </drools:rule-base>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list