Building java project with TFS
- by Jaco Pretorius
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?