Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1402

External POJOs not shown in Workbench after reopen the project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Data Object Modeller
    • None
    • Hide

      1. Follow http://mswiderski.blogspot.com/2014/02/reuse-your-business-assets-with-jbpm-6.html creating one POJO in "reusable project"
      2. LogOut / Log/in
      3. Goto the Data Modeler/Java Editor of the "top project"
      4. The POJO created in 1 doesn't show as a valid Type

      Show
      1. Follow http://mswiderski.blogspot.com/2014/02/reuse-your-business-assets-with-jbpm-6.html creating one POJO in "reusable project" 2. LogOut / Log/in 3. Goto the Data Modeler/Java Editor of the "top project" 4. The POJO created in 1 doesn't show as a valid Type

      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"

        1. reuse.tgz
          59 kB
        2. Reusable-1.0.jar
          3 kB
        3. Reusable-1.0.pom
          0.4 kB
        4. Dependency.jpeg
          Dependency.jpeg
          23 kB
        5. error-top.jpeg
          error-top.jpeg
          48 kB
        6. dependecy-top.jpeg
          dependecy-top.jpeg
          30 kB
        7. new-class-types.jpeg
          new-class-types.jpeg
          117 kB

              wmedvede@redhat.com Walter Medvedeo
              cavicop Jose Cavieres (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: