[jboss-jira] [JBoss JIRA] (DROOLS-658) External POJOs not shown in Workbench after reopen the project
Jose Cavieres (JIRA)
issues at jboss.org
Tue Aug 18 18:08:26 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099632#comment-13099632 ]
Jose Cavieres commented on DROOLS-658:
--------------------------------------
I found a workaround. When the project is created in workbench a file named "package-names-white-list" is created. I deleted it, log out/log in, and the problem disappeared. That file wasn't on previous versions, so I think that's the root of the problem.
The problem (I know that this was not reproducible before) is that the imported classes are shown as types for new fields only the time one creates the Data Object. If one logout/login again, the "-ext" classes are no longer shown for existing Data Objects.
> 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, new-class-types.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