[postgis-devel] JDBC updates

strk at refractions.net strk at refractions.net
Tue Jan 18 05:52:36 PST 2005


Warnings got trying to compile jtest:

[lo:jdbc-strk]$ make jtest
javac -classpath :src:/usr/share/java/postgresql.jar:postgis.jar ../../examples/TestServer.java
Note: ../../examples/TestServer.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
java -classpath :src:/usr/share/java/postgresql.jar:postgis.jar ../../examples/TestServer
Exception in thread "main" java.lang.NoClassDefFoundError: //////examples/TestServer
make: *** [jtest] Error 1
[lo:jdbc-strk]$ javac -deprecation -classpath :src:/usr/share/java/postgresql.jar:postgis.jar ../../examples/TestServer.java
../../examples/TestServer.java:35: warning: addDataType(java.lang.String,java.lang.String) in org.postgresql.PGConnection has been deprecated
                        ((org.postgresql.PGConnection)conn).addDataType("geometry","org.postgis.PGgeometry");
                        ^
../../examples/TestServer.java:36: warning: addDataType(java.lang.String,java.lang.String) in org.postgresql.PGConnection has been deprecated
                        ((org.postgresql.PGConnection)conn).addDataType("box3d","org.postgis.PGbox3d");
                        ^
2 warnings

postgresql jdbc driver is 8.0.309 JDBC 3

--strk;

On Tue, Jan 18, 2005 at 02:43:22PM +0100, Markus Schaber wrote:
> Hello,
> 
> Markus Schaber schrieb:
> 
> > I attached my first alpha release of my PostGIS JDBC extension rework.
> 
> If you try to build it, please notice that the Makefile is out of sync
> (I did not update it although I changed the file layout), and the ant
> script is not tested. (I use eclipse which automatically builds it.)
> 
> For the next release, I'll fix the ant file, but I do not know whether
> we should drop the Makefile completely (for the JDBC part).
> 
> Markus
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel

-- 

For standing up against patentability of software,

  Thank You, Poland!

Read the intervention:    http://kwiki.ffii.org/ConsPolon041221En
Send your thanks:         thankyoupoland.info
Read/do more:		  http://www.noepatents.org/



More information about the postgis-devel mailing list