On Tue, May 5, 2009 at 7:38 AM, Jesper Eskilson
<jesper.eskilson@xxxxxx> wrote:
Elena Laskavaia wrote:
You need a bug to cover all patches you going to attach. After it is fixed if you want another one you have to open another bug.
I tried the following:
public IOptionApplicability getApplicabilityCalculator() {
if (applicabilityCalculator == null) {
if (applicabilityCalculatorElement != null) {
try {
if (applicabilityCalculatorElement
.getAttribute(APPLICABILITY_CALCULATOR) != null)
applicabilityCalculator = (IOptionApplicability) applicabilityCalculatorElement
.createExecutableExtension(APPLICABILITY_CALCULATOR);
} catch (CoreException e) {
IStatus status = new Status(
IStatus.ERROR,
ManagedBuilderCorePlugin.getUniqueIdentifier(),
IStatus.ERROR,
"Failed to create custom applicability calculator.",
BTW, the message string has to be externalized.
e);
ManagedBuilderCorePlugin.log(status);
}
} else if (superClass != null)
applicabilityCalculator = superClass
.getApplicabilityCalculator();
}
return applicabilityCalculator;
}
But there is nothing logged anywhere (that I can see). What am I doing wrong? Where is the log message supposed to appear?
--
/Jesper