5 Replies Latest reply on Dec 1, 2003 12:04 PM by martin0

    Custom manifest in packaging config

    shorero

      Configuration: JBoss 3.2.2RC4; Eclipse 2.1.1; JBoss IDE 1.2.1

      I'm building an EAR file containing several separate EJB jar files and a couple of libraries. For this to work, I believe that I need to control the Class-Path: entry in the manifest of each of the EJB jar files. I can't figure out any way to build a packaging configuration that copies or merges my custom manifest.mf into the generated manifest in the jar file; in particular, simply adding a manifest.mf file to the configuration is ignored (the generated manifest.mf never contains the Class-Path: entry). I can achieve the goal by manually editing packaging-build.xml and adding a manifest= attribute to each of the appropriate structures, but this is something of a PITA.

      Is there any way to get a proper Class-Path: in the manifest.mf built by a packaging run? More generally, is there any way to get additional manifest entries such as Sealed: into the generated manifest.mf?