chrisw 2003/10/05 12:43:49 Modified: src/java/org/apache/tools/ant/gui/core ProjectManager.java Log: Fixed bug persisting project, but not entire document! PR: Bug reported by Jack Woehr via mailig list! Revision Changes Path 1.7 +4 -2 ant-antidote/src/java/org/apache/tools/ant/gui/core/ProjectManager.java Index: ProjectManager.java =================================================================== RCS file: /home/cvs/ant-antidote/src/java/org/apache/tools/ant/gui/core/ProjectManager.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- ProjectManager.java 10 Feb 2003 14:35:02 -0000 1.6 +++ ProjectManager.java 5 Oct 2003 19:43:49 -0000 1.7 @@ -174,7 +174,9 @@ } // Persist the project. - project.write(out); + // Call the write method of the parent node (document) do persist document related tags + // and not only the project! + project.getParentNode().write(out); out.flush(); project.setLocation(location); project.setModified(false);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]