[shrinkwrap-issues] [JBoss JIRA] Issue Comment Edited: (SHRINKDESC-15) Create a Manifest Descriptor
Davide D'Alto (JIRA)
jira-events at lists.jboss.org
Fri Feb 4 09:20:39 EST 2011
[ https://issues.jboss.org/browse/SHRINKDESC-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579563#comment-12579563 ]
Davide D'Alto edited comment on SHRINKDESC-15 at 2/4/11 9:18 AM:
-----------------------------------------------------------------
This is an example of my ManifestDescriptor
Descriptor manifestDescriptor = Descriptors.create(ManifestDescriptor.class)
.version("2.0.0.GA-M")
.createdBy("Creator")
.implementationTitle("Implementation Title")
.implementationUrl("http://test.com")
.implementationVendor("Very Important Vendor (Main)")
.implementationVendorId("VIV")
.implementationVersion("1.0.0.GA-VIV-M")
.classPath("lib1.jar", "lib2.jar", "/f1/f2/f3/lib3")
.mainClass("test.manifest.MainClass")
.sealed()
.signatureVersion("2.0.0.GA-M-SIG")
.specificationTitle("Specification Title")
.specificationVendor("Specfication Vendor")
.specificationVersion("5.0.0.GA-M-SPEC")
.attribute("CustomAttribute", "Whatever")
.entry("Entry1")
.contentType("application/xml")
.notJavaBean()
.xDigestY("digestAlgorithm1")
.magic("Magic1")
.version("2.1.0")
.createdBy("Creator Entry 1")
.implementationTitle("Implementation Title Entry 1")
.implementationUrl("http://entry1.test.com")
.implementationVendor("Very Important Vendor (Entry 1)")
.implementationVendorId("VIV-E1")
.implementationVersion("1.0.0.GA-VIV-E1")
.classPath("entry-lib1.jar", "entry1-lib2.jar", "/f1/f2/f3/entry1-lib3.jar")
.mainClass("test.manifest.Entry1MainClass")
.notSealed()
.signatureVersion("2.0.0.GA-E1-SIG")
.specificationTitle("Specification Title Entry1")
.specificationVendor("Specfication Vendor Entry1")
.specificationVersion("5.0.0.GA-E1-SPEC")
.attribute("CustomAttribute", "WhateverEntry1")
.entry("Entry2")
.contentType("text/html")
.javaBean()
.xDigestY("digestAlgorithm2")
.magic("Magic2")
.version("2.1.0")
.createdBy("Creator Entry 2")
.implementationTitle("Implementation Title Entry 2")
.implementationUrl("http://entry2.test.com")
.implementationVendor("Very Important Vendor (Entry 2)")
.implementationVendorId("VIV-E2")
.implementationVersion("1.0.0.GA-VIV-E2")
.classPath("entry2-lib1.jar", "entry2-lib2.jar", "/f1/f2/f3/entry2-lib3.jar")
.mainClass("test.manifest.Entry2MainClass")
.sealed()
.signatureVersion("2.0.0.GA-E2-SIG")
.specificationTitle("Specification Title Entry2")
.specificationVendor("Specfication Vendor Entry2")
.specificationVersion("5.0.0.GA-E2-SPEC")
.attribute("CustomAttribute", "WhateverEntry2")
.applet("applet1")
.appletExtensionName("applet1-Name")
.appletImplementationUrl("http://applet1.test.com")
.appletImplementationVersion("2.0.GA-A1")
.appletImplementationVendorId("VIV-A1")
.appletSpecificationVersion("2.0.GA-A1-SPEC")
.applet("applet2")
.appletExtensionName("applet2-Name")
.appletImplementationUrl("http://applet2.test.com")
.appletImplementationVersion("2.0.GA-A2")
.appletImplementationVendorId("VIV-A2")
.appletSpecificationVersion("2.0.GA-A2-SPEC");
> Create a Manifest Descriptor
> ----------------------------
>
> Key: SHRINKDESC-15
> URL: https://issues.jboss.org/browse/SHRINKDESC-15
> Project: ShrinkWrap Descriptors
> Issue Type: Feature Request
> Reporter: Aslak Knutsen
> Priority: Optional
>
> It would be nice to be able to manipulate the MANIFEST.MF file 'via' the ManifestContainer.
> A simple Wrapper Asset impl over java.util.jar.Manifest should work i guess..
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list