marshaller.setMapping(mappingWebXml);
marshaller.marshal(webApp);
} catch (Exception e) {
writer.close();
e.printStackTrace(System.out);
throw new PlutoAdminException("Error found in Deploy.prepareWebArchive()", e);
}
// REMOVED copy of tld b/c it's now included in the container distribution.
//String strTo = dirDelim + "WEB-INF" + dirDelim + "tld" + dirDelim + "portlet.tld";
//String strFrom = plutoHome + "portal" + dirDelim + "src" +
// dirDelim + "webapp" + strTo;
//copy(strFrom, webAppsDir + webModule + strTo);
} catch (Exception e) {
e.printStackTrace(System.out);
throw new PlutoAdminException("Error found in Deploy.prepareWebArchive()", e);
}
System.out.println("finished!");
}