I have an Eclipse plugin for which I am creating a JAR with the OSGi package with Ant. I would like to sign them using the Ant task, but this overwrites the contents of MANIFEST.MF with class signatures, which makes OSGi packages unusable. The JDK jarsigner tool has the same behavior. Eclipse PDE has this functionality, but as far as I know, you can only use it from Eclipse. I want to be able to run my Ant construct from the command line. Does anyone know an easy way to add class signatures to MANIFEST.MF instead of writing it?
source
share