Feb 26th, 2011, 02:10 PM
SpringDM Extender not working in Eclipse
After months of attempting to suss this out myself I am calling for help. I love the idea of SprinDM and what it can offer me in an RCP application and eventually Web. Although I'm at a loss.
Starting over from scratch building the "hello-world-springdm" project from SpringDynamicModulesinAction till it works. Yet, building and running the essentially the identical project from "Eclipse, Maven and SpringDM for OSGi platform" does not find the spring.xml config files.
Taking the packaged jar file built in Eclipse via Maven, dropping it into the "hello-world-springdm" simple project, launching from the command line, installing it, starting it, and Wahooo! the Constructor message is launched. So it's not my jar, so it has to be the project configuration in Eclipse. multiple Target Platforms have been to no avail. I even created a Target Platform using the working set of Jars in the "hello-world-springdm" bundles folder plus the equinox jar. The latest was to role back to earlier releases on SpringDM and Spring.
My environment is:
Linux 64bit Ubuntu 10.04
Java version "1.6.0_20" OpenJDK
Eclipse 3.5 Helios for RCP Developers Service Release 2
Spring IDE is installed
Everything is ACTIVE no errors no hints except there should be; "osgi> >>> Constructing FooServiceImpl" from the app.aspect.SpringDMBundle.
Framework is launched.
id State Bundle
0 ACTIVE system.bundle_3.2.2.R32x_v20070118
51 ACTIVE org.springframework.osgi.io_1.2.1
52 ACTIVE org.springframework.aop_2.5.6.SEC01
53 RESOLVED com.springsource.slf4j.log4j_1.5.0
54 ACTIVE com.springsource.net.sf.cglib_2.1.3
55 ACTIVE org.springframework.core_2.5.6.SEC01
56 ACTIVE app.aspect.SpringDMBundle_1.0.0.qualifier
57 ACTIVE com.springsource.slf4j.api_1.5.0
58 ACTIVE org.springframework.context_2.5.6.SEC01
59 ACTIVE org.springframework.osgi.log4j.osgi_1.2.15.SNAPSHO T
60 ACTIVE org.springframework.osgi.extender_1.2.1
61 ACTIVE com.springsource.edu.emory.mathcs.backport_3.1.0
62 ACTIVE com.springsource.slf4j.org.apache.commons.logging_ 1.5.0
63 ACTIVE org.springframework.beans_2.5.6.SEC01
64 ACTIVE org.springframework.osgi.core_1.2.1
65 ACTIVE com.springsource.org.aopalliance_1.0.0
Tags for this Thread