This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Compiling multiple --resource files
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: tromey at redhat dot com, <java at gcc dot gnu dot org>
- Date: Sat, 8 Nov 2003 09:00:45 -0500 (EST)
- Subject: Re: Compiling multiple --resource files
On Fri, 7 Nov 2003, [ISO-8859-1] Øyvind Harboe wrote:
> > If so, then we've got a bug somewhere.
>
> I find it surprising that classpathx expects stuff in the META-INF
> directory to be in the classpath.
I haven't followed this PR closely, but it sounds similar to a xerces
failure I discovered here. gcj intentionally skips META-INF entries:
/* For now we drop the manifest and other information. Maybe it
would make more sense to compile it in? */
if (zdir->filename_length > 8
&& !strncmp (class_name_in_zip_dir, "META-INF/", 9))
return 0;
My feeling is that this is a mistake. XML parsers depend on resources in
META-INF. Probably the manifest should be skipped, but not other entries
in META-INF.
Jeff