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

How can I insert missing required content in a source deliver precondition?

We have just moved to RTC 4.0.0.1 server (still using RTC Eclipse client 3.0.1.3) and we are having problems getting required content inserted into a file when it fails a precondition. The option to add the required content does not appear in the Team Advisor in Eclipse.

In the process configuration I have set up a Deliver Phase 2 (server) precondition to check for a copyright statement. I have also included 'Text to insert' in the precondition. This was set up before the upgrade.

With the previous version of RTC server we were using (3.0.1.1),  this worked correctly. The Team Advisor would show that the precondition had failed and there was an option to automatically add the missing text. I have not updated my client since the server was upgraded to 4.0.0.1.

Is there a problem in RTC 4.0.0.1 or is it because of a mismatch between client and server?

Thanks, Colin.

0 votes



One answer

Permanent link
I have concluded that I need to use the RTC 4 client to be able to show the option to insert the required test. Although annoying it is not a major problem.

1 vote

Comments

Colin,

there are client and server preconditions to configure. The client preconditions are typically relying on the client capabilities, whereas the server preconditions don't.

The clean workspace is such a precondition and others that look at the code directly often too. They just need the client's capabilities to operate and are therefore not available as server preconditions.

Another issue is that the server precondition extension point does not allow for modifications of the data it handles. It can only prevent the operation from happening. Especially SCM would fail if you modified the source code in this context.

1 vote

Thanks Ralph, that clarifies the differences between preconditions (and I found the article Source control process recipes particular useful) and I can understand why there needs to be some client interaction. I was just surprised when something that used to work (the insertion of the required text) didn't work when I upgraded the server version without changing client.

Regards, Colin.

Colin,

there is effort being done to preserve N-1 Client to server compatibility. Having said that, some new features might not be available using an N-1 client. However I am wondering why the old client precondition coded into your client should not be available any more. I find this strange as well. Was it available, but did not work?

Sorry for the delay in responding Ralph,

If you are still interested: the precondition appeared in the Team Advisor telling me that the source code did not have the required content. Normally I would see an option to let me insert the required content into the files that were missing this content. However in this case (a version 3.0.1.3 client with a 4.0.0.1 server) the option to insert the required content did not appear.

Regards, Colin.

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

Question asked: Mar 15 '13, 8:06 a.m.

Question was seen: 6,856 times

Last updated: May 09 '13, 3:47 a.m.

Confirmation Cancel Confirm