Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OSGi properties file related query

 
Dawn Charangat
Ranch Hand
Posts: 249
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys..,

Is there an OSGi/Equinox forum present in the ranch ?
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • 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))
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic