} catch (ManifestException ex) {
throw new BuildException(ex);
}
// Add runtime resources
final Runtime rt = descr.getRuntime();
if (rt != null) {
final HashMap<File, ZipFileSet> fileSets = new HashMap<File, ZipFileSet>();
final Library[] libs = rt.getLibraries();
for (int l = 0; l < libs.length; l++) {
processLibrary(jarTask, libs[l], fileSets, getPluginDir());
}
}