构建Java与ANT从团队建设扩展2010 [英] Building Java with ANT from Team Build Extensions 2010

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

问题描述

我有一个基本的C#项目,但我想揭开序幕Ant构建(编译其中一些非常基本的Java code)和还激发JUnit测试。如何从团队找出构建日(TFS 2010基本),如果JUnit测试失败?如果是的话,我会失败的TFS构建。

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.

我已经构建扩展和我使用TFS 2010年。不过,对于这个文件是不是existant。

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

感谢

推荐答案

您可以使用Exec活动来调用一个exe建立并执行测试。

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

然而,你可能想看看最终构建器因为它与团队基础建设2010真的集成好,并提供一个更easyer接口

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.

这篇关于构建Java与ANT从团队建设扩展2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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