This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]