Bug#307950: marked as done (<gjdoc> task consistently fails, without explanation)

Debian Bug Tracking System owner@bugs.debian.org
Wed Jun 8 18:27:18 2005


Your message dated Wed, 08 Jun 2005 14:02:30 -0400
with message-id <E1Dg4so-0007gA-00@newraff.debian.org>
and subject line Bug#307950: fixed in libant1.6-java 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; 6 May 2005 19:17:42 +0000
>From ms419@freezone.co.uk Fri May 06 12:17:42 2005
Return-path: <ms419@freezone.co.uk>
Received: from defout.telus.net (priv-edtnes82.telusplanet.net) [199.185.220.240] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DU8KU-0006Gi-00; Fri, 06 May 2005 12:17:42 -0700
Received: from tor.lat ([205.250.104.75]) by priv-edtnes82.telusplanet.net
          (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP
          id <20050506191711.EUTY5543.priv-edtnes82.telusplanet.net@tor.lat>
          for <submit@bugs.debian.org>; Fri, 6 May 2005 13:17:11 -0600
Received: by tor.lat (Postfix, from userid 1001)
	id A722E117A31; Fri,  6 May 2005 12:17:08 -0700 (PDT)
Received: from [192.168.179.9] (kas.ruz.lat [192.168.179.9])
	by tor.lat (Postfix) with ESMTP id DAA3B1EBE8
	for <submit@bugs.debian.org>; Fri,  6 May 2005 12:17:05 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v619.2)
To: submit@bugs.debian.org
Message-Id: <bb80a7cdbab1acce8f955842d8170c08@freezone.co.uk>
Content-Type: multipart/mixed; boundary=Apple-Mail-38--339130178
From: ms419@freezone.co.uk
Subject: <gjdoc> task consistently fails, without explanation
Date: Fri, 6 May 2005 12:17:03 -0700
X-Mailer: Apple Mail (2.619.2)
X-Face: #..0OTm4cDCHwG[!aCF/-vw$N5mfb58T+T\IP+^JU{FpY!%;y6(71_LfzLJn6Q)3th4.Db{
	e4P)Cjq&5t~_<"OJ<+*5:($4eJck-+`;C%SnMgY}PN[(j;&O8Y(WY=cZm;}<(P_7p8V7E%.8i(;-Ga
	W)>KDF0sJO!ap4-:fcXd=jq,fb-&)KiBd9)F`rD42:p.\k/t%,V3^fGMyb[8w$K{f3>[/%vR@Z0[1Q
	@kf|_a''|[n6:CJ8&_$1e(rp8jj0bj\lw6z`-9;0Pw!cd$/)SnC'9;vjC2?%11+rPmw
X-Hashcash: 1:20:050506:submit@bugs.debian.org::00RocA6BoVTaODh2:000000000000000
	0000000000000000000000003ezu
Delivered-To: submit@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-Status: No, hits=-5.2 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_PACKAGE,NO_REAL_NAME autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--Apple-Mail-38--339130178
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Package: libant1.6-java
Version: 1.6.2-2.1

The <gjdoc> task consistently fails, without explanation

Using the attached build.xml & commons digester -  
http://jakarta.apache.org/commons/digester/


myhost% /usr/lib/kaffe/bin/java -classpath  
/usr/share/ant1.6/lib/ant.jar:/usr/share/ant1.6/lib/ant-launcher.jar:/ 
usr/share/java/gnu-classpath-tools-gjdoc.jar:/usr/share/java/com-sun- 
javadoc.jar:/usr/share/java/com-sun-tools-doclets-Taglet.jar:.  
org.apache.tools.ant.Main echo


- the <echo> task never runs because the "javadoc" target always fails

In trying to understand the problem, I prepared the attached Main.java  
- to simulate the call made by Gjdoc.java:2170

However -


fis% /usr/lib/kaffe/bin/java -classpath  
/usr/share/ant1.6/lib/ant.jar:/usr/share/ant1.6/lib/ant-launcher.jar:/ 
usr/share/java/gnu-classpath-tools-gjdoc.jar:/usr/share/java/com-sun- 
javadoc.jar:/usr/share/java/com-sun-tools-doclets-Taglet.jar:. Main


- succeeds! Far as I am able to tell, Main.java should invoke  
gnu.classpath.tools.gjdoc.Main identically to Gjdoc.java - I don't  
understand these two cases different behaviors

I used gjdoc 0.7.4-1 & kaffe 1.1.5-3 - sablevm is broken for me at the  
moment

If fixing the <gjdoc> task is impractical, maybe it should be removed  
in favor of the <javadoc> task?

Best wishes!

Jack


--Apple-Mail-38--339130178
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="build.xml"
Content-Disposition: attachment;
	filename=build.xml

