Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3F561475E30 for ; Wed, 29 Jan 2003 06:39:39 -0500 (EST) Received: from checkforte.com.br (unknown [200.207.207.251]) by postgresql.org (Postfix) with ESMTP id BA1A7475BD7 for ; Wed, 29 Jan 2003 06:39:30 -0500 (EST) Received: from kelly.ckf (kelly.ckf [192.168.0.11]) by checkforte.com.br (Postfix) with ESMTP id BD5AEC3C8D for ; Wed, 29 Jan 2003 09:46:46 -0200 (BRST) Subject: Re: Requiring Ant 1.5 for build breaks JDK 1.1 compatibility From: Daniel Serodio To: PostgreSQL JDBC List In-Reply-To: <000c01c2c417$279b8270$9902a8c0@aravo.network> References: <000a01c2c050$69c79780$011211ac@biohz.net> <3E30D0B4.2030904@xythos.com> <000c01c2c417$279b8270$9902a8c0@aravo.network> Content-Type: text/plain Organization: CheckForte Message-Id: <1043840182.24697.46.camel@kelly.ckf> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 29 Jan 2003 09:36:22 -0200 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/296 X-Sequence-Number: 6146 What is the difference in the FreeBSD port? Ant is pure Java! If the Java code is the same, how can it require a different JDK? On Sat, 2003-01-25 at 00:12, Renaud Waldura wrote: > Hi, > > I built using the FreeBSD port of the PostgreSQL JDBC driver, which requires > Ant 1.5. > The FreeBSD port of Ant 1.5 requires JDK 1.2+, which had me believe Ant 1.5 > couldn't run on JDK 1.1. > > >From your message I see it isn't the case. Thanks! > > > > > ----- Original Message ----- > From: "Barry Lind" > To: "Renaud Waldura" > Cc: > Sent: Thursday, January 23, 2003 9:35 PM > Subject: Re: [JDBC] Requiring Ant 1.5 for build breaks JDK 1.1 compatibility > > > > Renaud, > > > > What sort of problems are you having building with ant 1.5 and jdk 1.1? > > I don't have any problems building with ant 1.6 and jdk1.1. Also, > > have you tried the prebuilt jar files on jdbc.postgresql.org? > > > > --Barry > > > > Renaud Waldura wrote: > > > Dear PostgreSQL JDBC driver developers, > > > > > > I was pleased to find that your JDBC driver for PostgreSQL only requires > JDK > > > 1.1 for minimal functionality. Congratulations and thank you for doing > so. > > > > > > Unfortunately building the driver requires Ant 1.5, which itself > requires > > > JDK 1.2. This dependency breaks the ability to compile and use the > driver on > > > a JDK 1.1 platform such as mine. > > > > > > I tried to build the driver with Ant 1.4, which only requires JDK 1.1, > and > > > it worked in fact just fine, apart from some minor problems for which I > > > include a patch. It appears to me the Ant 1.5 (thus JDK 1.2) dependency > is a > > > rather weak one, and only present for convenience reasons. > > > > > > As this breaks JDK 1.1 compatibility, which the driver itself supports, > I > > > wish you would reconsider, and maybe altogether drop, this dependency. > > > Thanks! > > > > > > The included patch allowed me to cleanly build and compile version 7.3.1 > of > > > the JDBC driver on FreeBSD 4.2. > > > > > > --Renaud > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > > TIP 3: if posting/reading through Usenet, please send an appropriate > > > subscribe-nomail command to majordomo@postgresql.org so that your > > > message can get through to the mailing list cleanly > > > > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html -- Daniel Serodio CheckForte