~ubuntu-branches/ubuntu/saucy/ivy/saucy-proposed

« back to all changes in this revision

Viewing changes to src/java/org/apache/ivy/plugins/report/XmlReportWriter.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-05-15 17:44:57 UTC
  • mfrom: (3.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130515174457-ogntd0vxluwalq11
Tags: 2.3.0-2
* Team upload.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
import java.util.Map;
31
31
import java.util.Map.Entry;
32
32
 
33
 
import org.apache.ivy.Ivy;
34
33
import org.apache.ivy.core.cache.ArtifactOrigin;
35
34
import org.apache.ivy.core.module.descriptor.License;
36
35
import org.apache.ivy.core.module.descriptor.ModuleDescriptor;
42
41
import org.apache.ivy.core.resolve.IvyNode;
43
42
import org.apache.ivy.core.resolve.IvyNodeCallers.Caller;
44
43
import org.apache.ivy.core.resolve.IvyNodeEviction.EvictionData;
 
44
import org.apache.ivy.util.DateUtil;
45
45
import org.apache.ivy.util.StringUtils;
46
46
import org.apache.ivy.util.XMLHelper;
47
47
 
85
85
        }
86
86
        out.println("\t\tconf=\"" + XMLHelper.escape(report.getConfiguration()) + "\"");
87
87
        out.println("\t\tconfs=\"" + XMLHelper.escape(StringUtils.join(confs, ", ")) + "\"");
88
 
        out.println("\t\tdate=\"" + Ivy.DATE_FORMAT.format(report.getDate()) + "\"/>");
 
88
        out.println("\t\tdate=\"" + DateUtil.format(report.getDate()) + "\"/>");
89
89
 
90
90
        out.println("\t<dependencies>");
91
91
 
120
120
            details.append(" status=\"");
121
121
            details.append(XMLHelper.escape(dep.getDescriptor().getStatus()));
122
122
            details.append("\" pubdate=\"");
123
 
            details.append(Ivy.DATE_FORMAT.format(new Date(dep.getPublication())));
 
123
            details.append(DateUtil.format(new Date(dep.getPublication())));
124
124
            details.append("\" resolver=\"");
125
125
            details.append(XMLHelper.escape(
126
126
                dep.getModuleRevision().getResolver().getName()));