Download files from changesets
4 answers
Satish,
simply use the build's snapshot (which gets automatically created) to create --> new Repository Workspace, then load the workspace.
If you want to load single files in a recent change set, display the change set in e.g. change explorer, select the file(s) and --> load.
For different scenarios, e.g. loading folders/files of a set of change sets you would need to code a script to do it. Can you please detail your use case some more? Depending on what you want to achieve (e.g. just "see" the files and its contents can be done without explicitely loading it to disk) there might be different ways.
gg,
Arne
simply use the build's snapshot (which gets automatically created) to create --> new Repository Workspace, then load the workspace.
If you want to load single files in a recent change set, display the change set in e.g. change explorer, select the file(s) and --> load.
For different scenarios, e.g. loading folders/files of a set of change sets you would need to code a script to do it. Can you please detail your use case some more? Depending on what you want to achieve (e.g. just "see" the files and its contents can be done without explicitely loading it to disk) there might be different ways.
gg,
Arne
Hi,
Thanks for the reply
Here are the steps that I want to achieve
1) During build, I would like to download only changesets that were delivered from previous builld rather complete source base
2) In the same build process once downloaded I would like to push those files to a remote server.
I want to achieve it using ant tasks instead of the API. Is it possible??
Thanks,
Satish.
Thanks for the reply
Here are the steps that I want to achieve
1) During build, I would like to download only changesets that were delivered from previous builld rather complete source base
2) In the same build process once downloaded I would like to push those files to a remote server.
I want to achieve it using ant tasks instead of the API. Is it possible??
Thanks,
Satish.
Satish,
I think I understand your use case: instead of fully loading the build workspace into a clean directory for each build you would like an incremental load which takes into account only the diff of change sets since last build. Notice that change sets can also include deletions, renames or moves. An incremental load would have to know how to deal with these.
Currently there is no ant task in the build toolkit which offers incremental load. However, writing a custom ant task is fairly easy. If you have Java and RTC API skills you can do it yourself following the guidelines in: Adding a custom ant task
Or you can have somebody write the ant task for you, drop it into the build toolkit folder and simply use it from your build.xml
gg,
Arne
I think I understand your use case: instead of fully loading the build workspace into a clean directory for each build you would like an incremental load which takes into account only the diff of change sets since last build. Notice that change sets can also include deletions, renames or moves. An incremental load would have to know how to deal with these.
Currently there is no ant task in the build toolkit which offers incremental load. However, writing a custom ant task is fairly easy. If you have Java and RTC API skills you can do it yourself following the guidelines in: Adding a custom ant task
Or you can have somebody write the ant task for you, drop it into the build toolkit folder and simply use it from your build.xml
gg,
Arne
Hi Arne,
Thanks for the reply..
Do you have an idea on the below link for incremental load
https://jazz.net/downloads/rational-team-concert/milestones/6.0M11?p=news#enterprise-extensions.
I think the above requirement can be achieved if we upgrade to RTC 6.0.Do you think the same??
Thanks,
Satish.
Thanks for the reply..
Do you have an idea on the below link for incremental load
https://jazz.net/downloads/rational-team-concert/milestones/6.0M11?p=news#enterprise-extensions.
I think the above requirement can be achieved if we upgrade to RTC 6.0.Do you think the same??
Thanks,
Satish.
Comments
Ah, I should have asked more questions first.
What kind of software are you building for which target? If you are building e.g. Cobol for zOS or RPG for iOS then we enter the realm of RTC Enterprise Extensions. For builds pertaining to those I believe the build definition actually does support some sort of incremental load. Can you please specify your build environment / build target a bit more?