Building Java with ANT from Team Build Extensions 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.
精彩评论