Intellij 16 - Creating a jar
Answered
Hello,
I love intellij but the only things that prevents me from moving from eclipse to intellij is the classpath issue :
In eclipse I can create a jar file and a lib folder with all the dependency jars, eclipse knows how to edit the manifest.mf file so the classpath for all the jars are there.
Unfortunately, in Intellij when I go to project stracture->Artifacts->Jar->from module with dependencies->copy to the output directory and link via manifest, and I create a folder called lib and put all the dependency jars there, after building the jar, the manifest file has no classpath at all!
Am I doing something wrong? Is it a known bug that will be fixed some day?
Please sign in to leave a comment.
There is a known bug, see https://youtrack.jetbrains.com/issue/IDEA-87763. It should work if the jars are placed in the same directory as the artifact.
wow it is in priority major since 2012 and still not fixed