How to add a testing tool to the team area preconditions
![]()
Hello guys,
Client: MS Visual Studio 2013 RTC Version: 4.0.3 we try to set up an testing tool to the preconditions of a team are. The problem is, that we don't get the tool start. The settings are as in the picture. Do you have an manual how to set up tools in the preconditions? I'm looking forward to your answer. Marco ![]() ![]() |
2 answers
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Jul 25 '13, 1:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Marco,
there are server and client extensions. Server extensions run in the server, client extensions in the client. Some more explanations can be found here: http://rsjazz.wordpress.com/2013/03/14/what-apis-are-available-for-rtc-and-what-can-you-extend/ Now, you are using the Eclipse client to configure the process and it will have all pre-conditions available. However, they are not all available for the VS Client. You can not see what is available in VS and what is not. (Consider to create an enhancement request for this.) If you configure a client precondition and that is not available to Visual Studio, you get the error you see above. The options would allow you to block the operation in this case. Unfortunately I am not aware of any way that would allow you to create client extensions for the Visual Studio Client. I think we don't even have a VS client SDK. Again, consider requesting an enhancement. Comments Hello guys Thanks for your answers. @Millard: The precodition we choosed was as followed:
The user changed the name to the name diplayed in my first message. @RSchoon: The tool we choosed is fo VS. (See screenshot). Could you contribute a manual how to set up such a tool fo VS or which settings have to be observed during the set up? Thanks you again!
Kind Regards Marco |
![]()
Hi Marco,
here is the material I'm aware about:
I'd advise you read it very carefully to figure out where the root cause of your problem stands (parameters, etc.) Regards, Stéphane Comments Hi Stéphane,
Kind Regards Marco 1
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
"Fail if not installed" would fail if the precondition is not installed in the client you use. In this case in the Eclipse client. If there is a failure in Visual Studio when you check this, there is probably an issue with the way the client is set up e.g. MS FXCop not available - just a guess.
Hi Ralph, the issue is, that we get two differend errors when delivering. The first if whe have set the wrong path to the tool loction and the second if we set the "Fail if not istalled" setting (in this case we choosed the right path).
1st: path wrong:
2nd: path right but "Fail if not installed" set:
When we don't choose the "Failure if not installed" condition, the check-in runs without error. What is the reason that we get two different erros and why does it work when don't choose the precontion? How does the jazz server work with this precondition and is it necessary that the precondtion (for example "Require Static Analysis Run (...)") is installed on the server? Regards Marco I am assuming this in the MS VS client. The second error indicates that the RTC Visual Studio Client does not have the operational behavior installed. So it can't call it. There is either a defect in the advisor or something else is wrong. Hard to tell. I'd consider to create a defect at https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWelcome
Marco, did you ever figure out what was happening? Hi Jared,
Hi Jared,
showing 5 of 7
show 2 more comments
|
Comments
It seems you have written and contributed your own Precondition to add here? I tried to duplicate what you did here, but I don't have that precondition available. What reference did you use for writing/contributing your precondition? (FTR, I don't have a VS Client but was trying to check on Eclipse.)