Using multiple cm-properties [message #633595] |
Mon, 18 October 2010 10:00  |
Eclipse User |
|
|
|
Hi,
I'm trying to deploy an existing WAR in Virgo. Now the application is correctly deployed and it works.
Now I'm trying to exploit the admin application facilities of Virgo. In particular the application property files are now in the repository/usr folder and they are activated via PLAN file. I'm able to see all the files and the entries in the admin console.
Reading the documentation I used the osgi-compendium with persistence-id.
There is a way to include in the bundle more than one property files? I included in the applicationContext file more than one files but the entries in the second file is not visible to the bundle:
<context:property-placeholder properties-ref="aProperties"/>
<osgi-compendium:cm-properties id="aProperties"
persistent-id="aProperties"/>
<context:property-placeholder properties-ref="bProperties"/>
<osgi-compendium:cm-properties id="bProperties"
persistent-id="bProperties"/>
Thanks
-- Marco
|
|
|
|
Powered by
FUDForum. Page generated in 0.04536 seconds