Sice the SwitchParser doesn't parse the -clobber argument but instead fires the UnknownParameter event that is handled correctly in the MainClass class, but isn't handled in AjaxMinManifestTask.
We are using the AjaxMinManifestTask in our SharePoint projects. To include the minified files in our SharePoint deployment packages (.WSP-files), we need to keep empty versions of the minified files in our projects. This causes the AjaxMinManifestTask to fail with some access denied exception on the TFS Build server since the target files retrieved from the code repository are read-only.
To solve our immediate problem, I changed the AjaxMinManifestTask to always remove the read-only attribute from target files. Not the most elegant solution, but it's good enough for us.
Comments: ** Comment from web user: ronlo **
We are using the AjaxMinManifestTask in our SharePoint projects. To include the minified files in our SharePoint deployment packages (.WSP-files), we need to keep empty versions of the minified files in our projects. This causes the AjaxMinManifestTask to fail with some access denied exception on the TFS Build server since the target files retrieved from the code repository are read-only.
To solve our immediate problem, I changed the AjaxMinManifestTask to always remove the read-only attribute from target files. Not the most elegant solution, but it's good enough for us.
Comments: ** Comment from web user: ronlo **
fixed in 5.3