[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 08:20:02 EDT 2015


    [ https://issues.jboss.org/browse/DROOLS-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098297#comment-13098297 ] 

Jose Cavieres edited comment on DROOLS-658 at 8/14/15 8:19 AM:
---------------------------------------------------------------

The problem is happening in 6.3.CR1
Steps to reproduce:
1. Upload attached Reusable-1.0.jar ("prueba-Reusable-1.0")
2. In workbench create a new project "prueba-TopProject-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


was (Author: jcavieres):
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-TopProject-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, 6.3.0.CR1
>         Environment: linux 64 bits, EAP 6.4, java version "1.6.0_45"
>            Reporter: Jose Cavieres
>            Assignee: Michael Anstis
>         Attachments: dependecy-top.jpeg, Dependency.jpeg, error-top.jpeg, Reusable-1.0.jar, Reusable-1.0.pom, 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