descriptorDir.mkdirs(); // ensure parent dir
final List<String> fileNames = new ArrayList<String>();
final List<ComponentContainerContainer> containers = ComponentContainerUtil.split(components);
for(final ComponentContainerContainer ccc : containers) {
final SpecVersion globalVersion = module.getOptions().getSpecVersion();
SpecVersion sv = null;
for(final ComponentContainer cc : ccc.components ) {
if ( sv == null || sv.ordinal() < cc.getComponentDescription().getSpecVersion().ordinal() ) {
sv = cc.getComponentDescription().getSpecVersion();
}
}
module.getOptions().setSpecVersion(sv);
final File useFile = new File(descriptorDir, ccc.className + ".xml");