It's all about the answers!

Ask a question

How do I run visual studio from ant script and publish the results on the build result editor


Rachel Dichner (272510) | asked May 21 '13, 4:08 p.m.
 Hi
I am trying to run visual studio from ant script,( build definition was created without visual studio).
After running all workspaces in visual studio, I want to publish the results in the build result editor
How do I do that?

Thanks
Rachel Dichner

Comments
Canberk Akduygu commented May 21 '13, 4:16 p.m.

https://jazz.net/library/article/518

That article might help you euth that


Rachel Dichner commented May 21 '13, 4:21 p.m.

Hi

I read this article, they are talking about build definition based on visual studio.
I am not using this build definition.

Thanks 

2 answers



permanent link
Ralph Schoon (63.1k33646) | answered May 22 '13, 7:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited May 22 '13, 7:15 a.m.
Rachel, you might have to use the EXEC task for ANT http://ant.apache.org/manual/Tasks/exec.html to run Visual Studio Build msbuild.exe or msdevenv.exe.

Then you can use the build result publisher ANT task to publish the results.

permanent link
Danny Beerens (801827) | answered Aug 16 '13, 9:23 a.m.
 You can also look at this article, where user Pascal van Kempen provided an interpreter, so you can drill-down into the msbuild compiler results, as you would do when RTC would directly build the solution file in Visual Studio: https://jazz.net/forum/questions/106078/how-to-fetch-compilation-errors-and-warnings-when-using-antmsbuild-in-rtc?page=1&focusedAnswerId=108254#108254

Comments
Danny Beerens commented Aug 16 '13, 9:25 a.m.

 Oh, Sorry Rachel, you already found it. 

Your answer


Register or 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.