tags:

views:

166

answers:

2

Is there a way to insert a comment line in the manifest of a jar file?

+2  A: 

The manifest specification does not describe any method for writing comments into the manifest, so I believe not.

avpx
I had already feared that :-(
jens
+3  A: 

You can always use a keyword like X-JENS-COMMENT, and then put your comment in the value.

Use a wording which is certain not to collide with anything Sun could come up with :)

Thorbjørn Ravn Andersen
Nice idea. I do not really think that X-JENS-COMMENT will be a header name some Sun engineer will make up in the next few months :-)
jens