// Assemble portlet app by updating web.xml.
if (archives == null || archives.isEmpty()) {
AssemblerConfig config = createAssemblerConfig();
Assembler assembler = AssemblerFactory.getFactory()
.createAssembler(config);
assembler.assemble(config);
} else {
for (Iterator i = archives.iterator(); i.hasNext();) {
File archive = new File(i.next().toString());
if (log.isInfoEnabled()) {
log.info("Assembling archive file " + archive.getAbsolutePath() +