使用ANT从Team Build Extension 2010构建Java [英] Building Java with ANT from Team Build Extensions 2010

查看:362
本文介绍了使用ANT从Team Build Extension 2010构建Java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基本的C#项目,但我想开始一个ANT构建(它编译一些非常基本的java代码),并且还触发junit测试。如果junit测试失败,我如何从Team Build 2010(TFS 2010基本上)发现?如果是,我将失败的TFS构建。



我有构建扩展,我使用TFS 2010.但是,这不是文档。 p>

感谢

解决方案

您可以使用Exec Activity调用exe建立并执行测试。



但是,您可能需要查看 Final Builder ,因为它与Team Foundation Build 2010完美集成,并提供了一个更简单的界面。


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

解决方案

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.

这篇关于使用ANT从Team Build Extension 2010构建Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