Hi,

Does anyone have a good trick for doing that? So far my best solution
is reimplementing Manifest.write(..) which is kind of ugly.

The use case is to have reproducible builds when our slingstart plugin
rewrites a manifest using our BSNRenamer[1] - currently multiple
builds (on different platforms maybe) can lead to jars with
MANIFEST.MF entries in a different order, making the jars different
from a binary/digest point of view. Not the end of the world but
inconvenient.

-Bertrand

[1] 
https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/osgi/src/main/java/org/apache/sling/commons/osgi/BSNRenamer.java

Reply via email to