maddalab
May 12th, 2008, 04:12 PM
I am trying to use Spring Dynamic Modules for a very simple application, very quickly I ran into eclipse complaining about the existence for cycles in dependency graph for my simple application.
Eventually I decided to restart development in a fresh workspace.
I imported the following 4 bundles into my workspace, using File -> Import -> Plug-ins and Fragment from eclipse
spring beans
spring context
spring jdbc
spring orm
all version 2.5.4
Then I selected the manifest for the spring jdbc, in the dependency tab selected "show dependent plug-ins and fragments"
the hierarchy shows
spring orm depends on spring jdbc
spring orm & jdbc depend on spring context ($%#%#%)
spring context depends on spring orm
resulting in a loop between context, jdbc, orm
Nope, I am not crazy, this is definitely what eclipse thinks, checked and double-checked and ...
Verified that the Import-Packages directive in context has at least 1 reference to orm
org.springframework.orm.jpa.support
the cycle does not seem to matter much until I try to use both spring jdbc and orm in my application at the same time, it is a no go, as eclipse will not even build.
What am I doing wrong, or is this a bug (either in spring bundles or equinox/eclipse)
Eventually I decided to restart development in a fresh workspace.
I imported the following 4 bundles into my workspace, using File -> Import -> Plug-ins and Fragment from eclipse
spring beans
spring context
spring jdbc
spring orm
all version 2.5.4
Then I selected the manifest for the spring jdbc, in the dependency tab selected "show dependent plug-ins and fragments"
the hierarchy shows
spring orm depends on spring jdbc
spring orm & jdbc depend on spring context ($%#%#%)
spring context depends on spring orm
resulting in a loop between context, jdbc, orm
Nope, I am not crazy, this is definitely what eclipse thinks, checked and double-checked and ...
Verified that the Import-Packages directive in context has at least 1 reference to orm
org.springframework.orm.jpa.support
the cycle does not seem to matter much until I try to use both spring jdbc and orm in my application at the same time, it is a no go, as eclipse will not even build.
What am I doing wrong, or is this a bug (either in spring bundles or equinox/eclipse)