How to get the path of JazzTeamServer installation directory from my RTC extension plugin?
Dear RTC team,
I'd like to know how to get the path of JazzTeamServer installation directory from my RTC extension plugin in JAVA code.
My case is I have a RTC extension likes RTC_Update_Site where contains features, plugins, and one my custom properties file like config.properties. I would deploy to E:\IBM\JazzTeamServer\server\conf\ccm\sites\
During my RTC extension works it should read from the properties file with code like below in java:
System.getProperty("user.dir") + "/conf/ccm/sites/RTC_Update_Site/";
If I use RTC 5.0.2 runs with tomcat it works fine, but as RTC 6.0.1 runs with WebSphere in my Development server then it doesn't work.
Can you please help to give your idea?
Thanks in advance!
I'd like to know how to get the path of JazzTeamServer installation directory from my RTC extension plugin in JAVA code.
My case is I have a RTC extension likes RTC_Update_Site where contains features, plugins, and one my custom properties file like config.properties. I would deploy to E:\IBM\JazzTeamServer\server\conf\ccm\sites\
During my RTC extension works it should read from the properties file with code like below in java:
System.getProperty("user.dir") + "/conf/ccm/sites/RTC_Update_Site/";
If I use RTC 5.0.2 runs with tomcat it works fine, but as RTC 6.0.1 runs with WebSphere in my Development server then it doesn't work.
Can you please help to give your idea?
Thanks in advance!