How can I include additional information in the META-INF/MANIFEST.MF of a java jar-file using the Library Compiler

조회 수: 26 (최근 30일)
I'm creating a jar-file out of a Matlab script function using the Library Compiler app (java package). This jar-file then is included in a java application. In this application, I read the content of the META-INF/MANIFEST.MF of the created jar-file in order to display additional information regarding the jar-file (e.g. "Implementation-Title" and "Implementation-Version")
As a default, the Library Compiler only adds the "Manifest-Version" and the "Created-By" to the MANIFEST.MF. Now it would be nice, if it would be possible to directly include additional manifest information directly in the Library Compiler user interface. For example, the "Library information" (e.g name, version, author...) could directly be added to the MANIFEST.MF.
At the moment, I insert additional information manually in the MANIFEST.MF file (respectively I wrote a batch file which includes information out of a text file)
Is there an easy way to include additional information directly in the Library Compiler interface?
I'm using Matlab R2018a and JDK 1.8.0_181.

답변 (1개)

Christian Schneider
Christian Schneider 2024년 3월 6일
I would like to know this as well and could not find information about it in the documentation, nor this forum. Is there really no option for mcc to do that? (using MatLab R2022b)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by