Your message dated Mon, 08 Aug 2005 03:12:21 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#164401: fixed in ant 1.6.5-1
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; 12 Oct 2002 00:52:11 +0000
>From [EMAIL PROTECTED] Fri Oct 11 19:52:10 2002
Return-path: <[EMAIL PROTECTED]>
Received: from boof.brainfood.com (gradall.private.brainfood.com)
[65.125.64.189]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 180AVm-000345-00; Fri, 11 Oct 2002 19:52:10 -0500
Received: from localhost ([127.0.0.1])
by gradall.private.brainfood.com with esmtp (Exim 3.35 #1 (Debian))
id 180Acp-0001w2-00
for <[EMAIL PROTECTED]>; Fri, 11 Oct 2002 19:59:27 -0500
Date: Fri, 11 Oct 2002 19:59:27 -0500 (CDT)
From: Adam Heath <[EMAIL PROTECTED]>
X-X-Sender: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: ant aborts wrongly on error when instantiating taskdefs
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
Package: ant
Version: 1.5-1
When running ant under kaffe, ant aborts because it can't load
SplashTask.java. Ant attempts to capture some internal errors, but not all.
Kaffe does not have swing. This does not immediately keep SplashTask from
being loaded. However, SplashTask has a static reference to SplashScreen,
which extends JWindow, and this causes an ExceptionInInitializerError:
BUILD FAILED
java.lang.ExceptionInInitializerError: [exception was
java.lang.NoClassDefFoundError:
Lorg/apache/tools/ant/taskdefs/optional/splash/SplashScreen;]
at java.lang.Class.forName(Class.java:native)
at java.lang.Class.forName(Class.java:58)
at org.apache.tools.ant.Project.init(Project.java:269)
at org.apache.tools.ant.Main.runBuild(Main.java:583)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
The fix is to capture any error thrown by the instantiated class, and log an
appropriate message, instead of just aborting.
(note, this may not be a good fix. The class being loaded in this case is in
an optional directory, yet it is listed in
org/apache/tools/ant/taskdefs/defaults.properties, which implies it is not
optional.)
--- ant-1.5/debian/changelog
+++ ant-1.5/debian/changelog
@@ -1,3 +1,9 @@
+ant (1.5-1.1) unstable; urgency=low
+
+ * If any error occurs when registering tasks, catch it and don't abort.
+
+ -- Adam Heath <[EMAIL PROTECTED]> Fri, 11 Oct 2002 19:26:04 -0500
+
ant (1.5-1) unstable; urgency=low
* New upstream release
--- ant-1.5.orig/src/main/org/apache/tools/ant/Project.java
+++ ant-1.5/src/main/org/apache/tools/ant/Project.java
@@ -274,6 +274,9 @@
} catch (ClassNotFoundException cnfe) {
log("Could not load class (" + value
+ ") for task " + key, MSG_DEBUG);
+ } catch (Error ncdfe) {
+ log("Could not load class(other error?) ("
+ + ncdfe.getMessage() + ") for task " + key, MSG_DEBUG);
}
}
} catch (IOException ioe) {
---------------------------------------
Received: (at 164401-close) by bugs.debian.org; 8 Aug 2005 10:21:05 +0000
>From [EMAIL PROTECTED] Mon Aug 08 03:21:05 2005
Return-path: <[EMAIL PROTECTED]>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
id 1E24cH-0004tK-00; Mon, 08 Aug 2005 03:12:21 -0700
From: Wolfgang Baer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#164401: fixed in ant 1.6.5-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Joerg Jaspert <[EMAIL PROTECTED]>
Date: Mon, 08 Aug 2005 03:12:21 -0700
Delivered-To: [EMAIL PROTECTED]
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: ant
Source-Version: 1.6.5-1
We believe that the bug you reported is fixed in the latest version of
ant, which is due to be installed in the Debian FTP archive:
ant-doc_1.6.5-1_all.deb
to pool/main/a/ant/ant-doc_1.6.5-1_all.deb
ant_1.6.5-1.diff.gz
to pool/main/a/ant/ant_1.6.5-1.diff.gz
ant_1.6.5-1.dsc
to pool/main/a/ant/ant_1.6.5-1.dsc
ant_1.6.5-1_all.deb
to pool/main/a/ant/ant_1.6.5-1_all.deb
ant_1.6.5.orig.tar.gz
to pool/main/a/ant/ant_1.6.5.orig.tar.gz
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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Wolfgang Baer <[EMAIL PROTECTED]> (supplier of updated ant 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 23 Jun 2005 16:11:44 +0200
Source: ant
Binary: ant-doc ant
Architecture: source all
Version: 1.6.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <[EMAIL PROTECTED]>
Changed-By: Wolfgang Baer <[EMAIL PROTECTED]>
Description:
ant - Java based build tool like make
ant-doc - Java based build tool like make - API documentation
Closes: 164401 169755 253448 254683 273560 290228 305674 310266
Changes:
ant (1.6.5-1) unstable; urgency=low
.
* New upstream release
+ Build with kaffe/gjdoc/jikes
+ Move to main (closes: #290228)
+ Refractored SplashTask to remove sun internal classes
patches 03_SplashTaskPatch_a/b/c.patch (submitted upstream)
+ Patched UUMailer.java to use sun internal classes via reflection
+ Updated src/script/ant patches
+ Patched build.xml to include maxmemory option to build javadoc
* Splashscreen now works with kaffe/gij-4.0/jamvm packages
(closes: #169755, #164401)
* Removed extraneous files left by failed builds (closes: #310266)
* Added libjsch-java to path and include ant-jsch (closes: #305674)
* Added ant-jmf to ant.install
* Added java1-runtime | java2-runtime as alternatives to kaffe to Depends
* Moved ant-doc to section doc (closes: #253448)
* According to upstream changelog ant junitreport for JDK 1.5
was fixed already in 1.6.2 (closes: #273560)
* Taskdef attributes are the same as for Typedef and therefore
described through the provided link to Typedef manual (closes: #254683)
* Updated README.Debian
* Updated build.xml.5 and ant.1 manpages
* Changed Build-Depends to Build-Depends-Indep to fix lintian warning
* Moved java-virtual-machine to suggests
* Used versioned dependency for libant1.6-java (same upstream version needed)
* Call dh_installdocs directly to exclude redundant LICENSE files
* Bumped Standards-Version to 3.6.2 - no changes
* Added myself to uploaders
* Upload sponsored by Arnaud Vandyck
Files:
0a136666ab51ee5695932bf012ef0f91 1069 devel optional ant_1.6.5-1.dsc
60b0006e982d0eee5bda6d1da47e1775 7067387 devel optional ant_1.6.5.orig.tar.gz
0efb7ea67bfa1716637804990b60d37e 16174 devel optional ant_1.6.5-1.diff.gz
0242d84d9bf1cb0d38e661f7cce453a7 2384736 devel optional ant_1.6.5-1_all.deb
d9540faa82a5c9dbbe484afdfd3c9d07 1913930 doc optional ant-doc_1.6.5-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFC9oLt4vzFZu62tMIRAo9MAJ9vz55MZ30IwcdW2jwTUAFn9Qz8AACgihtu
WDcqjyq2k5QKUM98l1DuZwI=
=5dDc
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]