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 i overcome this without tking back up?

1 comment
Comment actions Permalink


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



Please sign in to leave a comment.