Re: postgres 7.3 won't compile with jdbc
От | Fernando Nasser |
---|---|
Тема | Re: postgres 7.3 won't compile with jdbc |
Дата | |
Msg-id | 3DEE7F06.9060902@redhat.com обсуждение исходный текст |
Ответ на | postgres 7.3 won't compile with jdbc (Joseph Shraibman <jks@selectacast.net>) |
Ответы |
Re: postgres 7.3 won't compile with jdbc
|
Список | pgsql-jdbc |
Joseph, Please try the attached path (or just hand edit your build.xml file and add that line in there). See if it solves the problem for you. Cheers, Fernando Joseph Shraibman wrote:> Fernando Nasser wrote: > >> Joseph Shraibman wrote:> Fernando Nasser wrote: >> >>> >>>> Joseph, >>>> >>>> Make sure the previous version of the driver is nowhere in your >>>> CLASSPATH. If you have added it to your jre/lib/ext directory, >>>> remove it from there. >>>> >>>> Then retry your compilation. Let us know if it worked. >>>> >>> Yup, that fixed it. >> >> >> >> Glad to hear that. I sort of expected it would. >> >> >>> Can't the makefile check for this? >>> >> >> It is annoying isn't it? I lost hours because of this. >> >> >> It would have to be something with access to the CLASSPATH to check if >> you have the driver there already and ask you to remove it before >> continuing. >> >> If Barry or Dave don't do anything about it (they are the JDBC >> 'committers'), I will try and see what can be done with "ant". > > > It would be pretty easy to write a java program to do it, but I'm not > sure how to distribute it. Should we echo the source to a text file like > configure does? Can we just include the test.java in the source? > > -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9 Index: build.xml =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/build.xml,v retrieving revision 1.30 diff -c -p -r1.30 build.xml *** build.xml 2002/10/20 00:10:55 1.30 --- build.xml 2002/12/04 22:15:53 *************** *** 22,27 **** --- 22,28 ---- <property name="builddir" value="build" /> <property name="package" value="org/postgresql" /> <property name="debug" value="on" /> + <property name="build.sysclasspath" value="last" /> <!-- This is a simpler method than utils.CheckVersion
В списке pgsql-jdbc по дате отправления: