mirror of https://github.com/apache/ant-ivy
fix failing tests due to IVY-739 changes
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632990 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a9ba2122fe
commit
0dfdcb94d6
|
|
@ -203,6 +203,7 @@ public class DefaultDependencyDescriptor implements DependencyDescriptor {
|
|||
public DefaultDependencyDescriptor(ModuleRevisionId mrid, boolean force, boolean changing) {
|
||||
md = null;
|
||||
revId = mrid;
|
||||
dynamicRevId = mrid;
|
||||
isForce = force;
|
||||
isChanging = changing;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -384,7 +384,8 @@ public final class XmlModuleDescriptorUpdater {
|
|||
String rev = (String) resolvedRevisions.get(systemMrid);
|
||||
if (rev != null) {
|
||||
write(" rev=\"" + rev + "\"");
|
||||
if (attributes.getIndex("revConstraint") == -1) {
|
||||
if (attributes.getIndex("revConstraint") == -1
|
||||
&& !rev.equals(systemMrid.getRevision())) {
|
||||
write(" revConstraint=\"" + systemMrid.getRevision() + "\"");
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue