manifest file in jar artifact not generated?

Answered

is it a bug or am i using the artifact feature wrong? i have to create the manifest file myself and then tell idea to copy it into the jar? can't it be generated automatically? i mean, i can tell the articfact what the main class is, so... i guess it's a bug?

4 comments
Comment actions Permalink

Select the jar node in the layout tree and press "Create Manifest" button. IDEA will create a manifest.mf file and you will be able to specify main
class from the artifact editor.

is it a bug or am i using the artifact feature wrong? i have to create the manifest file myself and then tell idea to copy it into the jar? can't it be generated automatically? i mean, i can tell the articfact what the main class is, so... i guess it's a bug?

---
Original message URL: http://www.jetbrains.net/devnet/message/5252523#5252523



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

1
Comment actions Permalink

Hi,

in IntelliJ 2021, where can In find the create manifest button?

0
Comment actions Permalink

I see. Thanks a lot!

0

Please sign in to leave a comment.