Пример #1
0
 private AssemblerConfig createArchiveAssemblerConfig(
     File archiveToAssemble, File destinationDirectory) {
   AssemblerConfig config = new AssemblerConfig();
   config.setDispatchServletClass(dispatchServletClass);
   config.setSource(archiveToAssemble);
   config.setDestination(destinationDirectory);
   return config;
 }
Пример #2
0
 private AssemblerConfig createAssemblerConfig() {
   AssemblerConfig config = new AssemblerConfig();
   config.setPortletDescriptor(portletXml);
   config.setWebappDescriptor(webXml);
   config.setDestination(webXmlDestination);
   config.setDispatchServletClass(dispatchServletClass);
   return config;
 }
Пример #3
0
  public void assembleInternal(AssemblerConfig config) throws UtilityException, IOException {

    this.assembleWar(config.getSource(), config.getDestination(), config.getDispatchServletClass());
  }