Node parentSubproject=getParentSubproject((Node)descendants[i].getParent());
if (parentSubproject!=null) owningProject=((SubProj)parentSubproject.getImpl()).getSubproject();
if (!task.isExternal()) // fixes subproject bug with external links
task.setProjectId(owningProject.getUniqueId()); //useful?
owningProject.validateObject(task,model,this,null,false);
Set<Dependency> depsSet=new HashSet<Dependency>();
List pdeps=task.getDependencyList(true);
if (pdeps!=null&&pdeps.size()>0){
if (Environment.isKeepExternalLinks()){