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

Help in setting up Java developement env for RTC 3.0.1

hello

I am looking at this article https://jazz.net/library/article/634/ for setting up the Java development environment

My goal is to write methods which can modify workitem / build results etc. I want the Java application to be running in server. IO am wondering what coul be the process for deployment. Can any one point me in the right direction

thanks

Cheers,

Karthik

0 votes



5 answers

Permanent link
You need to do plugin development, and this requires the SDK..

so in your eclipse, window, preferences, plugin development, target platform, point to the sdk directory you created after unzipping the SDK download.

Sam

0 votes


Permanent link
You need to do plugin development, and this requires the SDK..

so in your eclipse, window, preferences, plugin development, target platform, point to the sdk directory you created after unzipping the SDK download.

Sam


Thanks sam. actually I want the java file to be executed in server and not as plugin Is this possible?

0 votes


Permanent link
no.. the only way to make an RTC extension is a plugin.

if you mean 'server' as in run on the same hardware and operating system, but outside the RTC process.. then u want to be a 'client', and there u would use the Java apis.

I have code (a web service) called from an remote application (salesforce.com) which resides in the same java app server as RTC.
The two do not know about each other, and the web service implementation uses the java apis to connect to the RTC server and inject workitems and data.

I also have other code running inside the RTC process, advisors and particpants and a remoteRepository extension.. all those are plugins.

Sam

0 votes


Permanent link
no.. the only way to make an RTC extension is a plugin.

if you mean 'server' as in run on the same hardware and operating system, but outside the RTC process.. then u want to be a 'client', and there u would use the Java apis.

I have code (a web service) called from an remote application (salesforce.com) which resides in the same java app server as RTC.
The two do not know about each other, and the web service implementation uses the java apis to connect to the RTC server and inject workitems and data.

I also have other code running inside the RTC process, advisors and particpants and a remoteRepository extension.. all those are plugins.

Sam

Thanks Sam

Perhaps I wasn't clear. I want to write Java apps for routine maintenance of RTC. Hence this needs to run on server. I do not want to write any plugins at this moment. So what all I should take care in order to deploy the java application in the server?

0 votes


Permanent link
so, you are writing client applications which may or may not give u the capabilities u want..

so you are using the Java client api. and u would have to deploy whatever jar files u needed to support your applications function. In my web service application there are 20 com.ibm.team.... or org.eclipse.... jar files in the 60 jar files packaged to support my applications functions.

this app creates and updates workitems.

like all applications you will have to package the dependent files to be deployed somewhere, update the classpath of the application definition, and launch the app somehow. how and what that is depends on what u are trying to do.. mine is an app inside a java app server, I also have smaller test apps that use less jar files.. I wrote batch scripts to do all the setup work.

they can be launched by cron jobs, or manually..

If you are looking for a document that says , for these rtc functions, u need these jar files.. then you are out of luck.. that doc does not exist.

Sam

0 votes

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
× 10,960

Question asked: Jan 25 '12, 8:45 a.m.

Question was seen: 7,410 times

Last updated: Jan 25 '12, 8:45 a.m.

Confirmation Cancel Confirm