mirror of https://github.com/apache/lucene.git
- 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:
parent
2f468cbb3b
commit
521b01730c
12
build.xml
12
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 -->
|
||||
<!-- ================================================================== -->
|
||||
|
|
Loading…
Reference in New Issue