antlr/antlr-build.xml

72 lines
1.9 KiB
XML
Raw Normal View History

auto-import changelog data from antlr-2.7.2-3jpp.src.rpm 2.7.2-3jpp - Add non-versioned javadoc dir symlink. - Crosslink with local J2SE javadocs. - Spec cleanups, change to UTF-8. 2.7.2-2jpp - Rebuild for JPackage 1.5. Sat Mar 01 2003 Ville Skyttä <ville.skytta at iki.fi> - 2.7.2-1jpp - Update to 2.7.2. - Include antlr script and jEdit mode (see antlr-jedit RPM description). - Use sed instead of bash 2 extension when symlinking jars during build. Tue May 07 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-8jpp - really section macro - hardcoded distribution and vendor tag - group tag again Thu May 02 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-7jpp - distribution tag - group tag - section macro Fri Jan 18 2002 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-6jpp - versioned dir for javadoc - no dependencies for manual and javadoc packages - additional sources in individual archives Sat Dec 01 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-5jpp - javadoc in javadoc package Wed Nov 21 2001 Christian Zoffoli <czoffoli@littlepenguin.org> 2.7.1-4jpp - removed packager tag - new jpp extension Sat Oct 06 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-3jpp - used a build file instead of makefile - build classes instead of blindly jared them ! - used original tarball - corrected license spelling Sun Sep 30 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-2jpp - first unified release - s/jPackage/JPackage Tue Aug 28 2001 Guillaume Rousse <guillomovitch@users.sourceforge.net> 2.7.1-1mdk - first Mandrake release
2004-09-09 03:00:15 +00:00
<!-- simple generic build file -->
<project name="antlr" default="all" basedir=".">
<!-- Properties -->
<property name="name" value="antlr"/>
<property name="src" value="src"/>
<property name="build" value="work"/>
<property name="build.classes" value="${build}/classes"/>
<property name="build.doc" value="${build}/api"/>
<property name="build.lib" value="${build}/lib"/>
<property name="packagenames" value="antlr.*"/>
<property name="j2se.apidoc" value="http://java.sun.com/j2se/1.4/docs/api/"/>
<!-- Targets -->
<!-- Prepare build directories -->
<target name="prepare">
<mkdir dir="${src}"/>
<mkdir dir="${build}"/>
<mkdir dir="${build.classes}"/>
<mkdir dir="${build.lib}"/>
<mkdir dir="${build.doc}"/>
<copy todir="${src}/antlr">
<fileset dir="antlr"/>
</copy>
</target>
<!-- Kill all the created directories -->
<target name="clean">
<delete dir="${build}"/>
<delete dir="${src}"/>
</target>
<!-- Build classes -->
<target name="classes" depends="prepare">
<javac srcdir="${src}" destdir="${build.classes}"
debug="off" optimize="on" deprecation="on"/>
</target>
<!-- Build jar archives -->
<target name="jar" depends="classes">
<jar jarfile="${build.lib}/${name}.jar" basedir="${build.classes}"
index="true">
<manifest>
<attribute name="Main-Class" value="antlr.Tool"/>
</manifest>
</jar>
</target>
<!-- Build the full JavaDocs -->
<target name="javadoc" depends="prepare">
<javadoc sourcepath="${src}"
destdir="${build.doc}"
doctitle="${name} Javadoc"
windowtitle="${name} Javadoc"
package="true"
author="true"
version="true"
packagenames="${packagenames}"
splitindex="true"
use="true">
<link href="${j2se.apidoc}"/>
</javadoc>
</target>
<!-- Build everything -->
<target name="all" depends="jar,javadoc"/>
</project>