8889909192939495969798
copyFileToDirectory(config.getPortalApplication(), domainDir); writeConfiguration(config); } catch(IOException io) { throw new UtilityException( "Unable to install portal to Tomcat", io, config.getInstallationDirectory() ); }
124125126127128129130131132
File delete = new File(domainDir, config.getPortalApplication().getName()); delete.delete(); } catch(IOException io) { throw new UtilityException("Unable to remove files. ", io, config.getInstallationDirectory()); } }
100101102103104105106107
webXmlIn.close(); FileOutputStream webXmlOut = new FileOutputStream( config.getDestination()); save(xmlDoc, webXmlOut); } catch (IOException ex) { throw new UtilityException(ex.getMessage(), ex, null); } }
122123124125126127128129
// out.write(getPortalApplicationConfig(config)); // out.flush(); // out.close(); } catch (IOException io) { throw new UtilityException(io); } }
109110111112113114115116
8990919293949596979899
125126127128129130131132133
123124125126127128129130