Artifact layout, can't select "Inline artifact" for included jar files
Newbie IntelliJ user here -- one week old, but absolutely loving the program. How did I live so long without it?
I am trying to make a jar artifact which will contain the source from my project PLUS two library jars. I assume that I need to get IntelliJ to "inline" these two jars so that their classes are visible in the output jar.
My problem is that if I select one or other jar in the left hand part of the Output Layout pane, the context menu always shows "Inline Artifact" greyed out! Please, what do I do to get these jars inlined?
I can't be the first person to have this problem, but I also can't find anything about this anywhere on the web. Apologies if somehow I've missed the answer somewhere
System details: Mac OS 10.6, IntelliJ 9.0.2 Community Edition.
Please sign in to leave a comment.
"Inline Artifact" action works only for artifacts defined in IDEA. Currently IDEA doesn't allow to include content of a jar file into an artifact.
However there is a feature request for this problem (http://youtrack.jetbrains.net/issue/IDEA-51729) and it will be probably supported in the next
version.
--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Thanks for the info, much appreciated. Looking forward to seeing it in the next release