Last week i was working on TFSBuild using TFS Buildserver to build a java project and there was one major challengeĀ managing TFSBuild.proj file created when build definition was done. You can only have one proj file and you can’t use it in flexible way by changing lifecycle based build files, drop location etc.
I came across this wonder full article
https://www.codeproject.com/Articles/665454/Java-Ant-Builds-on-TFS
It explains in detailed way how to add custom fields to utilize same build proj to handle multiple lifecycles š