Affects Version/s: None
Fix Version/s: 2.0.0.RC1
I have a project with spring and bundle nature with a BundleClasspathContainer.
I have a bundle that, as is often recommended, exports and re-imports a package p, so in the Manifest of the bundle I have the lines:
Upon change of the Manifest, the BundleClasspathContainer will pick up a dependency of the project on itself and the Spring IDE/dm Server tools report build path problems.
"Project x cannot reference itself" and
"A cycle was detected in the build path of project x".
Other than disabling the BundleClasspathContainer there does not seem to be a way to re-import an exported package. However, since re-importing packages is allowed and an OSGi best practice, this should not cause errors.
I am using Eclipse 3.4.1 with Spring IDE 2.2.2 and dm Server Tools 1.1.3. Updating to 2.0.0.M1 did not help.