Skip to content

Commit

Permalink
build.xml: Add Build-Jdk-Spec to MANIFEST.MF
Browse files Browse the repository at this point in the history
Its real-world usage is more consistent than that of Created-By.
It's already used at least by Maven Archiver.
  • Loading branch information
Larhzu committed Jul 29, 2024
1 parent 2103742 commit 5ec1e8e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@
It's already used by Maven Archiver for Build-Jdk-Spec. -->
<attribute name="Created-By" value="${java.specification.version}"
if:true="${manifest_cleanup}"/>

<!-- Unconditionally add Build-Jdk-Spec too because its real-world
use is more clearly defined than that of Created-By. -->
<attribute name="Build-Jdk-Spec"
value="${java.specification.version}"/>
</manifest>
</target>

Expand Down

0 comments on commit 5ec1e8e

Please sign in to comment.