יום חמישי 15 ספטמבר 2011 23:15
This is a basic question, but I installed the Aug/2011 release of the build extensions into my Team Build Server 2010. That server is a 64-bit Windows Server 2008 R2 machine. I have 64-bit TFS 2010 and Team Build Server installed with 4 agents.
I have JDK and Maven 3 installed correctly and verified as working on that server.
Will this configuration work? What are the step-by-step instructions to create a build definition for my Maven 3 POM file here? I don't have TEE installed on this server, however I have full 32-bit VS 2010 Ultimate installed.
I'm stuck at point 0, that is, can't even get a Build Definition going. Can someone help me with this and some basic steps here? Many thatnks!
יום שישי 16 ספטמבר 2011 13:53מנחה דיון
It sounds like you have the necessary prerequisites set up on the build server: a Java JDK, Maven and the TFS Build Extensions. You do not need to install Eclipse or Team Explorer Everywhere on your build server, just your clients.
All you should need to do is create a build definition from a Maven POM file is to open up Team Explorer Everywhere on your client, open Team Explorer, and on your Team Project's Builds node select "New Build Definition."
First, on the Workspace tab, set up your workspace mappings so that all your projects are included. Then, on the Project File tab, set a path to the build definition you're creating. Then, you should only need to click the Create button to generate a build definition from your Maven POM file. Team Explorer Everywhere will try to locate a pom.xml file beneath your workspace configuration or you can select one manually. After that, Team Explorer Everywhere will create a new TFSBuild.proj file that will execute Maven to perform your build.
Note that this functionality is only in Team Explorer Everywhere - you cannot create an Ant or Maven build definition automatically from within other TFS clients.