PR: 16081 Submitted by: Rob van Oostrum (rob at springwellfarms dot ca) git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274670 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -149,6 +149,11 @@ Fixed bugs: | |||||
| * <cvstagdiff> had a problem with "dd-MM-yy hh:mm:ss" formats | * <cvstagdiff> had a problem with "dd-MM-yy hh:mm:ss" formats | ||||
| Bugzilla Report 15995. | Bugzilla Report 15995. | ||||
| * <cvstagdiff> cvsroot and package attributes added to the root | |||||
| element tagdiff of the xml output | |||||
| Bugzilla Report 16081. | |||||
| Other changes: | Other changes: | ||||
| -------------- | -------------- | ||||
| * Six new Clearcase tasks added. | * Six new Clearcase tasks added. | ||||
| @@ -161,9 +161,13 @@ how to generate a HTML report from the XML report.</p> | |||||
| </pre> | </pre> | ||||
| <h4>Sample Output</h4> | <h4>Sample Output</h4> | ||||
| <p> | |||||
| The cvsroot and package attributes of the tagdiff element are new in ant 1.6. | |||||
| </p> | |||||
| <pre> | <pre> | ||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||
| <tagdiff startTag="ANT_14" endTag="ANT_141"> | |||||
| <tagdiff startTag="ANT_14" endTag="ANT_141" | |||||
| cvsroot=":pserver:anoncvs@cvs.apache.org:/home/cvspublic" package="ant"> | |||||
| <entry> | <entry> | ||||
| <file> | <file> | ||||
| <name>src/main/org/apache/tools/ant/DirectoryScanner.java</name> | <name>src/main/org/apache/tools/ant/DirectoryScanner.java</name> | ||||
| @@ -1,7 +1,7 @@ | |||||
| /* | /* | ||||
| * The Apache Software License, Version 1.1 | * The Apache Software License, Version 1.1 | ||||
| * | * | ||||
| * Copyright (c) 2002 The Apache Software Foundation. All rights | |||||
| * Copyright (c) 2002-2003 The Apache Software Foundation. All rights | |||||
| * reserved. | * reserved. | ||||
| * | * | ||||
| * Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
| @@ -351,6 +351,10 @@ public class CvsTagDiff extends AbstractCvsTask { | |||||
| } else { | } else { | ||||
| writer.print("endDate=\"" + m_endDate + "\" "); | writer.print("endDate=\"" + m_endDate + "\" "); | ||||
| } | } | ||||
| writer.print("cvsroot=\"" + getCvsRoot() + "\" "); | |||||
| writer.print("package=\"" + m_package + "\" "); | |||||
| writer.println(">"); | writer.println(">"); | ||||
| for (int i = 0, c = entries.length; i < c; i++) { | for (int i = 0, c = entries.length; i < c; i++) { | ||||
| writeTagEntry(writer, entries[i]); | writeTagEntry(writer, entries[i]); | ||||