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; }