What's the correct way to specify -analyze with the AjaxMinTask?

Jun 5, 2013 at 12:14 AM
I'm trying the following Switches
-JS -evals:immediate -clobber:true -analyze:xml,out objd\amd64\foo_analyze.xml -ignore:JS1135,JS1138,JS1206,JS1267,JS1268,JS1270,JS1272,JS1284,JS1310

But it just seems to ignore the -analyze option, I don't get an error and I don't get the analyze file. I do get the map file and the compressed file though.

This is the full task invocation
    <Message Text="Calling AjaxMin task with switches: $(JsCrunchFlagsFullCompressNoMetaFileGeneration) $(CompressAnalyzeOption) $(CompressIgnoreWarnings)" />
    <AjaxMin Switches="$(JsCrunchFlagsFullCompressNoMetaFileGeneration) $(CompressAnalyzeOption) $(CompressIgnoreWarnings)" JsSourceFiles="$(JsCrunchInput)" JsCombinedFileName="$(CompressedOut)" SourceMapType="xml"/>
Jun 11, 2013 at 1:30 AM
Unfortunately the Analyze option is only available in the EXE code. I could probably copy it into the build tasks, too, if you'd like.