use of com.intellij.lang.ant.config.impl.AntInstallation in project intellij-community by JetBrains.
the class AntDomProject method getAntInstallation.
public AntInstallation getAntInstallation() {
final AntConfigurationBase configuration = AntConfigurationBase.getInstance(getXmlTag().getProject());
AntInstallation antInstallation = null;
if (configuration != null) {
antInstallation = configuration.getProjectDefaultAnt();
}
if (antInstallation == null) {
antInstallation = GlobalAntConfiguration.getInstance().getBundledAnt();
}
assert antInstallation != null;
return antInstallation;
}
Aggregations