It's all about the answers!

Ask a question

How to set working copy folder on local PC and override files to SCM with Plain Java API?


Nghia Le (11) | asked Dec 06 '16, 5:25 a.m.
In our requirement, we need to push file to SCM by Plain Java code.
I can able to push a test file to SCM now, but when i push the same file the conflict was happen.

Do you have any possible way to do that?

Many thanks.

One answer



permanent link
Ralph Schoon (55.8k23642) | answered Dec 06 '16, 5:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
 This explains how this works in general: https://rsjazz.wordpress.com/2013/10/15/extracting-an-archive-into-jazz-scm-using-the-plain-java-client-libraries/

If you have conflicts on delivery, I don't have an idea how to solve that. You likely have to do a compare first, get a list of conflicts and then to resolve it with your file. Maybe looking at the merge editor in Eclipse can provide you with an idea.

Comments
Nghia Le commented Dec 07 '16, 3:20 a.m.

Thanks Ralph Schoon,
Do we have any way to do like override the existing file?

Your answer


Register or to post your answer.