| } else {
pack.add(src);
}
}
if (pack.size() != 0) {
ResourcePackage rp = new ResourcePackage(pack.toArray(new String[]{}));
rp.setName(name);
rp.setVersion(version);
rp.setExtension(type);
writeScript(writer, component, RequestUtils.contextRelative("/" + type + rp, true));
}
scripts.clear();
}
|