FIX: error retrieving dependencies with a '+' in their revision if the ivy file doesn't exist - fixed by maarten coene (IVY-59)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484013 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Xavier Hanin 2005-08-17 16:29:02 +00:00
parent 1a3a2d84a8
commit 4471aa8814
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@
- new type filtering in cachepath task
- new cachefileset task: builds an ant fileset of artifacts in cache
- publish task now uses srcivypattern for ivy files finding and for delivery
- FIX: error retrieving dependencies with a '+' in their revision if the ivy file doesn't exist - fixed by maarten coene (IVY-59)
- FIX: trying to resolve latest with no revision in pattern caused a StackOverflowError (IVY-56)
- FIX: now handle transitive eviction (IVY-51)
- FIX: resolve now store resolved file id in ivy variables, so that multiple resolve calls

View File

@ -78,6 +78,9 @@ public class RepositoryResolver extends AbstractResourceResolver {
ResolvedResource found = (ResolvedResource)strategy.findLatest(rress, date);
if (found == null) {
Message.debug("\t"+name+": no resource found for "+mrid+": pattern="+pattern);
} else if (!found.getResource().exists()) {
Message.debug("\t"+name+": resource not reachable for "+mrid+": res="+res);
return null;
}
return found;
} else {