<project>

  <target name="javadoc">
    <gjdoc sourcepath="src/java" destdir="dist/docs/api"
        packagenames="org.apache.commons.digester"/>
  </target>

  <target name="echo" depends="javadoc">
    <echo message="Foo!"/>
  </target>

</project>

--Apple-Mail-38--339130178
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed




--Apple-Mail-38--339130178
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	x-unix-mode=0644;
	name="Main.java"
Content-Disposition: attachment;
	filename=Main.java

import java.lang.reflect.*;

public class Main {

  public static void main(String[] args) throws Exception {
    Class c = Class.forName("gnu.classpath.tools.gjdoc.Main");
    Method m = c.getMethod("main", new Class[] {String[].class});

    args = new String[] {
      "-d",
      "dist/docs/api",
      "-sourcepath",
      "src/java",
      "org.apache.commons.digester"
    };
    for (int i = 0; i < args.length; i++) {
      System.out.println("args[" + i + "] " + args[i]);
    }

    System.out.println(m.invoke(null, new Object[] {args}));
  }
}

--Apple-Mail-38--339130178--


---------------------------------------
Received: (at 307950-close) by bugs.debian.org; 8 Jun 2005 18:08:16 +0000
>From katie@ftp-master.debian.org Wed Jun 08 11:08:16 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Dg4yO-0007KF-00; Wed, 08 Jun 2005 11:08:16 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Dg4so-0007gA-00; Wed, 08 Jun 2005 14:02:30 -0400
From: Michael Koch <konqueror@gmx.de>
To: 307950-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#307950: fixed in libant1.6-java 1.6.5-1
Message-Id: <E1Dg4so-0007gA-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 08 Jun 2005 14:02:30 -0400
Delivered-To: 307950-close@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-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
X-Spam-Level: 

Source: libant1.6-java
Source-Version: 1.6.5-1

We believe that the bug you reported is fixed in the latest version of
libant1.6-java, which is due to be installed in the Debian FTP archive:

libant1.6-java_1.6.5-1.diff.gz
  to pool/main/liba/libant1.6-java/libant1.6-java_1.6.5-1.diff.gz
libant1.6-java_1.6.5-1.dsc
  to pool/main/liba/libant1.6-java/libant1.6-java_1.6.5-1.dsc
libant1.6-java_1.6.5-1_all.deb
  to pool/main/liba/libant1.6-java/libant1.6-java_1.6.5-1_all.deb
libant1.6-java_1.6.5.orig.tar.gz
  to pool/main/liba/libant1.6-java/libant1.6-java_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 307950@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Koch <konqueror@gmx.de> (supplier of updated libant1.6-java 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@debian.org)


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

Format: 1.7
Date: Wed,  8 Jun 2005 09:00:57 +0000
Source: libant1.6-java
Binary: libant1.6-java
Architecture: source all
Version: 1.6.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Michael Koch <konqueror@gmx.de>
Description: 
 libant1.6-java - Java based build tool like make -- library
Closes: 307950
Changes: 
 libant1.6-java (1.6.5-1) unstable; urgency=low
 .
   * New upstream release
   * Upload to unstable
   * Add myself to Uploaders
 .
 libant1.6-java (1.6.4-1) experimental; urgency=low
 .
   * New upstream release
   * Switched back to sablevm as it now can bootstrap ant again
   * Reworked gjdoc task patch (closes: #307950)
     + Based on current javadoc task
     + Switched form reflection invocation to fork+exec invocation
     + Works with kaffe, sablevm and ALSO with the non-free JDKs
     + See README.Debian for further information
   * Updated README.Debian and fixed typos
 .
 libant1.6-java (1.6.3-1) experimental; urgency=low
 .
   * New upstream release
     + Better jikes support
     + May break existing builds - test against your packages
   * Switch to kaffe as sablevm fails to bootstrap
   * Built against libxerces2-java
   * Changed "-target 1.2" to "-target 1.3" - jikes does not support 1.2
     anymore and 1.3 is enough to support JDKs 1.3
   * Changed Build-Depends to Build-Depends-Indep to fix lintian warning
Files: 
 7d4d826ab5a3c9ec8e8807e05711e832 935 libs optional libant1.6-java_1.6.5-1.dsc
 b1a692367b4ef4d08833c434b4863ae9 7093554 libs optional libant1.6-java_1.6.5.orig.tar.gz
 c09129f5a001aa67d292cd616d686a1a 22247 libs optional libant1.6-java_1.6.5-1.diff.gz
 9cb69504be6b048be9b4959e3550c67e 1395164 libs optional libant1.6-java_1.6.5-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Signed by Jeroen van Wolffelaar <jeroen@wolffelaar.nl>

iD8DBQFCpy+Rl2uISwgTVp8RAhiCAJwMrFWdXTxF1bfMHWgP2TCOpxrLCwCgm9rY
U4Mlxk42KRiyA+JCs68psIo=
=a8LG
-----END PGP SIGNATURE-----