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! |
Accepted answer
Ralph Schoon (63.4k●3●36●46)
| answered Aug 17 '16, 6:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would try to get the JAZZ_HOME environment variable.
han huynh selected this answer as the correct answer
Comments
han huynh
commented Aug 17 '16, 7:43 a.m.
Thanks Ralph for your quick response. Let me try.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.