Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

- Made ant compile-core and build-contrib run again

Otis Gospodneticb182881092ed
diff --git a/contrib/highlighter/build.xml b/contrib/highlighter/build.xml
index 0503e1da892..9aae104f9d2 100644
--- a/contrib/highlighter/build.xml
+++ b/contrib/highlighter/build.xml
@@ -20,29 +20,25 @@
<project name="highlighter" default="default">
<description>
- Hits highlighter
+ Hits highlighter
</description>
<import file="../contrib-build.xml"/>
<property name="memory.jar" location="${common.dir}/build/contrib/memory/lucene-memory-${version}.jar"/>
+ <available property="memory.jar.present" type="file" file="${memory.jar}"/>
<path id="classpath">
- <pathelement path="${lucene.jar}"/>
- <pathelement path="${memory.jar}"/>
- <pathelement path="${project.classpath}"/>
+ <pathelement path="${lucene.jar}"/>
+ <pathelement path="${memory.jar}"/>
+ <pathelement path="${project.classpath}"/>
</path>
-
- <target name="buildHighlighter" depends="build-memory,default" />
- <available property="memory.jar.present" type="file" file="${memory.jar}"/>
<target name="compile-core" depends="build-memory, common.compile-core" />
<target name="build-memory" unless="memory.jar.present">
<echo>Highlighter building dependency ${memory.jar}</echo>
- <ant antfile="../memory/build.xml" target="default" inheritall="false"/>
+ <ant antfile="../memory/build.xml" target="default" inheritall="true" dir="../memory" />
</target>
-
</project>
-