[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2940) Kowledge Agent puts all assets in just one package
Esteban Aliverti (JIRA)
jira-events at lists.jboss.org
Tue Apr 5 12:57:33 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593795#comment-12593795 ]
Esteban Aliverti commented on JBRULES-2940:
-------------------------------------------
When running in with newInstance = false (incremental changeset processing), the agent is reusing the same kbuilder for all the resources.
After compiling each resource it is getting the created package using:
kbuilder.getKnowledgePackages().iterator().next()
This is obviously wrong because the created package is NOT ALWAYS the first package in the builder.
> Kowledge Agent puts all assets in just one package
> --------------------------------------------------
>
> Key: JBRULES-2940
> URL: https://issues.jboss.org/browse/JBRULES-2940
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.1.1.FINAL, 5.2.0.M1
> Reporter: Esteban Aliverti
> Assignee: Esteban Aliverti
> Labels: kagent, knowledge_agent, package
> Fix For: 5.2.0.M2
>
>
> If you add different resources to kagent containing assets defined in different packages, the result is just one package (the first package created by the kgent) containing all the assets defined in all the resources.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list