使用 Team Build Extensions 2010 中的 ANT 构建 Java

编程入门 行业动态 更新时间:2024-10-15 20:18:07
本文介绍了使用 Team Build Extensions 2010 中的 ANT 构建 Java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我有一个基本的 C# 项目,但我想启动一个 ANT 构建(它编译一些非常基本的 Java 代码)并启动一个 junit 测试.如果junit测试失败,我如何从Team Build 2010(基本上是TFS 2010)中找出答案?如果是这样,我将使 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.但是,相关文档不存在.

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

谢谢

推荐答案

您可以使用 Exec Activity 调用 exe 来构建和执行测试.

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

但是,您可能想要查看 Final Builder,因为它与 Team Foundation Build 2010 集成非常好,并提供了更简单的界面.

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.

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

更多推荐

[db:关键词]

本文发布于:2023-04-20 10:04:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/980092.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Extensions   Build   Team   Java   ANT

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!