[postgis-commits] svn - r2910 - branches/1.3/doc

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Sat Aug 2 01:40:23 PDT 2008


Author: mcayland
Date: 2008-08-02 01:40:23 -0700 (Sat, 02 Aug 2008)
New Revision: 2910

Modified:
   branches/1.3/doc/postgis.xml
Log:
Copy the JDBC documentation changes from SVN trunk to the 1.3 branch related to ant, since ant has been the preferred build system for a while but the documentation was never updated to reflect this.

Modified: branches/1.3/doc/postgis.xml
===================================================================
--- branches/1.3/doc/postgis.xml	2008-08-02 08:24:21 UTC (rev 2909)
+++ branches/1.3/doc/postgis.xml	2008-08-02 08:40:23 UTC (rev 2910)
@@ -529,22 +529,26 @@
 
       <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>



More information about the postgis-commits mailing list