Example #1
0
 private AssemblerConfig createArchiveAssemblerConfig(
     File archiveToAssemble, File destinationDirectory) {
   AssemblerConfig config = new AssemblerConfig();
   config.setDispatchServletClass(dispatchServletClass);
   config.setSource(archiveToAssemble);
   config.setDestination(destinationDirectory);
   return config;
 }
Example #2
0
 private AssemblerConfig createAssemblerConfig() {
   AssemblerConfig config = new AssemblerConfig();
   config.setPortletDescriptor(portletXml);
   config.setWebappDescriptor(webXml);
   config.setDestination(webXmlDestination);
   config.setDispatchServletClass(dispatchServletClass);
   return config;
 }