flex2.compiler.CompilerAPI.setupHeadless(configuration);
// set up for localizing messages
LocalizationManager l10n = new LocalizationManager();
l10n.addLocalizer( new XLRLocalizer() );
l10n.addLocalizer( new ResourceBundleLocalizer() );
ThreadLocalToolkit.setLocalizationManager( l10n );
checkSupportedTargetMimeType(targetFile);
List<VirtualFile> virtualFileList = new ArrayList<VirtualFile>();