Re: postgres 7.3 won't compile with jdbc
| От | Joseph Shraibman |
|---|---|
| Тема | Re: postgres 7.3 won't compile with jdbc |
| Дата | |
| Msg-id | 3DEE8E19.7030109@selectacast.net обсуждение исходный текст |
| Ответ на | Re: postgres 7.3 won't compile with jdbc (Fernando Nasser <fnasser@redhat.com>) |
| Список | pgsql-jdbc |
Nope, that didn't work. Fernando Nasser wrote: > 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? >> >> > > > > > ------------------------------------------------------------------------ > > 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 -- Joseph Shraibman joseph@xtenit.com Increase signal to noise ratio. http://xis.xtenit.com
В списке pgsql-jdbc по дате отправления: