rem: this.prototype.arrLocales = initLocalesList(nlsDir); 
add: ProjectDef.prototype.arrLocales = initLocalesList(nlsDir); 
context: function projectCreateTestLocaleDefs(nlsDir){    nlsDir = ReplaceMacros(nlsDir, cmnMacros);    if (typeof(this.arrLocales) == "undefined")        this.prototype.arrLocales = initLocalesList(nlsDir);            var projectDefs = new Array();    for (var i = 0; i < this.arrLocales.length; ++i)    {        var locale = this.arrLocales[i];        srcFileName = nlsDir + "\\src\\" + locale.srcName;        cmFileName = nlsDir + "\\charmaps\\" + locale.cmName;        var cmFile;        var srcFile;                try        {            cmFile = fso.GetFile(cmFileName);        }        catch (e)        {            WScript.StdErr.WriteLine("Generate: Fatal error: File " +                cmFileName + " not found");            WScript.Quit(3);        }        try        {            srcFile = fso.GetFile(srcFileName);        }        catch (e)        {            WScript.StdErr.WriteLine("Generate: Fatal error: File " +                srcFileName + " not found");            WScript.Quit(3);        }        var projectDef = this.clone();        projectDef.Name = "test_" + locale.Name;        projectDef.FilterDefs.push(            new FilterDef("Charmap", null, "cm", eFileTypeText, false).            addFiles(null, new Array(cmFile.Path)));        projectDef.FilterDefs.push(            new FilterDef("Src", null, "", eFileTypeText, false).            addFiles(null, new Array(srcFile.Path)));        projectDef.FilterDefs.push(            new FilterDef("Script Files", null, "js;wsf", eFileTypeScript, false).            addFiles("%SRCDIR%\\etc\\config\\windows", new Array("run_locale_utils.wsf")));        projectDef.CustomBuildCmd =            "cscript /nologo \"%SRCDIR%\\etc\\config\\windows\\run_locale_utils.wsf\"" +            " /b:\"$(SolutionDir)%CONFIG%\\bin\" /f" +            " /i:\"" + nlsDir + "\"" + " /l:" + locale.Name;        projectDef.CustomBuildOut = " ";                projectDefs.push(projectDef);    }        return projectDefs;}
meta: 3331	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3331/c52d4470aea9d909a3468c1c1718022392b69459/projectdef.js/clean/etc/config/windows/projectdef.js