1 Reply Latest reply on Nov 9, 2013 1:28 AM by

    [forge-dev] Found the issue with Hibernate Tools      ConnectionProfileManagerProvider CCE

    lincolnthree

      The issue was not with the CLAC, but rather the fact that the

      forge2.runtime ClassLoader did not contain the necessary classes, thus the

      CLAC did not know of their existence, and created a proxy with no

      interfaces.

       

      https://github.com/forge/jbosstools-forge/commit/87c6553da

       

      Addon APIs must be added to the forge2.runtime module. If this is an issue,

      and other JBT/Eclipse UI extensions need their classes made available (say

      for an extension API), we will need to re-visit the way in which we are

      instantiating the CLAC and see if it still makes sense. We may need to add

      a CLAC extension point to allow making a given invocation with the TCCL (or

      fall back to the TCCL if nothing else resolves, currently we ignore TCCL.)

       

      Until then, the above is what must be done.

       

      --

      Lincoln Baxter, III

      http://ocpsoft.org

      "Simpler is better."

       

        • 1. Re: [forge-dev] Found the issue with Hibernate Tools      ConnectionProfileManagerProvider CCE

          Great! Thx Lincoln!

           

          I think a CLAC extension point makes sense, as well as the extension point for registering services like the one we talked about on IRC. I'll experiment a bit with it.

           

          Cheers,

          Koen

           

           

          Op 9-nov.-2013, om 00:08 heeft Lincoln Baxter, III het volgende geschreven:

           

          The issue was not with the CLAC, but rather the fact that the forge2.runtime ClassLoader did not contain the necessary classes, thus the CLAC did not know of their existence, and created a proxy with no interfaces.

           

          https://github.com/forge/jbosstools-forge/commit/87c6553da

           

          Addon APIs must be added to the forge2.runtime module. If this is an issue, and other JBT/Eclipse UI extensions need their classes made available (say for an extension API), we will need to re-visit the way in which we are instantiating the CLAC and see if it still makes sense. We may need to add a CLAC extension point to allow making a given invocation with the TCCL (or fall back to the TCCL if nothing else resolves, currently we ignore TCCL.)

           

          Until then, the above is what must be done.

           

          --

          Lincoln Baxter, III

          http://ocpsoft.org

          "Simpler is better."

          _______________________________________________

          forge-dev mailing list

          forge-dev@lists.jboss.org

          https://lists.jboss.org/mailman/listinfo/forge-dev