private SelectionScriptGenerator compilePermutations(TreeLogger logger)
throws UnableToCompleteException {
logger = logger.branch(TreeLogger.INFO, "Output will be written into "
+ outDir, null);
Property[] orderedProps = perms.getOrderedProperties();
SelectionScriptGenerator selGen = new SelectionScriptGenerator(module,
orderedProps);
int permNumber = 1;
for (Iterator iter = perms.iterator(); iter.hasNext(); ++permNumber) {
String[] orderedPropValues = (String[]) iter.next();
String strongName = realizePermutation(logger, orderedProps,
orderedPropValues, permNumber);
selGen.recordSelection(orderedPropValues, strongName);
}
return selGen;
}