A TF Command file example
Submitted by pete on Thu, 2009-03-26 18:44Put the following into a script.tfc file called for example.
cd %3
rem Change the current directory from whatever it is to the project folder.
workspace /new /s:TeamServer2 /user:UNO\juan %1BuildWS%2
rem Create a new workspace on the TeamServer2 server as user UNO\juan.
rem Assign a name to the workspace that concatenates the first command line argument (%1) + "BuildWS" + the second command line argument (%2)
get %1 /recursive
rem retrieve the latest version of the first command line argument.
branch %1 %1V%2
checkin /comment:”This is build v%2 of %1”
label %1Build%2 /category:builds /comment:”%1 Build %2” %1V%2
workspace /delete %1BuildWorkspace%2
Keeping labels when the retention policy deletes builds.
Submitted by pete on Thu, 2009-03-26 18:29If you setup your TFS build server to delete old builds you might not know TFS deletes the label for that build as well. If you one of those old builds you want to have the label you used to build it. Many ways to deal with this issue. Changing the AT web.config is how to change it for all builds. The builds will be deleted, but the labels will remain.
From: http://social.msdn.microsoft.com/forums/en-US/tfsbuild/thread/a08bf751-4...
"The build admin can add a flag to the Web.config file on the Application Tier to specify that labels should not be deleted. Here is an example of what that line in the web.config file would look like:
"
<add key="PreserveLabelsOnBuildDeletion" value="True"/>
Large team considerations
Submitted by phecht on Wed, 2009-03-25 08:51http://tfsguide.codeplex.com/Wiki/View.aspx?title=Chapter%2010%20-%20Lar... for large teams using tfs.
Here is a piece on # of projects and some sql queries. http://msdn.microsoft.com/en-us/library/aa974183(VS.80).aspx
Building with tfs 2008
Submitted by phecht on Wed, 2009-03-25 08:10Here is an interesting add on: http://sdctasks.codeplex.com/ It has many tasks and targets.
I found the "sdctasks" from this site: http://tfsbuild.com/MainPage.ashx
http://blogs.msdn.com/msbuild/archive/2007/04/26/building-projects-in-pa... shows how to build using multiple cores. Also, shows some ability to keep projects from building at the same time.
Finally, http://wix.sourceforge.net/votive.html seems to offer Wix ability as well.
Xcode build setting reference
Submitted by phecht on Wed, 2009-03-18 08:41http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeB... is where I finally found a list of possible options for xcodebuild.
Tomcat integration with Active Directory
Submitted by luke on Wed, 2009-02-25 11:55For those in a world where IT is based on Microsoft's Active Directory (AD), you might be able to integrate Tomcat with the AD by looking at these links:
http://wiki.openi.org/index.php/Configuring_Tomcat_With_Active_Directory
http://stackoverflow.com/questions/267869/configuring-tomcat-to-authenti...
Sourforge links of the day
Submitted by phecht on Sat, 2008-12-13 12:11http://asymptote.sourceforge.net/index.html appears to be like graphviz.
http://homepage.mac.com/krmathis/ is where one can get a mac command line version on 7z.exe
Virtual Box is Sun's Virtual OS.
Submitted by luke on Thu, 2008-12-04 06:50Multi-Stage Continuous Integration
Submitted by luke on Thu, 2008-12-04 06:49http://www.ddj.com/development-tools/212201506 is another good article for CI.
ccbuild
Submitted by albert on Thu, 2008-11-27 11:58"ccbuild is a C++ source scanning build utility for code distributed over directories. Like a dynamic Makefile, ccbuild finds all programs in the current directory (containing "int main") and builds them. For this, it reads the C++ sources and looks at all local and global includes. All C++ source files in the same directories of the local includes are considered objects for the main program. The global includes lead to extra compiler arguments using a configuration file. Next to running g++ it can create simple Makefiles, A-A-P files, and graph dependencies using DOT (Graphviz) graphs."
The code should be an example of how to parse a file.
