Problem: Advisor run before conflict checking on deliver operation
![]() Hi,
I'm using RTC 3.0.1.3 , and I wrote an advisor on deliver operation.
I saw that the Advisor run before the basic tests of the system: When there are conflicts, my advisor will run it's tests and will copy the artifacts, but after all our tests - the system will fail the deliver because of basic conflict! How can I run our tests, only - after - the basic tests of RTC (like conflicts) are done ? Thanks.
|
2 answers
![]()
Hi,
I would suggest to keep running the tests in the advisor, but move the copy of artifacts to a contributor(follow-up action). Then you will only copy when the deliver was successful.
|
![]()
Hi,
I found there is a method 'ComponentConflictUtil.hasConflictItems(IComponentSyncContext context)'
Is there a way to get the ComponentSyncContext on the server plugin code?
|
Comments
I thougt that if the GUI workspace is colored on conflict - there is a flag that I can read before delivere action. I just need to know where is that flag ..
Can someone help with that ?
Thanks.
Just a few simple question, to clarify what you are trying to achieve. Which artifacts are you copying? What's the copy destination? and what are your motivation for doing that during deliver operation ?