Re: postgres 7.3 won't compile with jdbc

From: Joseph Shraibman <jks(at)selectacast(dot)net>
To: Fernando Nasser <fnasser(at)redhat(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: postgres 7.3 won't compile with jdbc
Date: 2002-12-04 23:22:01
Message-ID: 3DEE8E19.7030109@selectacast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)xtenit(dot)com
Increase signal to noise ratio. http://xis.xtenit.com

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Fernando Nasser 2002-12-04 23:48:27 Re: postgres 7.3 won't compile with jdbc
Previous Message Fernando Nasser 2002-12-04 22:31:13 [Fwd: Returned Mail: User Unknown]