9
Vote

TFS check out of minified files

description

We like to keep all our minified files checked into to TFS, this means that every time you modify the config or the js files an error occurs if you haven't manually checked out the minified files. Is it possible to automate the check out of the files when chirpy attempts to modify them.

comments

ploufs wrote Sep 30, 2011 at 10:26 PM

In changeset : b0fea5d13101
Remove file attribute read-only before create minifed file.

hdougie wrote Jan 8, 2013 at 10:55 AM

There are still issues here I believe. We have this mainly with the config functionality. Upon saving the config file, checkout is prompted for that config file, but checkout prompts are not correctly fired for all the minified files to be generated as part of the config.

Have looked at the code for this, and it appeared as if though for every file being generated as part of the config, it was checking out the config again (if it wasn't already checked out), not the JS file itself. Have tested a change in my development environment and appears to be working correctly, but not sure if there have been any repercussions as of yet, still need to test it, but I do get the checkout prompts for the correct files now so if it all seems to be working correctly, I will submit a pull request with the fix.