This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes OSGi properties file related query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "OSGi properties file related query" Watch "OSGi properties file related query" New topic
Author

OSGi properties file related query

Dawn Charangat
Ranch Hand

Joined: Apr 26, 2007
Posts: 249
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

Joined: Apr 26, 2007
Posts: 249
Hi Guys..,

Is there an OSGi/Equinox forum present in the ranch ?
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 427

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
 
subject: OSGi properties file related query
 
It's not a secret anymore!