tmpPluginXmlFile = new File(tmpPluginDir, "plugin.xml");
FileUtils.newFileUtils().copyFile(descriptor, tmpPluginXmlFile);
FileSet fs = new FileSet();
fs.setDir(tmpPluginDir);
fs.createInclude().setName("plugin.xml");
jarTask.addFileset(fs);
} catch (IOException ex) {
throw new BuildException(ex);
}
// Create manifest