Element td = document.createElement("TD");
td.setAttribute("class", "cell");
Element anchor = document.createElement("a");
anchor.setAttribute("href", "./" + buildNumber + "/" + suiteName + "/surefire-report.html");
Text text = document.createTextNode(pcent + "%");
anchor.appendChild(text);
td.appendChild(anchor);
tr.appendChild(td);
}
else
{
log.debug("Creating a new row for a new suite");
tr = document.createElement("TR");
tr.setAttribute("id", suiteName);
Element td = document.createElement("TD");
td.setAttribute("class", "suite");
Text text = document.createTextNode(suiteName);
td.appendChild(text);
tr.appendChild(td);
// creating empty cells in the cols for the previous builds.
for ( int i=1; i<cols; i++ )