Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-1835: minor cleanups, remove redundant ant libs, add missing newlines to formatted errors

Robert Muirb2337afd6650
diff --git a/solr/build.xml b/solr/build.xml
index 32a474518e5..77fd67a1b23 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -559,7 +559,6 @@
<exclude name="junit-*.jar" />
<exclude name="*.txt" />
<exclude name="*.template" />
- <exclude name="apache-ant-*.jar" />
</lib>
<lib dir="lucene-libs"/>
diff --git a/solr/lib/apache-ant-1.7.1.jar b/solr/lib/apache-ant-1.7.1.jar
deleted file mode 100644
index dd5604f2f70..00000000000
--- a/solr/lib/apache-ant-1.7.1.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[704717779f6d0d7eb026dc7af78a35e51adeec8b] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/solr/lib/apache-ant-junit-1.7.1.jar b/solr/lib/apache-ant-junit-1.7.1.jar
deleted file mode 100644
index 26454d610e4..00000000000
--- a/solr/lib/apache-ant-junit-1.7.1.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[063cce4f940033fa6e33d3e590cf6f5051129295] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/solr/src/test/org/apache/solr/SolrJUnitResultFormatter.java b/solr/src/test/org/apache/solr/SolrJUnitResultFormatter.java
index f5641994b90..07d5746dfe6 100644
--- a/solr/src/test/org/apache/solr/SolrJUnitResultFormatter.java
+++ b/solr/src/test/org/apache/solr/SolrJUnitResultFormatter.java
@@ -218,9 +218,12 @@ public class SolrJUnitResultFormatter implements JUnitResultFormatter {
}
sb.append(formatTest(test) + type);
+ sb.append(StringUtils.LINE_SEP);
sb.append(error.getMessage());
+ sb.append(StringUtils.LINE_SEP);
String strace = JUnitTestRunner.getFilteredTrace(error);
sb.append(strace);
sb.append(StringUtils.LINE_SEP);
+ sb.append(StringUtils.LINE_SEP);
}
}