FilterCompilerOutputByTeam

Lasă un comentariu

28 Iulie 2016 de liviustoica55


static void FilterCompilerOutputByTeam(Args _args)
{
str                         filter          = SysVersionControlSystemSourceDepot::getOwner(‘Sys’);
Map                         prefixTeamMap   = infolog.globalCache().get(‘SysVersionControlSystemSourceDepot::getOwner’, 0, null);
Set                         set             = prefixTeamMap.valueSet();
SetEnumerator               enum            = set.getEnumerator();
syscompileroutput           sco             = infolog.compilerOutput();
tmpcompileroutput           op              = sco.compilerOutput();
Dialog                      dialog          = new Dialog(„Filter compiler output”);
dialogField                 dialogField     = dialog.addField(typeId(ABC), „Team”);
int                         i;
Map                         valueMap        = new Map(Types::Integer, Types::String);
FormBuildComboBoxControl    formComboBoxControl;
;
formComboBoxControl = dialogField.control();
formComboBoxControl.enumType(0);
formComboBoxControl.items(set.elements());

while (enum.moveNext())
{
i++;
formComboBoxControl.item(i);
formComboBoxControl.text(enum.current());
valueMap.insert(i, enum.current());
}

if (dialog.run())
{
startlengthyoperation();
filter = valueMap.lookup(dialogField.value()+1);
sco.startBPCheckContext();
sco.startBPCheck(‘xxx’);
while select op
{
if (SysVersionControlSystemSourceDepot::getOwner(op.SysUtilElementName) != filter)
op.delete();
}
sco.endBPCheckContext();
treenode::findNode(‘jobs\\’ + funcname()).AOTcompile();
}
}

Lasă un răspuns

Completează mai jos detaliile despre tine sau dă clic pe un icon pentru autentificare:

Logo WordPress.com

Comentezi folosind contul tău WordPress.com. Dezautentificare / Schimbă )

Poză Twitter

Comentezi folosind contul tău Twitter. Dezautentificare / Schimbă )

Fotografie Facebook

Comentezi folosind contul tău Facebook. Dezautentificare / Schimbă )

Fotografie Google+

Comentezi folosind contul tău Google+. Dezautentificare / Schimbă )

Conectare la %s

%d blogeri au apreciat asta: