]> granicus.if.org Git - postgis/commitdiff
Applied Markus patch
authorSandro Santilli <strk@keybit.net>
Wed, 19 Jan 2005 16:49:20 +0000 (16:49 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 19 Jan 2005 16:49:20 +0000 (16:49 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1324 b70326c6-7e19-0410-871a-916f4a2858ee

jdbc2/build.xml

index 3febbc26d53e2496c403b4a50d1607f0399d5602..9fc8ea40c03a91fd1719859f816c5a83ad308e8b 100644 (file)
@@ -1,19 +1,21 @@
 <?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>