I am new to Spring and OSGi, and decided to go through the tutorials from the STS Dashboard. I am getting stuck though at the step "Creating a Spring-powered OSGi Bundle". In "Exploring the console output" it reads:
"You should see a series of INFO messages as the extender bundle automatically creates the module context for the Spring-powered sample bundle."
This never happens however. When I run the bundle I just see an osgi prompt, no messages. I suspect the tutorial refers to a previous version of Eclipse (I am using 3.5.0 on Ubuntu Linux and also the installer version under Windows XP, but both produce the same problem), because in the first step: "Setting the target platform for Spring Dynamic Modules" it reads:
"Click the link below to open the PDE preferences page and select "Spring Dynamic Modules for OSGi Service Platforms" from the target selection box at the bottom of the panel. Click the Load target button to load the bundles in the target platform definition, and then click OK to close the dialog."
Both of my installations do not have such a page.
There is a "Plug-in Development" header in the Eclipse Preferences Dialog, and below this header is an item called "Target Platform" which displays a single Entry in the "Target Definitions" List Box, titled "Running Platform". I created a new entry by pressing the "Add" button, then select "Template" from the "Initialize the target definition with" radio button group, and finally select "Spring Dynamic Modules for SGGi(tm) Service Platforms 1.1.2" and press "Next". At this point there is a Tab Page titled "Locations" and in the single List Box below there is a single entry with the following location:
${bundle_loc:org.springframework.ide.eclipse.osgi. targetdefinition}/release/target
I pressed finish and activated the "Spring DM Release" Target Definition by checking the Check Box, but this didn't seem to fix the issue. So I am stuck!
Any suggestions as to how to resolve this? It seems like a configuration issue, not a bug, but the Tutorial seems broken.
Gert


Reply With Quote
. There is about 880 modules that can be selected.

