5 Replies Latest reply on Jan 23, 2006 10:22 AM by maxandersen

    Does jBPM Designer depend on Hibernate?

      I'm mainly curious if the jBPM Designer plugin is doing any sort of bundling of Hibernate JARs, and if so... why isn't that dependency being shared (i.e. org.hibernate.eclipse should be a part of the plugin classpath instead?)

        • 1. Re: Does jBPM Designer depend on Hibernate?
          koen.aers

          The designer itself is not dependent on Hibernate in any way. The bundled jBPM core plugin is indeed dependent on Hibernate. So there *is* a number of Hibernate jars in the plugin download, but these are the jars that are included in the jBPM distribution. They do not interfere with other JBoss IDE plugins.
          Directly depending on the org.hibernate.eclipse would complicate things a lot IMO as it would create extra configuration problems.

          Regards,
          Koen

          • 2. Re: Does jBPM Designer depend on Hibernate?

            The standalone IDE component bundles always include all of their dependencies, and as long as we're synced up on versions, this shouldn't be a problem right?

            (The AOP and EJB3 plugins for instance depend on certain peices of JBossIDE, that are re-bundled specifically with those plugins)

            • 3. Re: Does jBPM Designer depend on Hibernate?
              maxandersen

              yes - which is all ok.

              binary runtime dependencies is one thing (like aop plugin using jbosscore plugin and hibernate plugin using the hibernate jars)

              What JBPM has to hibernate is just hibernate bundled so the "good and famous" classpath containers can be made to work.

              For now i don't see that as a problem, but when i get around to add some sort of classpath container we need to figure out a strategy for bundling these redundant libraries (that strategy might just be to continue as we are, but a more efficient and less user confusing way would probably to put them in one place)

              • 4. Re: Does jBPM Designer depend on Hibernate?

                If solving this "problem" causes more headaches than it fixes, then I'm fine with keeping it the way it is. My main concern is to try and keep our binary size down as we are getting pretty big, and a duplication of hibernate JARs is a relatively large chunk of the overall binary size ATM.

                • 5. Re: Does jBPM Designer depend on Hibernate?
                  maxandersen

                  then remove the container classpath functionallity - i hate it anyways ;)

                  Then only really needed jars will be in there.