Description of the problem:
ijar tool incorrectly handles MANIFEST files with sections by removing empty lines and appending main attribute Target-Label after them.
I've faced this issue by trying to use java_common.stamp_jar on external jars.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Repro: https://github.com/liucijus/ijar-stamping-repro
What operating system are you running Bazel on?
Linux (Xubuntu 20.04)
What's the output of bazel info release?
release 3.7.2
Description of the problem:
ijar tool incorrectly handles MANIFEST files with sections by removing empty lines and appending main attribute
Target-Labelafter them.I've faced this issue by trying to use
java_common.stamp_jaron external jars.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Repro: https://github.com/liucijus/ijar-stamping-repro
What operating system are you running Bazel on?
Linux (Xubuntu 20.04)
What's the output of
bazel info release?release 3.7.2