Hi, The H2 jar files are built using the java.util.jar.JarOutputStream, and so far I didn't know about any problems with this approach.
I think I found the place where pack200 throws this exception: http://www.docjar.com/html/api/com/sun/java/util/jar/pack/PackerImpl.java.html Package.File file = pkg.new File(fname); 544 file.readFrom(in); 545 if (file.isDirectory() && file.getFileLength() != 0) 546 throw new IllegalArgumentException("Non-empty directory: "+file.getFileName()); 547 return file; The problems seems to be that there are directories that are not empty. But I don't think that's from H2. What is the complete exception message? Regards, Thomas On Thu, Dec 4, 2014 at 6:10 PM, Brian Craft <[email protected]> wrote: > The h2 jar doesn't have entries for directories. This seems to be causing > problems with down-stream build tools. Building an uber-jar, then passing > through pack200, it throws a "non-empty directory" exception. I suspect > it's the uber-jar build that is broken, but am also wondering why the h2 > jars have no directory entries. Is this also due to pack200? > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
