// Don't create a SWC if there are errors unless a
// developer requested otherwise.
if (!config.getCreateTargetWithErrors() && problems.hasErrors())
return;
boolean useCompression = targetSettings.useCompression();
if (config.getOutputSwcAsDirectory())
{
final String path = FilenameNormalization.normalize(outputOptionValue);
final ISWCWriter swcWriter = new SWCDirectoryWriter(path, useCompression,
targetSettings.isDebugEnabled(),