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

How to load output files of build to RTC SCM?

I am a beginner in Build Management of RTC.

I am trying to generate a .jar file using Ant script and then load in the Stream.
I am using Post-build Deliver target, however the .jar file is not getting loaded in the Stream.

Can anyone guide me how to achieve this?
I am not getting any basic guide with complete steps to learn build management of RTC.

0 votes

Comments

Why would you want to add build results to source control?

If I had the proverbial nickel....  You'd be surprised at the prevalence of this idea.

Its the first time i am getting introduced to the concept of build, so just wanted to give a try. 


Accepted answer

Permanent link
Post Build deliver, delivers the SOURCE used in the build to some other stream/workspace. it does not ADD new content to the stream/workspace.

build output binaries should not go into the SCM. they should go into some binary repository,
Nexus, Artifactory, shared file system, ftp server...

this way the downstream applications that use (depend) on the binaries (libraries/jar files) can access them by version etc without knowing the original source required to create them.
Shuchita Tripathi selected this answer as the correct answer

2 votes

Comments

Thanks a lot for the explanation.. 


One other answer

Permanent link
For delivering changes back to the source stream, you should use the SCM CLI.
See e.g. this article and these enhancement requests:

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
× 12,025
× 562

Question asked: May 07 '14, 9:24 a.m.

Question was seen: 5,030 times

Last updated: May 09 '14, 1:13 p.m.

Confirmation Cancel Confirm