Very frustrating. I have a manifest file (called MyManifest.mf) that looks like this:
Name: com/lgc/infra/dsp/
Specification-Title: DecisionSpace SDK, dsp project
Specification-Vendor: Landmark Graphics Corporation
Specification-Version: 2003.2.0.0
Implementation-Title: DecsisionSpace Infrastructure: dsp
Implementation-Vendor: Landmark Graphics Corporation
Implementation-Version: 2003.2.0.0.0213.48
Name: com/lgc/infra/pres/appworks/
Specification-Title: DecisionSpace SDK
Specification-Vendor: Landmark Graphics Corporation
Specification-Version: 2003.2.0.0
Implementation-Title: com.lgc.infra.pres.appworks
Implementation-Vendor: Landmark Graphics Corporation
Implementation-Version: 2003.2.0.0.0213.48
When I incorporate that into a jar file with Ant 1.4.1:
<jar
jarfile="${jar}/com_lgc_dsp.jar"
basedir="${classes}"
whenempty="fail"
manifest="${manifests}/MyManifest.mf" />
I get warnings:
Building jar: E:\Work\tahoe\jar\com_lgc_dsp.jar
Manifest warning: "Name" attributes should not occur in the main section and
must be the first element in all other sections: "Name: com/lgc/infra/dsp/"
Manifest warning: "Name" attributes should not occur in the main section and
must be the first element in all other sections: "Name:
com/lgc/infra/pres/appworks/"
But when I remove the line "Name: com/lgc/infra/dsp/" from the manifest, I
get an error!
Manifest is invalid: Manifest sections should start with a "Name" attribute
and
not "Specification-Title"
What gives? I have done all sorts of looking around at various manifest
files, and the Jar specification, and the archives of ant-dev and ant-user,
and I don't know what to think at this point.
What does a valid manifest look like?
msg13293/bin00000.bin
Description: application/ms-tnef
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
