cvsdist a8926f1
cvsdist a8926f1
cvsdist a8926f1
<project name="antlr" default="all" basedir=".">
cvsdist a8926f1
cvsdist a8926f1
  
cvsdist a8926f1
cvsdist a8926f1
  <property name="name" value="antlr"/>
cvsdist a8926f1
  <property name="src" value="src"/>
cvsdist a8926f1
  <property name="build" value="work"/>
cvsdist a8926f1
  <property name="build.classes" value="${build}/classes"/>
cvsdist a8926f1
  <property name="build.doc" value="${build}/api"/>
cvsdist a8926f1
  <property name="build.lib" value="${build}/lib"/>
cvsdist a8926f1
  <property name="packagenames" value="antlr.*"/>
cvsdist a8926f1
  <property name="j2se.apidoc" value="http://java.sun.com/j2se/1.4/docs/api/"/>
cvsdist a8926f1
cvsdist a8926f1
  
cvsdist a8926f1
cvsdist a8926f1
  
cvsdist a8926f1
  <target name="prepare">
cvsdist a8926f1
    <mkdir dir="${src}"/>
cvsdist a8926f1
    <mkdir dir="${build}"/>
cvsdist a8926f1
    <mkdir dir="${build.classes}"/>
cvsdist a8926f1
    <mkdir dir="${build.lib}"/>
cvsdist a8926f1
    <mkdir dir="${build.doc}"/>
cvsdist a8926f1
    <copy todir="${src}/antlr">
cvsdist a8926f1
      <fileset dir="antlr"/>
cvsdist a8926f1
    </copy>
cvsdist a8926f1
  </target>
cvsdist a8926f1
cvsdist a8926f1
  
cvsdist a8926f1
  <target name="clean">
cvsdist a8926f1
    <delete dir="${build}"/>
cvsdist a8926f1
    <delete dir="${src}"/>
cvsdist a8926f1
  </target>
cvsdist a8926f1
cvsdist a8926f1
  
cvsdist a8926f1
  <target name="classes" depends="prepare">
cvsdist a8926f1
    
f0063d8
      debug="off" optimize="on" deprecation="on" source="1.8" target="1.8" />
cvsdist a8926f1
  </target>
cvsdist a8926f1
cvsdist a8926f1
  
cvsdist a8926f1
  <target name="jar" depends="classes">
cvsdist a8926f1
    
cvsdist a8926f1
      index="true">
cvsdist a8926f1
      <manifest>
cvsdist a8926f1
        <attribute name="Main-Class" value="antlr.Tool"/>
cvsdist a8926f1
      </manifest>
cvsdist a8926f1
    </jar>
cvsdist a8926f1
  </target>
cvsdist a8926f1
cvsdist a8926f1
  
cvsdist a8926f1
  <target name="javadoc" depends="prepare">
cvsdist a8926f1
    
cvsdist a8926f1
      destdir="${build.doc}"
cvsdist a8926f1
      doctitle="${name} Javadoc"
cvsdist a8926f1
      windowtitle="${name} Javadoc"
cvsdist a8926f1
      package="true"
cvsdist a8926f1
      author="true"
cvsdist a8926f1
      version="true"
cvsdist a8926f1
      packagenames="${packagenames}"
cvsdist a8926f1
      splitindex="true"
3d4c53c
      use="true"
f0063d8
      source="1.8"
3d4c53c
      additionalparam="-Xdoclint:none">
cvsdist a8926f1
      <link href="${j2se.apidoc}"/>
cvsdist a8926f1
    </javadoc>
cvsdist a8926f1
  </target>
cvsdist a8926f1
cvsdist a8926f1
  
cvsdist a8926f1
  <target name="all" depends="jar,javadoc"/>
cvsdist a8926f1
cvsdist a8926f1
</project>