ehatcher    2004/02/24 17:11:24

  Added:       contributions/ant example.xml
  Log:
  example of antlib usage
  
  Revision  Changes    Path
  1.1                  jakarta-lucene-sandbox/contributions/ant/example.xml
  
  Index: example.xml
  ===================================================================
  <?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>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to