This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Problem about transfer from standard bundle

Dec 5th, 2008, 02:59 AM

Now I try to use SpringSource DM Server, and transfer our bundle to Spring DM Server powered bundle.

But I find some problem:
(1) In order to manage Dependencies in Eclipse GUI, I have to change the Require-Bundle to Import-Bundle in MANIFEST.MF.
(2) Spring DM Tool can't find the Require(or Import) bundle, although these bundles are added by Eclipse GUI.

(1) There is no requirement to change from Require-Bundle to Import-Bundle to use an OSGi bundle on dm Server. Having said that we do recommend to use Import-Bundle because of its cleaner semantics.

Where and why do you think that this change is a requirement.

(2) Can you provide a little bit more details about this problem. I'm not sure that I understand the problem.

Are you saying that if you Import-Bundle: org.springframework.core you get the problem marker saying that the bundle cannot be resolved. If that is the case have you defined a target runtime for your bundle project?