Building Java with ANT from Team Build Extensions 2010

无人久伴 提交于 2020-01-04 07:11:14

问题


I have a basic C# project, but I want to kick off an ANT build (which compiles some very basic java code) and also fires a junit test. How can I find out from Team Build 2010 (TFS 2010 basically), if the junit test fails? If it does, I will fail the TFS build.

I have the build extensions and I am using TFS 2010. However, the documentation for this is not existant.

Thanks


回答1:


You can use the Exec Activity to call an exe to build and do the tests.

However you may want to look at Final Builder as it integrates with Team Foundation Build 2010 realy well and provides a much easyer interface.



来源:https://stackoverflow.com/questions/3647040/building-java-with-ant-from-team-build-extensions-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!