Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XJxOX-00048Z-D7 for pgsql-jdbc@arkaria.postgresql.org; Wed, 20 Aug 2014 04:21:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XJxOW-0006VP-Pp for pgsql-jdbc@arkaria.postgresql.org; Wed, 20 Aug 2014 04:21:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XJxOV-0006TZ-IC for pgsql-jdbc@postgresql.org; Wed, 20 Aug 2014 04:21:07 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XJxOR-0002QN-QA for pgsql-jdbc@postgresql.org; Wed, 20 Aug 2014 04:21:06 +0000 Received: from ayaki.localdomain (106-68-124-192.dyn.iinet.net.au [106.68.124.192]) by mrelayeu.kundenserver.de (node=mreue003) with ESMTP (Nemesis) id 0MFflp-1X5vA63xkz-00Efmq; Wed, 20 Aug 2014 06:21:01 +0200 Message-ID: <53F42227.8050409@2ndquadrant.com> Date: Wed, 20 Aug 2014 12:20:55 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: Michael Paquier , PostgreSQL mailing lists Subject: Re: JDBC build broken by commit 9f9019b References: <53F4194F.4030609@2ndquadrant.com> In-Reply-To: <53F4194F.4030609@2ndquadrant.com> Content-Type: multipart/mixed; boundary="------------070404030307040102020203" X-Provags-ID: V02:K0:vtvHT7T0vDxeVJlnXbk8BkXO2KXEKWzRTwdpA/PkRhV 4qZNk9f53snU7PrVA7+5BAtYrxN/JylTpnuCYsUG0YYp1tgKlQ OcxngFVqI7zOmsR/vetpN8FDviG/udeWLoZSi+m0UOokmM93zn 9rfTboq0nd8atzrLVrZJmYppXQOio6GuoNO6iWAuitYdOiPWQv Zur317/3/NDjCuiN6jp5MLy5pLwFDGb2Be57DC4n7sY90KCXx3 dul6OyPgec4yo1yl4uPP3T3xxBzplD2gJSwTvA50jfci+mhWsy kpqBKlc8Jcvx2TAd+v2IOxlblFVEuDSAGZuUQGW5868XU9NNpo GdPDohV+ZfJ5GljYIcq74XaNLJtB0d/4tChCRPe76 X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multi-part message in MIME format. --------------070404030307040102020203 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit On 08/20/2014 11:43 AM, Craig Ringer wrote: > Taking a look now. Odd - did I fail to push a final fixup before the merge? Confirmed - yet I'm confused, as I'm pretty sure I remember Travis passing with this, and just not updating the github issue. It was a while ago. Upon examining my local history, it looks like a case of "Oh, I should also make this one minor fix that can't break anything just before I push". Right. I've pushed a fix. BTW, I had to apply the attached diff to get the driver to build with my ant 1.9.2, packaged in Fedora 20 . The usual approach of popping maven-ant-tasks.jar in lib/ and running: ant -lib lib or ant -lib lib/maven-ant-tasks.jar was not effective, and still failed with: $ ant -lib lib clean Buildfile: /home/craig/projects/pgjdbc/build.xml BUILD FAILED /home/craig/projects/pgjdbc/build.xml:110: Problem: failed to create task or type antlib:org.apache.maven.artifact.ant:dependencies Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any / declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -/usr/share/ant/lib -/home/craig/.ant/lib -a directory added on the command line with the -lib argument ... even though: ant -lib lib clean -diagnostics showed that maven-ant-tasks.jar was on the classpath, and unpacking the jar showed that it contained the required antlib.xml that ant -v was looking for: [antlib:org.apache.maven.artifact.ant] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found. Weird. I don't think I had this issue last time around. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --------------070404030307040102020203 Content-Type: text/x-patch; name="build.xml.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="build.xml.diff" diff --git a/build.xml b/build.xml index 9ce437d..1c4f1d2 100644 --- a/build.xml +++ b/build.xml @@ -17,6 +17,11 @@ =20 =20 + =20 + =20 + --------------070404030307040102020203 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc --------------070404030307040102020203--