<?xml version="1.0" ?>
<!-- ================================================================
postgis ant build.xml
- (C) 2004 Markus.Schaber@logi-track.com, logi-track ag, Zürich
+ (C) 2004,2005 Markus.Schaber@logi-track.com, logi-track ag, Zürich
This file is licensed under the GNU GPL.
$Id$
============================================================ -->
<project name="postgis" default="jar" basedir=".">
+ <!-- if you do not have postgresql.jar at this location, include
+ it in your CLASSPATH environment variable! -->
<path id="classpath.base">
- <pathelement location="lib/postgresql-8.0.309.jdbc3.jar" />
+ <pathelement location="/usr/share/java/postgresql.jar" />
</path>
- <target name="compile">
- <mkdir dir="bin/ant" />
+ <target name="compile">
+ <mkdir dir="bin/ant" />
<javac srcdir="src" destdir="bin/ant">
<classpath refid="classpath.base" />
</javac>
<jar destfile="postgis.jar" index="true">
<fileset dir="bin/ant" includes="**/*.class" />
<fileset dir="src" excludes="**/*.java" />
- <fileset file="README"/>
+ <fileset file="README" />
</jar>
- <!-- And a source including version for debugging purposes -->
+ <!-- And a source including version for debugging purposes -->
<jar destfile="postgis_debug.jar" index="true">
<fileset dir="bin/ant" includes="**/*.class" />
<fileset dir="src" />
- <fileset file="README"/>
+ <fileset file="README" />
</jar>
</target>
- <target name="clean">
- <delete dir="bin/ant" />
- <delete file="postgis.jar" />
- <delete file="postgis_debug.jar" />
- </target>
+ <target name="clean">
+ <delete dir="bin/ant" />
+ <delete file="postgis.jar" />
+ <delete file="postgis_debug.jar" />
+ </target>
</project>