mirror of https://github.com/apache/lucene.git
example of antlib usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150958 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0bc129625f
commit
1c5145048b
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
<project name="ant-example" default="index">
|
||||
|
||||
<description>
|
||||
Lucene Ant index example
|
||||
</description>
|
||||
|
||||
<property name="index.base.dir" location="build"/>
|
||||
<property name="files.dir" location="src/test"/>
|
||||
|
||||
<target name="index">
|
||||
<mkdir dir="${index.base.dir}"/>
|
||||
|
||||
<index index="${index.base.dir}/index"
|
||||
xmlns="antlib:org.apache.lucene.ant">
|
||||
<fileset dir="${files.dir}"/>
|
||||
</index>
|
||||
</target>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue