public static final String getAsAdminScriptLocation(String installRoot) { return getAdminScriptLocation(installRoot); }
public static final String getAsAdminScriptLocation(String installRoot) { return getAdminScriptLocation(installRoot); }
/** Returns the system specific file.separator delimited path to the asadmin script. Any changes to file layout should * be reflected here. The path will contain '/' as the separator character, regardless of operating * platform. Never returns a null. Assumes the the property "INSTALL_ROOT_PROPERTY" is set in the VM * before calling this. As of now (September 2005) all the server instances and asadmin VM itself has * this property set. The method does not guarantee that the script exists on the given system. It should * only be used when caller wants to know the location of the script. Caller should make sure it exists. * @return String representing the Path to asadmin script. Might return a string beginning with "null", if * the INSTALL_ROOT_PROPERTY is not defined */ public static final String getAsAdminScriptLocation() { return getAdminScriptLocation(System.getProperty(SystemPropertyConstants.INSTALL_ROOT_PROPERTY)); }
/** Returns the system specific file.separator delimited path to the asadmin script. Any changes to file layout should * be reflected here. The path will contain '/' as the separator character, regardless of operating * platform. Never returns a null. Assumes the the property "INSTALL_ROOT_PROPERTY" is set in the VM * before calling this. As of now (September 2005) all the server instances and asadmin VM itself has * this property set. The method does not guarantee that the script exists on the given system. It should * only be used when caller wants to know the location of the script. Caller should make sure it exists. * @return String representing the Path to asadmin script. Might return a string beginning with "null", if * the INSTALL_ROOT_PROPERTY is not defined */ public static final String getAsAdminScriptLocation() { return getAdminScriptLocation(System.getProperty(SystemPropertyConstants.INSTALL_ROOT_PROPERTY)); }