Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Adding stubversion="1.2" prevents <rmic> from recompiling RemoteSearchable every build because the _Skel class isn't present. _Skel is a legacy of JDK 1.1, and no longer used.

Erik Hatcher3bcec332145c
diff --git a/build.xml b/build.xml
index efa81d37d10..0ce7674d9b3 100644
--- a/build.xml
+++ b/build.xml
@@ -61,7 +61,7 @@
<target name="compile-core" depends="common.compile-core"
description="Compiles core classes, including rmic">
<rmic classname="org.apache.lucene.search.RemoteSearchable"
- base="${build.dir}/classes/java">
+ base="${build.dir}/classes/java" stubversion="1.2">
<classpath refid="classpath"/>
</rmic>
</target>