hi,
i try to create a bundle (bundle-a) where i can store my environment variables. these variables then should be provided to an other bundle lets say (bundle-b). therefore i use the property-placeholder and the org.eclipse.equinox.cm.
bundle-a can be uploaded to the springsource dm server without a problem. but when i upload bundle-b, i get a BeanDefinitionStoreException with the message: Invalid bean definition with name 'httpInvokerProxy'... could not resolve placeholder 'serverUrl'...
how can i reference the persistent-id/variables from bundle-a in bundle-b?
code from bundle-a:
code from bundle-bCode:<osgix:property-placeholder persistent-id="com.xyz.serverConfig"> ... <osgix:default-properties> <prop key="serverUrl"> meineURL </prop> </osgix:default-properties> </osgix:property-placeholder>
thanks in advance,Code:<osgix:property-placeholder persistent-id="com.xyz.serverConfig"/> <bean id="httpInvokerProxy" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean"> <property name="serviceUrl" value="${serverUrl}" /> ... </bean>
marc


