mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
universally support ant references of type "org.apache.tools.ant.types.Reference" like "classpathref", "bootclasspathref" etc.
This commit is contained in:
@@ -29,6 +29,7 @@ import com.intellij.psi.xml.XmlTag;
|
||||
import com.intellij.util.xml.*;
|
||||
import com.intellij.util.xml.reflect.*;
|
||||
import org.apache.tools.ant.Task;
|
||||
import org.apache.tools.ant.types.Reference;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -248,6 +249,9 @@ public class AntDomExtender extends DomExtender<AntDomElement>{
|
||||
type = Boolean.class;
|
||||
converterClass = AntBooleanConverter.class;
|
||||
}
|
||||
else if (isAssignableFrom(Reference.class.getName(), attributeType)) {
|
||||
converterClass = AntDomRefIdConverter.class;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user