google-code-export / h2database

Automatically exported from code.google.com/p/h2database
0 stars 1 forks source link

Export-Package manifest entry gives me problems #295

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I load JAR files myself in my apps.

The changes to the syntax of the manifest file have broken jar loading for me.  
I get illegal attribute exceptions and it looks like carriage returns within 
the Export-Package field is my problem.

I know next to nothing about OSGi, but it looks like this alternative may work 
for H2 and for me:

Export-Package: org.h2; org.h2.api; org.h2.fulltext; org.h2.jdbcx; 
org.h2.tools; org.h2.util; version="${version}"

https://mail.osgi.org/pipermail/osgi-dev/2008-August/001395.html

Granted, its a single line, but I wouldn't be surprised if others have this 
same problem.

Original issue reported on code.google.com by James.Mo...@gmail.com on 4 Mar 2011 at 8:14

GoogleCodeExporter commented 9 years ago
Thanks! I fixed the manifest file, could you check it it works now as expected? 
I still use multiple lines, but the first value is on the same line as the key. 
Also, I only use one space instead of 4 as before (not sure if this is really 
required):

http://code.google.com/p/h2database/source/browse/trunk/h2/src/main/META-INF/MAN
IFEST.MF

Original comment by thomas.t...@gmail.com on 5 Mar 2011 at 9:53

GoogleCodeExporter commented 9 years ago
Works great! Thanks for the quick fix.

Original comment by James.Mo...@gmail.com on 5 Mar 2011 at 1:10

GoogleCodeExporter commented 9 years ago
Should be fixed in version 1.3.153

Original comment by thomas.t...@gmail.com on 25 Mar 2011 at 7:23