| |
|
| java.lang.Object org.tp23.antinstaller.InstallerContext
InstallerContext | public class InstallerContext (Code) | | A single InstallerContext is created by the ExecInstall class and
exist for the duration of the Install screens and the runing of
the Ant Script.
author: Paul Hinds version: $Id: InstallerContext.java,v 1.10 2007/01/28 08:44:41 teknopaul Exp $ |
Field Summary | |
final public static String | ENV_PREFIX This is the prefix for environment variables, unlike Ant this is fixed to
the common prefix of "env". | final public static String | JAVA_PREFIX This is the prefix for Java system property variables. |
ENV_PREFIX | final public static String ENV_PREFIX(Code) | | This is the prefix for environment variables, unlike Ant this is fixed to
the common prefix of "env". If you dont like this complain to the bug reports
on sourceforge
|
JAVA_PREFIX | final public static String JAVA_PREFIX(Code) | | This is the prefix for Java system property variables.
This is fixed to "java."
|
InstallerContext | public InstallerContext()(Code) | | |
getAntBuildFile | public String getAntBuildFile()(Code) | | RFE 1569628, the build file to use, defaults to build.xml
There should never be any path info, that is derived elsewhere
|
getBuildListener | public org.apache.tools.ant.BuildListener getBuildListener()(Code) | | |
getEnvironment | public static Properties getEnvironment()(Code) | | Use the standard Ant way to load the environment variables, this is not all inclusive
(but will be come Java 1.5 I imagine)
Properties |
getFileRoot | public File getFileRoot()(Code) | | in SelfExtractor - the directory the install has extracted to
in Scripted installs - the base directory of the install
in NonExtractor - the temporary space created for the build
|
getInstallerConfigFile | public String getInstallerConfigFile()(Code) | | RFE 1569628, the antinstaller config file to use, defaults to antinstall-config.xml
|
getUserObject | public Object getUserObject()(Code) | | Can be used when embedding the installer screens to hook into the filter chain
|
isAutoBuild | public boolean isAutoBuild()(Code) | | |
isGui | public boolean isGui()(Code) | | |
isInstallSucceded | public boolean isInstallSucceded()(Code) | | |
isUnix | public static boolean isUnix()(Code) | | Check to see if the system is windoze to be able to return the correct prompted
directories. This method should be IsNotWindows since it assumes anything
that is not windows is Unix
boolean true if not windows in the os.name System Property |
loge | public void loge(int b)(Code) | | |
reInitLocale | public static void reInitLocale()(Code) | | Reinitialise the LanguagePack to pick up DefaultLocale Changes
|
setAntBuildFile | public void setAntBuildFile(String antBuildFile)(Code) | | |
setBuildListener | public void setBuildListener(org.apache.tools.ant.BuildListener buildListener)(Code) | | |
setConfigResource | public void setConfigResource(String configResource)(Code) | | |
setCurrentPage | public void setCurrentPage(Page currentPage)(Code) | | |
setFileRoot | public void setFileRoot(File fileRoot)(Code) | | |
setGui | public void setGui(boolean gui)(Code) | | |
setInstallSucceded | public void setInstallSucceded(boolean installedSucceded)(Code) | | |
setInstallerConfigFile | public void setInstallerConfigFile(String installerConfigFile)(Code) | | |
setUIOverride | public void setUIOverride(String override)(Code) | | |
setUserObject | public void setUserObject(Object userObject)(Code) | | Can be used when embedding the installer screens to hook into the filter chain
|
|
|
|