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

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

 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

0 votes

Comments

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

That article might help you euth that

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

1 vote


Permanent link
 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

0 votes

Comments

 Oh, Sorry Rachel, you already found it. 

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: May 21 '13, 4:08 p.m.

Question was seen: 8,261 times

Last updated: Aug 16 '13, 9:25 a.m.

Confirmation Cancel Confirm