It's all about the answers!

Ask a question

How to get the path of JazzTeamServer installation directory from my RTC extension plugin?


han huynh (19314) | asked Aug 17 '16, 5:41 a.m.
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


permanent link
Ralph Schoon (63.3k33646) | 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


Register or to post 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.