Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

OSGi properties file related query

 
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there fellow ranchers..,

I'm not sure if this is the right forum to post this question, but this seems to be the closest one fitting.

I've landed up in the OSGi space only recently, and am starting on to work with the Equinox OSGi container. But I'm stumped [atleast for now]
as to how is an OSGi bundle going to read from a properties file [or any configuration file for that matter]. Any property file I create for OSGi will be
added into the bundle [jar file] thus making it real tough for the user to modify its contents. Is there any other way to do this ? I mean a way to provide a configuration/property file
outside the bundle jar file, but still the bundle being able to read it....

thanks,
Dawn.
 
Dawn Charangat
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys..,

Is there an OSGi/Equinox forum present in the ranch ?
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean something like the "preferences service"? (Section 106 in the Service Compendium (http://www.osgi.org/download/r4v41/r4.cmpn.pdf))
 
Do not set lab on fire. Or this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic