ccs.utils
Class PostInstall

java.lang.Object
  extended by ccs.utils.PostInstall

public class PostInstall
extends java.lang.Object

Static methods of this class implement various mechanisms which are commonly required following the installation of binaries. Mostly reserved for ConfigureMage and the cxp BinaryInstaller. Provisionally undocumented.


Constructor Summary
PostInstall()
           
 
Method Summary
static void cloneJStarts(java.io.File binDir, java.util.logging.Logger log)
          For each boot file in the binDir, create a copy of the JStart executable for this platform, if none exists already.
static void postProcess(java.util.logging.Logger log)
          Apply platform-specific post-install processes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostInstall

public PostInstall()
Method Detail

cloneJStarts

public static void cloneJStarts(java.io.File binDir,
                                java.util.logging.Logger log)
                         throws java.io.IOException
For each boot file in the binDir, create a copy of the JStart executable for this platform, if none exists already.

Parameters:
binDir - The directory to check for boot files. No recursion applies.
log - The logger to address progress reports to.
Throws:
java.io.IOException

postProcess

public static void postProcess(java.util.logging.Logger log)
                        throws java.io.IOException
Apply platform-specific post-install processes. These are determined automatically. (Currently, the mechanism applies a file-permissions fixup script on unix, and does nothing on Windows, but this is subject to change.)

Throws:
java.io.IOException