private boolean loadDependenciesFromAntBuildFile()
{
Project currentAntProject = getProject();
// Run the ant build with the dependency refs
AntTaskModified dependenciesAntBuild = new AntTaskModified();
dependenciesAntBuild.setAntfile( getDependencyRefsBuildFile() );
dependenciesAntBuild.setProject( currentAntProject );
dependenciesAntBuild.execute();
// Copy the properties and refs to the current project
Project cachedDepsProject = dependenciesAntBuild.getSavedNewProject();
AntUtil.copyProperties( cachedDepsProject, currentAntProject );
AntUtil.copyReferences( cachedDepsProject, currentAntProject );
return true;
}