Skip to content

Apache Lucene open-source search software

add a compile target to the top

Grant Ingersoll6d356c8d262d
diff --git a/build.xml b/build.xml
index ba706f618df..076e90f96c2 100644
--- a/build.xml
+++ b/build.xml
@@ -19,7 +19,7 @@
<project name="lucene-solr" default="test" basedir=".">
<property name="lucene.version" value="3.1-dev" />
- <target name="test">
+ <target name="test" description="Test both Lucene and Solr">
<sequential>
<subant target="test" inheritall="false" failonerror="true">
<fileset dir="lucene" includes="build.xml" />
@@ -31,7 +31,16 @@
</sequential>
</target>
- <target name="clean">
+ <target name="compile" description="Compile Lucene and Solr">
+ <sequential>
+ <subant target="compile" inheritall="false" failonerror="true">
+ <!--<fileset dir="lucene" includes="build.xml" /> -->
+ <fileset dir="solr" includes="build.xml" />
+ </subant>
+ </sequential>
+ </target>
+
+ <target name="clean" description="Clean Lucene and Solr">
<sequential>
<subant target="clean" inheritall="false" failonerror="true">
<fileset dir="lucene" includes="build.xml" />
@@ -40,4 +49,4 @@
</sequential>
</target>
-</project>
\ No newline at end of file
+</project>