tags:

views:

16

answers:

0

Hi,

I have deployed a legacy web-app as an osgi bundle in equinox using the spring dm web-extender and jetty. The problem is that the webapp.root always appears to get set to a temp folder under '\Documents and Settings\\Local Settings\Temp\' and so any references to xml or properties files within the WEB-INF/classes folder in the war file that are referenced using classpath:com.xyz.abc are now not found unless I replace classpath: with /WEB-INF/classes. Does anyone know how I can reference the web app root system property (webapp.root) to reference the bundle itself. Or in fact how I can explode the war in an osgi environment.

Thanks in advance