pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christophe Canovas <cc.ais40@wanadoo.fr>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Devrim Gündüz <devrim@gunduz.org>
Cc: List <pgsql-jdbc@postgresql.org>
Cc: Stephen Nelson <stephen@eccostudio.com>
Cc: Christophe Canovas <cc.ais40@wanadoo.fr>
Subject: Re: PostgreSQL JDBC new jar available
Date: Thu, 17 Jul 2014 12:08:48 +0200 (CEST)
Message-ID: <21531135.26.1405591728719.JavaMail.root@zimbra.cy.cassidian.net> (raw)
In-Reply-To: <CADK3HHL2OjYShpTo-XpUVgpvcBgHZnN=kJ1b1eML7qLjRavLTg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Dave,

To test Devrim's problem, I've made the download this morning from :
http://jdbc.postgresql.org/download/postgresql-jdbc-9.3-1102.src.tar.gz
and I've had the same problem.

But now I've downloaded again and it seems to be OK !

Pretty strange ...

Maybe Devrim has an old version of ant ?

Regards,

----- Mail original -----
De: "Dave Cramer" <pg@fastcrypt.com>
À: "Christophe Canovas" <cc.ais40@wanadoo.fr>
Cc: "Devrim Gündüz" <devrim@gunduz.org>, "List" <pgsql-jdbc@postgresql.org>, "Stephen Nelson" <stephen@eccostudio.com>
Envoyé: Jeudi 17 Juillet 2014 12:56:39
Objet: Re: [JDBC] PostgreSQL JDBC new jar available


Christophe, 


How are you downloading the maven jar ? Is in git wrong ? 


Devrim any recent junit jar should work. 


Dave 


Dave Cramer 

dave.cramer(at)credativ(dot)ca 
http://www.credativ.ca 



On 17 July 2014 03:22, Christophe Canovas < cc.ais40@wanadoo.fr > wrote: 


Please, check the JAR file maven-ant-tasks-2.1.3.jar ; when I've downloaded JDBC, this JAR file was bad (only a few Ko) and I had the same error message than you. 

After replacing that JAR file with a good one (1.3 Mo), it was OK. 

Regards, 



----- Mail original ----- 
De: "Devrim Gündüz" < devrim@gunduz.org > 
À: "Christophe Canovas" < cc.ais40@wanadoo.fr > 
Cc: "List" < pgsql-jdbc@postgresql.org >, "Stephen Nelson" < stephen@eccostudio.com > 
Envoyé: Jeudi 17 Juillet 2014 10:09:49 

Objet: Re: [JDBC] PostgreSQL JDBC new jar available 




Hi, 

On Thu, 2014-07-17 at 07:17 +0200, Christophe Canovas wrote: 
> It seems to have a bad lib/maven-ant-tasks-2.1.3.jar file ! 
> 
> Download a good file version (about 1.3Mo), and try : 
> ant -lib lib/ publicapi 

I have 2.1.3 already... 

Actually, build.xml fails just in here: 

<artifact:dependencies pathId="dependency.classpath" useScope="test"> 
<dependency groupId="junit" artifactId="junit" version="3.8.2" 
scope="test"/> 
</artifact:dependencies> 

What package satisfies this? I installed junit, junit4 and junit44, but 
neither of them worked. I may be misinterpreting the message, though: 

BUILD FAILED 
/home/devrim/Documents/ postgresqlrpms.org/svn/repo/rpm/redhat/9.4/postgresql-jdbc/F-20/postgresql-jdbc-9.3-1102.src/build.xml:109 : 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 <presetdef>/<macrodef> 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/devrim/.ant/lib 
-a directory added on the command line with the -lib argument 


Regards, 
-- 
Devrim GÜNDÜZ 
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com 
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer 
Twitter: @DevrimGunduz , @DevrimGunduzTR 





-- 
Sent via pgsql-jdbc mailing list ( pgsql-jdbc@postgresql.org ) 
To make changes to your subscription: 
http://www.postgresql.org/mailpref/pgsql-jdbc 


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (23+ messages)  latest in thread

Message-ID: <21531135.26.1405591728719.JavaMail.root@zimbra.cy.cassidian.net>
Permalink:  ../21531135.26.1405591728719.JavaMail.root@zimbra.cy.cassidian.net/
Also on:    postgresql.org/message-id/21531135.26.1405591728719.JavaMail.root@zimbra.cy.cassidian.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: cc.ais40@wanadoo.fr, pg@fastcrypt.com, devrim@gunduz.org, stephen@eccostudio.com
  Subject: Re: PostgreSQL JDBC new jar available
  In-Reply-To: <21531135.26.1405591728719.JavaMail.root@zimbra.cy.cassidian.net>
  References: <CADK3HHL2OjYShpTo-XpUVgpvcBgHZnN=kJ1b1eML7qLjRavLTg@mail.gmail.com> <21531135.26.1405591728719.JavaMail.root@zimbra.cy.cassidian.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox