Bug#334629: marked as done (FTBFS: Could not create task or type of type junit)

Debian Bug Tracking System owner at bugs.debian.org
Thu Oct 20 13:18:13 UTC 2005


Your message dated Thu, 20 Oct 2005 06:02:08 -0700
with message-id <E1ESa3c-0007fX-00 at spohr.debian.org>
and subject line Bug#334629: fixed in jmock 1.0.1-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Oct 2005 01:03:08 +0000
>From kraai at lafn.org Tue Oct 18 18:03:08 2005
Return-path: <kraai at lafn.org>
Received: from zoot.lafn.org [206.117.18.6] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ES2MG-0002GC-00; Tue, 18 Oct 2005 18:03:08 -0700
Received: from localhost.localdomain (pool-71-104-166-233.lsanca.dsl-w.verizon.net [71.104.166.233])
	(authenticated bits=0)
	by zoot.lafn.org (8.13.1/8.13.1) with ESMTP id j9J136pk081684
	(version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO)
	for <submit at bugs.debian.org>; Tue, 18 Oct 2005 18:03:07 -0700 (PDT)
	(envelope-from kraai at lafn.org)
Received: from kraai by localhost.localdomain with local (Exim 4.52)
	id 1ERxy9-00013a-N7
	for submit at bugs.debian.org; Tue, 18 Oct 2005 13:21:58 -0700
Date: Tue, 18 Oct 2005 13:21:57 -0700
From: Matt Kraai <kraai at ftbfs.org>
To: submit at bugs.debian.org
Subject: FTBFS: Could not create task or type of type junit
Message-ID: <20051018202157.GA4056 at localhost.localdomain>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
X-Virus-Scanned: ClamAV 0.86.2/1142/Tue Oct 18 00:21:37 2005 on zoot.lafn.org
X-Virus-Status: Clean
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02


--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: jmock
Version: 1.0.1-1
Severity: serious

jmock fails to build:

> /usr/lib/kaffe/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/=
ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/java/j=
unit.jar org.apache.tools.ant.Main  -propertyfile debian/ant.properties deb=
ian-install
> Could not load property file debian/ant.properties: No such file or direc=
tory: debian/ant.properties
> Buildfile: build.xml
>=20
> core.build.dir:
>     [mkdir] Created dir: /tmp/buildd/jmock-1.0.1/build/core
>=20
> core.compile:
>     [javac] Compiling 159 source files to /tmp/buildd/jmock-1.0.1/build/c=
ore
>=20
>     [javac] Issued 1 semantic warning compiling "/tmp/buildd/jmock-1.0.1/=
core/src/test/jmock/core/InvocationTest.java":
>=20
>     [javac]     22.     final String METHOD_NAME =3D "methodName";
>     [javac]                          ^------------------------^
>     [javac] *** Semantic Warning: Final field "METHOD_NAME" is initialize=
d with a constant expression and could be made static to save space.
>=20
> core.test.unit:
>     [mkdir] Created dir: /tmp/buildd/jmock-1.0.1/build/reports/unit-tests
>=20
> BUILD FAILED
> /tmp/buildd/jmock-1.0.1/build.xml:96: Could not create task or type of ty=
pe: junit.
>=20
> Ant could not find the task or a class this task relies upon.
>=20
> This is common and has a number of causes; the usual=20
> solutions are to read the manual pages then download and
> install needed JAR files, or fix the build file:=20
>  - You have misspelt 'junit'.
>    Fix: check your spelling.
>  - The task needs an external JAR file to execute
>      and this is not found at the right place in the classpath.
>    Fix: check the documentation for dependencies.
>    Fix: declare the task.
>  - The task is an Ant optional task and the JAR file and/or libraries
>      implementing the functionality were not found at the time you
>      yourself built your installation of Ant from the Ant sources.
>    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
>      task and make sure it contains more than merely a META-INF/MANIFEST.=
MF.
>      If all it contains is the manifest, then rebuild Ant with the needed
>      libraries present in ${ant.home}/lib/optional/ , or alternatively,
>      download a pre-built release version from apache.org
>  - The build file was written for a later version of Ant
>    Fix: upgrade to at least the latest release version of Ant
>  - The task is not an Ant core or optional task=20
>      and needs to be declared using <taskdef>.
>  - You are attempting to use a task defined using=20
>     <presetdef> or <macrodef> but have spelt wrong or not=20
>    defined it at the point of use
>=20
> Remember that for JAR files to be visible to Ant tasks implemented
> in ANT_HOME/lib, the files must be in the same directory or on the
> classpath
>=20
> Please neither file bug reports on this problem, nor email the
> Ant mailing lists, until all of these causes have been explored,
> as this is not an Ant bug.
>=20
> Total time: 2 seconds
> make: *** [install] Error 1

