mirror of https://github.com/apache/ant-ivy
handle empty conf attribute as if none were specified
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@618005 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8812856770
commit
0c5fbe0dec
|
|
@ -366,7 +366,8 @@ public final class XmlModuleDescriptorUpdater {
|
|||
ExtendedBuffer buffer = new ExtendedBuffer(getContext());
|
||||
buffers.push(buffer);
|
||||
confAttributeBuffers.push(buffer);
|
||||
buffer.setDefaultPrint(attributes.getValue("conf") == null);
|
||||
buffer.setDefaultPrint(attributes.getValue("conf") == null
|
||||
|| attributes.getValue("conf").trim().length() == 0);
|
||||
write("<dependency");
|
||||
String org = substitute(settings, attributes.getValue("org"));
|
||||
org = org == null ? organisation : org;
|
||||
|
|
|
|||
Loading…
Reference in New Issue