protected void setProcessor(Processor proc) throws BuildException {
Linker linker = null;
if (proc instanceof Linker) {
linker = (Linker) proc;
} else {
LinkType linkType = new LinkType();
linker = proc.getLinker(linkType);
}
super.setProcessor(linker);
}