Tuesday, August 10, 2010

Agile Update Script

Of course one of the first things I wanted to try on 2010 was the agile update script written by Hakan Eskici, and get one of our projects into Agile 5.0.

We had problems with the script as we are a non en-us locale. This was commented in Hakan's script.

I updated our copy of the script and it fixed the issue
  • Open the EnableFeatures.bat script
  • Immediately after the comment "REM The below line will only work on en-us locale" modify the code to read:

for /f "tokens=1-5 delims=/ " %%d in ("%date%") do SET myDate=%%d-%%e-%%f

for /f "tokens=1-5 delims=:" %%d in ("%time%") do SET myTime=%%d-%%e

SET BackupName=%myDate%-%myTime%

echo %BackupName%

  • Save and you are done, the script is now a little more non en-us friendly.

More New Toys

The upgrade to WCSF and WSSF was anything but smooth, we had a whole stack of user profile issues which I think are specific to our environment, so I won't bore you with the details.

As of yesterday we got TFS 2010 in production, so many little features make it worthwhile, simple things like being able to organise queries into folders.

Of course my absolute favorite is the new build/workflow engine. Some pretty cool stuff in there, the TypeMock Activity certainly makes life a lot easier than manually hacking msbuild scripts. I am sure there are many other useful ones either out there, or in development right now!