private AssemblerConfig createArchiveAssemblerConfig( File archiveToAssemble, File destinationDirectory) { AssemblerConfig config = new AssemblerConfig(); config.setDispatchServletClass(dispatchServletClass); config.setSource(archiveToAssemble); config.setDestination(destinationDirectory); return config; }
private AssemblerConfig createAssemblerConfig() { AssemblerConfig config = new AssemblerConfig(); config.setPortletDescriptor(portletXml); config.setWebappDescriptor(webXml); config.setDestination(webXmlDestination); config.setDispatchServletClass(dispatchServletClass); return config; }
public void assembleInternal(AssemblerConfig config) throws UtilityException, IOException { this.assembleWar(config.getSource(), config.getDestination(), config.getDispatchServletClass()); }