Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!

0 votes


Accepted answer

Permanent link
I would try to get the JAZZ_HOME environment variable.
han huynh selected this answer as the correct answer

1 vote

Comments

Thanks Ralph for your quick response. Let me try.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 17 '16, 5:41 a.m.

Question was seen: 1,317 times

Last updated: Aug 17 '16, 7:43 a.m.

Confirmation Cancel Confirm