Re: Re: Patch for jdbc Makefile

Поиск
Список
Период
Сортировка
От Richard Bullington-McGuire
Тема Re: Re: Patch for jdbc Makefile
Дата
Msg-id Pine.LNX.4.31.0101291552490.2242-100000@polymorphic.microstate.com
обсуждение исходный текст
Ответ на Re: Re: [PATCHES] Patch for jdbc Makefile  (Peter T Mount <peter@retep.org.uk>)
Ответы Re: Re: Patch for jdbc Makefile  (Peter T Mount <peter@retep.org.uk>)
Список pgsql-jdbc
On Thu, 25 Jan 2001, Peter T Mount wrote:

> Quoting Bruce Momjian <pgman@candle.pha.pa.us>:
>
> >
> > Any JDBC people want to comment on this?
>
> Makefile is obsolete in 7.1, as is CheckVersion ;-)

Makefile is still part of the 7.1.x CVS tree, though...
Are you intending on ditching the Makefile completely and opting for an
ant-only Java build?

I'm still using the Makefile, but it would not bother me to switch to ant
if that's the way it will be, and ant will be more robust.

However, I'm confused by what is probably a documentation bug concerning
java.lang.Byte in the build.xml file. Should this bit of documentation be
updated? The code does not appear to deal with java.lang.Byte at all.

  <!--
    This is a simpler method than utils.CheckVersion
    It defaults to jdbc1, but builds jdbc2 if the java.lang.Byte class is
    in the CLASSPATH (ie JDK1.2 or later), and then enterprise if the
    javax.sql.DataSource class is present.

    Important: This must have the following order: jdbc1, jdbc2, enterprise
  -->
  <target name="check_versions">
    <available property="jdk1.2+" classname="java.lang.ThreadLocal" />
    <available property="jdk1.3+" classname="java.lang.StrictMath" />
    <available property="jdk1.2e+" classname="javax.sql.DataSource" />
  </target>



--
 Richard Bullington-McGuire  <rbulling@microstate.com>
 Chief Technology Officer, The Microstate Corporation
 Phone: 703-796-6446  URL: http://www.microstate.com/
 PGP key IDs:    RSA: 0x93862305   DH/DSS: 0xDAC3028E


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: [INTERFACES] jdbc: v7.1 bug (letter accent)
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems