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

how to download component data into the local file system from a stream

Hi,
I already followed the lab1 to setup the environment -> https://jazz.net/library-content/wp-content/uploads/2014/11/RTC603ExtPoT.pdf.
I also read a lot of ressources, the fact is that I first want to be able to download in a local folder a stream content with the Plain Java Client Libraries, but I dont get where to start.

I also tried to use the ewm-scm-utils (https://github.com/jazz-community/ewm-scm-utils/blob/master/README.md) but I didn't succed to make it work, I have the following error "Error: Unable to access jarfile SCMUtils.jar".

QG

1

0 votes


Accepted answer

Permanent link

 I can only suggest my blog: https://rsjazz.wordpress.com/
The Jazz Community http://jazz-community.org/ and the projects there. 

If you have run the Extensions Workshop, you have run the WorkshopSetup, which does the inverse of what you want to try. 
The use case you describe, or at least close is in https://github.com/jazz-community/ewm-scm-utils in https://github.com/jazz-community/ewm-scm-utils/blob/master/com.ibm.js.team.scm.supporttools/src/main/java/com/ibm/js/team/supporttools/scmutils/commands/DownloadComponentBaseline.java

The jar file is here: https://github.com/jazz-community/ewm-scm-utils/releases/tag/V2.7.1

You can run the tools in an Eclipse EWM RTC SDK workshop. Download the code, import into the SDK workshop, add the user library for the Palin Java client libraries and use the launches.

See https://jazz.net/library/article/1000 the version 7.x lab 1.10 SET UP A WORKSPACE FOR PLAIN JAVA CLIENT LIBRARY DEVELOPMENT.

Or follow https://github.com/jazz-community/ewm-scm-utils/blob/master/com.ibm.js.team.scm.supporttools/ReadMe%20-%20HowToRelease.txt and create a release on your own, which requires the steps before.  

I have tried to explain the process to setup for the plain Java Client Libraries a bit more detailed in https://github.com/jazz-community/work-item-command-line?tab=readme-ov-file#prerequisites

Quentin Guyot selected this answer as the correct answer

1 vote

Comments

Note, the SCM Command Line would also allow you to do what you want. Open the product help and search for lscm to get the command reference. 

1 vote

thanks Ralph for your quick answer, 
it seems like downloading from and upload to a stream is reacheable using SCM command line, also it seems to be the easiest way to reach this goal, isn't it ?
Considerating that, I think I'll tend to that solution.

The SCM Command Line is built for this purpose. There is also the windows shell integration that could be used instead.

Using the Plain Java Client Libraries is certainly challenging. 

1 vote

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,938

Question asked: Mar 08, 5:20 a.m.

Question was seen: 393 times

Last updated: Mar 08, 9:03 a.m.

Confirmation Cancel Confirm