Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

enable assertions when executing various tools

Robert Muir2ff4bdb04f67
diff --git a/modules/analysis/icu/build.xml b/modules/analysis/icu/build.xml
index b3a313aa4a5..4cd5094dac8 100644
--- a/modules/analysis/icu/build.xml
+++ b/modules/analysis/icu/build.xml
@@ -85,6 +85,9 @@ are part of the ICU4C package. See http://site.icu-project.org/ </echo>
<path refid="additional.dependencies"/>
<pathelement location="${build.dir}/classes/tools"/>
</classpath>
+ <assertions>
+ <enable package="org.apache.lucene"/>
+ </assertions>
<arg value="${rbbi.src.dir}"/>
<arg value="${rbbi.dst.dir}"/>
</java>
@@ -104,6 +107,9 @@ are part of the ICU4C package. See http://site.icu-project.org/ </echo>
<path refid="additional.dependencies"/>
<pathelement location="${build.dir}/classes/tools"/>
</classpath>
+ <assertions>
+ <enable package="org.apache.lucene"/>
+ </assertions>
</java>
</target>