]> granicus.if.org Git - postgis/commitdiff
Copy the JDBC documentation changes from SVN trunk to the 1.3 branch related to ant...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sat, 2 Aug 2008 08:40:23 +0000 (08:40 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Sat, 2 Aug 2008 08:40:23 +0000 (08:40 +0000)
git-svn-id: http://svn.osgeo.org/postgis/branches/1.3@2910 b70326c6-7e19-0410-871a-916f4a2858ee

doc/postgis.xml

index 6e6ca89fd9d3877db5a992c2297ae766e9f9308c..cca520b50015ad73890f51e23f317a0fc6380389 100644 (file)
@@ -529,22 +529,26 @@ newdb=&gt; \i spatial_ref_sys.sql</programlisting>
 
       <orderedlist>
         <listitem>
-          <para>Enter the <filename>jdbc</filename> sub-directory of the
+          <para>Enter the <filename>java/jdbc</filename> sub-directory of the
           PostGIS distribution.</para>
         </listitem>
 
         <listitem>
-          <para>Edit the <filename>Makefile</filename> to provide the correct
-          paths of your java compiler (<varname>JAVAC</varname>) and
-          interpreter (<varname>JAVA</varname>).</para>
-        </listitem>
-
-        <listitem>
-          <para>Run the <filename>make</filename> command. Copy the
+          <para>Run the <filename>ant</filename> command. Copy the
           <filename>postgis.jar</filename> file to wherever you keep your java
           libraries.</para>
         </listitem>
-      </orderedlist>
+     </orderedlist>
+     <para>The JDBC extensions require a PostgreSQL JDBC driver to be present in
+     the current CLASSPATH during the build process. If the PostgreSQL JDBC driver
+     is located elsewhere, you may pass the location of the JDBC driver JAR separately
+     using the -D parameter like this:</para>
+
+     <programlisting># ant -Dclasspath=/path/to/postgresql-jdbc.jar</programlisting>
+
+     <para>PostgreSQL JDBC drivers can be downloaded from 
+     <ulink url="http://jdbc.postgresql.org">http://jdbc.postgresql.org</ulink>.</para>
     </sect1>
 
     <sect1>