Building java project with TFS
Posted
by Jaco Pretorius
on Stack Overflow
See other posts from Stack Overflow
or by Jaco Pretorius
Published on 2010-03-11T14:59:38Z
Indexed on
2010/03/11
19:29 UTC
Read the original article
Hit count: 497
A very small portion of our codebase is some legacy Java code. I'm trying to add a new build that would invoke ant to build this project.
The first problem is that TFS doesn't allow you to create a build that doesn't build a .Net solution. I got around this by copying a previous build file and adding an EndToEndIteration task which is the entry point for the build.
The problem is that none of the usual build variables are populated - $(BuildDirectory), $(SolutionRoot) - all blank. This pretty much means I can't invoke my ant task without hardcoding the paths (which I definitely can't do).
Any ideas?
© Stack Overflow or respective owner