File targetFolder = fileChooser.getSelectedFile();
final String nbmName = this.descriptor.getName() + ".nbm";
ProgressWorker worker = new ProgressWorker("Export Module Suite", "Creating NetBeans module suite " + nbmName,
() -> {
try {
<BUG>ModulePackager.packModules(this.descriptor, new File(targetFolder, nbmName), null, selection);
</BUG>
Dialogs.showInformation(String.format(Bundle.MSG_Export_Complete_Text(), targetFolder.getAbsolutePath()), null);
} catch (IOException e) {
SystemUtils.LOG.warning(e.getMessage());

File targetFolder = fileChooser.getSelectedFile();
final String nbmName = this.descriptor.getName() + ".nbm";
ProgressWorker worker = new ProgressWorker("Export Module Suite", "Creating NetBeans module suite " + nbmName,
() -> {
try {
ModulePackager.packModules(this.descriptor, new File(targetFolder, nbmName), this.bundle, selection);
Dialogs.showInformation(String.format(Bundle.MSG_Export_Complete_Text(), targetFolder.getAbsolutePath()), null);
} catch (IOException e) {
SystemUtils.LOG.warning(e.getMessage());
