Re: patch: avoid deprecation warning from recent Ant versions

From: Barry Lind <blind(at)xythos(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: patch: avoid deprecation warning from recent Ant versions
Date: 2003-08-11 21:25:18
Message-ID: 3F3809BE.9080900@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Patch applied.

thanks,
--Barry

Oliver Jowett wrote:
> This patch to build.xml avoids using <available> to override an already-set
> property ('ssl'), as this generates a deprecation warning in more recent Ant
> versions. Tested against Ant 1.5.3.
>
> -O
>
>
> ------------------------------------------------------------------------
>
> Index: src/interfaces/jdbc/build.xml
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/build.xml,v
> retrieving revision 1.32
> diff -u -c -r1.32 build.xml
> *** src/interfaces/jdbc/build.xml 27 Feb 2003 05:45:43 -0000 1.32
> --- src/interfaces/jdbc/build.xml 20 Jul 2003 05:38:54 -0000
> ***************
> *** 22,28 ****
> <property name="builddir" value="build" />
> <property name="package" value="org/postgresql" />
> <property name="debug" value="on" />
> - <property name="ssl" value="false" />
>
> <property file="build.properties"/>
>
> --- 22,27 ----
> ***************
> *** 167,179 ****
> <equals arg1="${ssl}" arg2="true"/>
> </condition>
> <condition property="ssl_config" value="//">
> ! <equals arg1="${ssl}" arg2="false"/>
> </condition>
> <condition property="ssl_edition" value="SSL">
> <equals arg1="${ssl}" arg2="true"/>
> </condition>
> <condition property="ssl_edition" value="NO SSL">
> ! <equals arg1="${ssl}" arg2="false"/>
> </condition>
>
> <!-- Some defaults -->
> --- 166,182 ----
> <equals arg1="${ssl}" arg2="true"/>
> </condition>
> <condition property="ssl_config" value="//">
> ! <not>
> ! <equals arg1="${ssl}" arg2="true"/>
> ! </not>
> </condition>
> <condition property="ssl_edition" value="SSL">
> <equals arg1="${ssl}" arg2="true"/>
> </condition>
> <condition property="ssl_edition" value="NO SSL">
> ! <not>
> ! <equals arg1="${ssl}" arg2="true"/>
> ! </not>
> </condition>
>
> <!-- Some defaults -->
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2003-08-11 21:28:10 Re: patch: avoid ant warnings about never-empty jarfiles
Previous Message Barry Lind 2003-08-11 21:21:06 Re: patch: fix skeleton code in test README