--=20
Matt

--r5Pyd7+fXNt84Ff3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDVVllfNdgYxVXvBARAvVEAKCZgofrBqdb/dz8Ir3+dXHQDbyLuQCgr7sY
VQrOMp7ZaVLMK32U2FaYE64=
=22P9
-----END PGP SIGNATURE-----

--r5Pyd7+fXNt84Ff3--

---------------------------------------
Received: (at 334629-close) by bugs.debian.org; 20 Oct 2005 13:08:04 +0000
>From katie at spohr.debian.org Thu Oct 20 06:08:04 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1ESa3c-0007fX-00; Thu, 20 Oct 2005 06:02:08 -0700
From: Wolfgang Baer <WBaer at gmx.de>
To: 334629-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#334629: fixed in jmock 1.0.1-2
Message-Id: <E1ESa3c-0007fX-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Thu, 20 Oct 2005 06:02:08 -0700
Delivered-To: 334629-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: jmock
Source-Version: 1.0.1-2

We believe that the bug you reported is fixed in the latest version of
jmock, which is due to be installed in the Debian FTP archive:

jmock_1.0.1-2.diff.gz
  to pool/main/j/jmock/jmock_1.0.1-2.diff.gz
jmock_1.0.1-2.dsc
  to pool/main/j/jmock/jmock_1.0.1-2.dsc
libjmock-java-doc_1.0.1-2_all.deb
  to pool/main/j/jmock/libjmock-java-doc_1.0.1-2_all.deb
libjmock-java_1.0.1-2_all.deb
  to pool/main/j/jmock/libjmock-java_1.0.1-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 334629 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Wolfgang Baer <WBaer at gmx.de> (supplier of updated jmock package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 19 Oct 2005 13:10:43 +0000
Source: jmock
Binary: libjmock-java libjmock-java-doc
Architecture: source all
Version: 1.0.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Changed-By: Wolfgang Baer <WBaer at gmx.de>
Description: 
 libjmock-java - Java library for testing code with mock objects
 libjmock-java-doc - Java library for testing code with mock objects - documentation
Closes: 334629
Changes: 
 jmock (1.0.1-2) unstable; urgency=low
 .
   * Added ant-optional as required by ant reorganization to
     fix FTBS (closes: #334629)
   * Removed unneeded build-deps on classpath, libgcj6
   * Added myself to uploaders
Files: 
 7a93fbfbf75d8c22586fe3355f4f6b54 787 libs optional jmock_1.0.1-2.dsc
 ba863d1c7b0fe503fb10da7d5e2a5f17 4978 libs optional jmock_1.0.1-2.diff.gz
 62a9140cf89ab4fbd731a438a9f3aad4 63376 libs optional libjmock-java_1.0.1-2_all.deb
 b47b70c19909e1d61ad02cae4caaea5b 87300 libs optional libjmock-java-doc_1.0.1-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDV5Hc4vzFZu62tMIRAlv3AJoCVmcH9DJM3TZJB6Pue2uMsI2d9gCggbnO
SZH7TYp3twQA0SCaRvdbLW0=
=ABZS
-----END PGP SIGNATURE-----




More information about the pkg-java-maintainers mailing list