Eclipse RCP: Making use of configuration directory

Posted by Dot on Stack Overflow See other posts from Stack Overflow or by Dot
Published on 2009-02-17T01:51:44Z Indexed on 2010/03/29 8:23 UTC
Read the original article Hit count: 384

Filed under:
|
|

Hello,

My Eclipse RCP application requires a configuration file that contains some information to connect to a remote database. Where is the best location to store this configuration file?

Can I use the default configuration directory (where 'config.ini' is usually stored) for this purpose? If so, how can I get a File instance to this location programmatically? I also note that this directory does not exist in my Eclipse IDE.

Thanks.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about rcp