From: | Christophe Canovas <cc(dot)ais40(at)wanadoo(dot)fr> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
Cc: | List <pgsql-jdbc(at)postgresql(dot)org>, Stephen Nelson <stephen(at)eccostudio(dot)com>, Christophe Canovas <cc(dot)ais40(at)wanadoo(dot)fr> |
Subject: | Re: PostgreSQL JDBC new jar available |
Date: | 2014-07-17 07:22:18 |
Message-ID: | 24744765.20.1405581738368.JavaMail.root@zimbra.cy.cassidian.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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(at)gunduz(dot)org>
À: "Christophe Canovas" <cc(dot)ais40(at)wanadoo(dot)fr>
Cc: "List" <pgsql-jdbc(at)postgresql(dot)org>, "Stephen Nelson" <stephen(at)eccostudio(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim Gündüz | 2014-07-17 08:09:49 | Re: PostgreSQL JDBC new jar available |
Previous Message | Christophe Canovas | 2014-07-17 05:17:17 | Re: PostgreSQL JDBC new jar available |