[XOM-interest] XOM built as an OSGi bundle

Mascolino, Mark R. mark.mascolino at hp.com
Fri May 15 09:20:08 EDT 2009


http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#JAR%20Manifest
mentions a 72 byte per line limit.
This bug report from Sun:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4842483
suggests the 72 byte limit is silly and is a legacy of adopting an outdated RFC from the 70s that isn't super relevant (although I suppose the people who write embedded device code or apps for platforms with limited horsepower would beg to differ).

mark

-----Original Message-----
From: xom-interest-bounces at lists.ibiblio.org [mailto:xom-interest-bounces at lists.ibiblio.org] On Behalf Of Elliotte Harold
Sent: Friday, May 15, 2009 8:46 AM
To: XOM interest
Subject: Re: [XOM-interest] XOM built as an OSGi bundle

OK. How's this:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 1.5.0_16-133 (Apple Inc.)
Built-By: elharo
Specification-Title: XOM
Specification-Version: 1.2.2b2
Specification-Vendor: Elliotte Rusty Harold
Implementation-Title: XOM
Implementation-Version: 1.2.2b2
Implementation-Vendor: Elliotte Rusty Harold
Main-Class: nu.xom.Info
Bundle-ManifestVersion: 2
Bundle-Name: XOM
Bundle-SymbolicName: nu.xom
Bundle-Version: 1.2.2b2
Bundle-Vendor: xom.nu
Bundle-RequiredExecutionEnvironment: J2SE-1.2
Export-Package: nu.xom, nu.xom.canonical, nu.xom.converters, nu.xom.xi
 nclude, nu.xom.xslt
Import-Package: javax.xml.transform.sax, javax.xml.transform, org.w3c.
 dom,           org.apache.xerces.parsers;resolution:=optional;version
 ="2.8.0",          org.apache.xerces.jaxp;resolution:=optional;versio
 n="2.9.0",          com.sun.org.apache.xerces.internal.jaxp;resolutio
 n:=optional,          com.sun.org.apache.xerces.internal.parsers;reso
 lution:=optional


I'm not sure what's going on with the white space. Is there a maximum
length for Manifest.MF lines ant's trying to account for or something?

-- 
Elliotte Rusty Harold
elharo at ibiblio.org
_______________________________________________
XOM-interest mailing list
XOM-interest at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest


More information about the XOM-interest mailing list