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

Stand alone program behavior?

Hi,

Is it possible, to run a stand alone Java program to create a custom build definition?

To add a little more detail - this is what I am envisioning in my head:
1. The entry to the program would be through a public static void main(String[] args) method.
2. I will then have to attach it to an existing server application with appropriate url and credentials.
3. Once it is attached, the code should be able to access server artifacts like streams, build definitions, and perform CRUD operations on them.
4. Detach the connection and exit.

Can the REST API help with me this? I am going through the documentation

Thanks,
-AJ

0 votes



2 answers

Permanent link
Hi AJ,

On the All Downloads tab of your RTC downloads page (e.g., https://jazz.net/downloads/rational-team-concert/releases/3.0.1.3?p=allDownloads), go to Plain Zips. In there you'll see Plain Java Client Libraries and Plain Java Client Libraries API documentation. I think this is what you're looking for. Snippet1.java that ships with the libraries shows you how to log in to your repository. See the API for com.ibm.team.build.common and client for working with build definitions, and com.ibm.team.scm.common and client for working with streams.
Hope this helps!

0 votes


Permanent link
Thanks Robin. Will give it a try and let you know what I find, thanks!

Hi AJ,

On the All Downloads tab of your RTC downloads page (e.g., https://jazz.net/downloads/rational-team-concert/releases/3.0.1.3?p=allDownloads), go to Plain Zips. In there you'll see Plain Java Client Libraries and Plain Java Client Libraries API documentation. I think this is what you're looking for. Snippet1.java that ships with the libraries shows you how to log in to your repository. See the API for com.ibm.team.build.common and client for working with build definitions, and com.ibm.team.scm.common and client for working with streams.
Hope this helps!

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
× 11,075

Question asked: Apr 02 '12, 12:43 p.m.

Question was seen: 7,797 times

Last updated: Apr 02 '12, 12:43 p.m.

Confirmation Cancel Confirm