How specifiy path of properties file

I need to develop plugin in teamcity ,i have some  configurable proerties.I created this properies under resources folder .The pblm that how specify path of properties file ?In windows it comes under C:/teamcity/webapps /root/plugins/Plugin-name/.properies in linux how it come?
How i give real path in this situation,?
2. in windows a if edit properies file if not restart teamcity it will take new runtime parameters,what i configured in properties file
If restart teamcity it will take old configuration properties.how i overcome this without tking back up?

1 comment
Comment actions Permalink

Hi

The better place for configuration files is <TeamCity Data directory>\config\.
You can obtain this path by getConfigDir() method.

Michael

0

Please sign in to leave a comment.