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

Michael Anstis (JIRA) issues at jboss.org
Fri Dec 19 10:26:30 EST 2014


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

Michael Anstis commented on DROOLS-658:
---------------------------------------

I tried with 6.2.0.CR3 and it seems to work fine.

I uploaded a JAR to the Artifact Repository, created a new Project adding the JAR as a dependency.

In both the Data Object Modeller and a Guided Rule Editor I could use the types in the JAR. In the Data Object Modeller the classes were listed as " - ext - XYZ" (as you state) and in the Guided Rule Editor I could import the type and author a rule with it. I logged out and back in and checked both the Data Object Modeller and Guided Rule Editor. Both worked as they had initially.  

> 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.11#6341)


More information about the jboss-jira mailing list