- Added "jar-src" target to allow creation of a jar file that includes only

the source code.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149625 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2001-11-04 22:37:25 +00:00
parent 2f468cbb3b
commit 521b01730c
1 changed files with 12 additions and 0 deletions

View File

@ -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 -->
<!-- ================================================================== -->