/** * Returns the local file system path of the log file, or the default log location * if the log is not in the local file system. */ public IPath getLogLocation() throws IllegalStateException { //make sure the log location is initialized if the instance location is known if (isInstanceLocationSet()) assertLocationInitialized(); FrameworkLog log = Activator.getDefault().getFrameworkLog(); if (log != null) { java.io.File file = log.getFile(); if (file != null) return new Path(file.getAbsolutePath()); } if (location == null) throw new IllegalStateException(CommonMessages.meta_instanceDataUnspecified); return location.append(F_META_AREA).append(F_LOG); }
/** * Returns the local file system path of the log file, or the default log location * if the log is not in the local file system. */ public IPath getLogLocation() throws IllegalStateException { //make sure the log location is initialized if the instance location is known if (isInstanceLocationSet()) assertLocationInitialized(); FrameworkLog log = Activator.getDefault().getFrameworkLog(); if (log != null) { java.io.File file = log.getFile(); if (file != null) return new Path(file.getAbsolutePath()); } if (location == null) throw new IllegalStateException(CommonMessages.meta_instanceDataUnspecified); return location.append(F_META_AREA).append(F_LOG); }
/** * Returns the local file system path of the log file, or the default log location * if the log is not in the local file system. */ public IPath getLogLocation() throws IllegalStateException { //make sure the log location is initialized if the instance location is known if (isInstanceLocationSet()) assertLocationInitialized(); FrameworkLog log = Activator.getDefault().getFrameworkLog(); if (log != null) { java.io.File file = log.getFile(); if (file != null) return new Path(file.getAbsolutePath()); } if (location == null) throw new IllegalStateException(CommonMessages.meta_instanceDataUnspecified); return location.append(F_META_AREA).append(F_LOG); }
/** * Returns the local file system path of the log file, or the default log location * if the log is not in the local file system. */ public IPath getLogLocation() throws IllegalStateException { //make sure the log location is initialized if the instance location is known if (isInstanceLocationSet()) assertLocationInitialized(); FrameworkLog log = Activator.getDefault().getFrameworkLog(); if (log != null) { java.io.File file = log.getFile(); if (file != null) return new Path(file.getAbsolutePath()); } if (location == null) throw new IllegalStateException(CommonMessages.meta_instanceDataUnspecified); return location.append(F_META_AREA).append(F_LOG); }
setProperty(PROP_EXITDATA, NLS.bind(Msg.ECLIPSE_STARTUP_ERROR_CHECK_LOG, log == null ? null : log.getFile().getPath()));
setProperty(PROP_EXITDATA, NLS.bind(Msg.ECLIPSE_STARTUP_ERROR_CHECK_LOG, log == null ? null : log.getFile().getPath()));
setProperty(PROP_EXITDATA, NLS.bind(Msg.ECLIPSE_STARTUP_ERROR_CHECK_LOG, log == null ? null : log.getFile().getPath()));
setProperty(PROP_EXITDATA, NLS.bind(Msg.ECLIPSE_STARTUP_ERROR_CHECK_LOG, log == null ? null : log.getFile().getPath()));
setProperty(PROP_EXITDATA, NLS.bind(Msg.ECLIPSE_STARTUP_ERROR_CHECK_LOG, log == null ? null : log.getFile().getPath()));
setProperty(PROP_EXITDATA, NLS.bind(Msg.ECLIPSE_STARTUP_ERROR_CHECK_LOG, log == null ? null : log.getFile().getPath()));
FrameworkProperties.setProperty(PROP_EXITDATA, NLS.bind(EclipseAdaptorMsg.ECLIPSE_STARTUP_ERROR_CHECK_LOG, log == null ? null : log.getFile().getPath()));
FrameworkProperties.setProperty(PROP_EXITDATA, NLS.bind(EclipseAdaptorMsg.ECLIPSE_STARTUP_ERROR_CHECK_LOG, log == null ? null : log.getFile().getPath()));