diff --git a/CHANGES.txt b/CHANGES.txt index 615d985d..3024ca0f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,5 @@ +- FIX: Delivered Ivy files with incomplete last line. (IVY-125) (Thanks to Matthias Kilian) + version 1.3.1 - 2006-03-30 =============================== - FIX: retrieval of multiple artifacts in different configurations does not work as expected (IVY-188) diff --git a/src/java/fr/jayasoft/ivy/xml/XmlModuleDescriptorUpdater.java b/src/java/fr/jayasoft/ivy/xml/XmlModuleDescriptorUpdater.java index 31c4fec2..ccaa1e15 100644 --- a/src/java/fr/jayasoft/ivy/xml/XmlModuleDescriptorUpdater.java +++ b/src/java/fr/jayasoft/ivy/xml/XmlModuleDescriptorUpdater.java @@ -217,6 +217,7 @@ public class XmlModuleDescriptorUpdater { } public void endDocument() throws SAXException { + out.print(LINE_SEPARATOR); out.flush(); out.close(); } diff --git a/test/java/fr/jayasoft/ivy/xml/updated.xml b/test/java/fr/jayasoft/ivy/xml/updated.xml index c7744af4..c5899052 100644 --- a/test/java/fr/jayasoft/ivy/xml/updated.xml +++ b/test/java/fr/jayasoft/ivy/xml/updated.xml @@ -81,4 +81,4 @@ - \ No newline at end of file +