Re: postgres 7.3 won't compile with jdbc - Mailing list pgsql-jdbc

From Joseph Shraibman
Subject Re: postgres 7.3 won't compile with jdbc
Date
Msg-id 3DEE8E19.7030109@selectacast.net
Whole thread Raw
In response to Re: postgres 7.3 won't compile with jdbc  (Fernando Nasser <fnasser@redhat.com>)
List 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 by date:

Previous
From: Fernando Nasser
Date:
Subject: [Fwd: Returned Mail: User Unknown]
Next
From: Fernando Nasser
Date:
Subject: Re: postgres 7.3 won't compile with jdbc