This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/5552: jar fails to include class files in subdirectories
- From: bero at redhat dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 31 Jan 2002 11:03:53 -0000
- Subject: java/5552: jar fails to include class files in subdirectories
- Reply-to: bero at redhat dot de
>Number: 5552
>Category: java
>Synopsis: jar fails to include class files in subdirectories
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 31 03:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: bero@redhat.de
>Release: CVS HEAD 2002/01/30
>Organization:
>Environment:
Red Hat Linux post-7.2
>Description:
This can be noticed for example while building the Qt Java bindings:
Using the command:
jar cvf qtjava.jar org/kde/qt/*.class
gcj's jar creates an empty manifest and packages it in an otherwise empty jar file.
I'd expect the class files to be included both in the jar file and the manifest, the way the non-free JDKs do.
>How-To-Repeat:
mkdir foo
mv foo.class foo
jar cvf foo.jar foo/*.class
>Fix:
None yet
>Release-Note:
>Audit-Trail:
>Unformatted: