[jboss-jira] [JBoss JIRA] (DROOLS-658) External POJOs not shown in Workbench after reopen the project

Jose Cavieres (JIRA) issues at jboss.org
Fri Aug 14 07:57:03 EDT 2015


     [ https://issues.jboss.org/browse/DROOLS-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jose Cavieres reopened DROOLS-658:
----------------------------------


The problem is happening 6.3.CR1
Steps to reproduce:
1. Upload attached Reusable-1.0.jar (GAV "prueba-Reusable-1.0")
2. In workbench create a new project "prueba-Upper-1.0"
3. Add Reusable-1.0 as dependency
4. "In knowledge base and sessions" create a new default kbase including "baseReusable" , add * in packages and add a new default ksession, save
5. "Unable to build KieBase, could not find include: baseReusable" is shown in the messages

A couple of images showing the problem are also included

> External POJOs not shown in Workbench after reopen the project
> --------------------------------------------------------------
>
>                 Key: DROOLS-658
>                 URL: https://issues.jboss.org/browse/DROOLS-658
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.1.0.Final, 6.2.0.CR2
>         Environment: linux 64 bits
>            Reporter: Jose Cavieres
>            Assignee: Michael Anstis
>             Fix For: 6.2.0.CR3
>
>         Attachments: reuse.tgz
>
>
> In order to reuse some POJOs, I followed the procedure defined in
> http://mswiderski.blogspot.com/2014/02/reuse-your-business-assets-with-jbpm-6.html
> and added a POJO to the "reusable project" (named Papito)
> Everything works fine the first time one uses those clases in the "top project" (named Hijita) . POJOs of the "reusable project" are prefixed with the string "- ext -" in the Java editor of the "top project" just as explained in "15.7.6.6.3. Using the external objects" of the document:
> http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/wb.Workbench.html#wb.DataModeller
> The problem is that only happens the first time. If one logout and the login again, the "-ext" classes are no longer shown as valid Types por the POJOs in the "top project" 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list