Apache Solr open-source search software
- Added "jar-src" target to allow creation of a jar file that includes only the source code. PR: Obtained from: Submitted by: Reviewed by:
Otis Gospodnetic521b01730cdc
diff --git a/build.xml b/build.xmlindex 0116e002292..adb108f08e0 100644--- a/build.xml+++ b/build.xml@@ -120,6 +120,18 @@/></target>+ <!-- ================================================================== -->+ <!-- J A R S O U R C E -->+ <!-- ================================================================== -->+ <!-- -->+ <!-- ================================================================== -->+ <target name="jar-src" depends="compile" if="javacc.present">+ <jar jarfile="${build.dir}/${final.name}-src.jar">+ <fileset dir="${src.dir}" includes="**/*.java"/>+ <fileset dir="${build.dir}/src" includes="**/*.java"/>+ </jar>+ </target>+<!-- ================================================================== --><!-- B U I L D D E M O --><!-- ================================================================== -->