Create Jar from modules dialog
Use this page to specify the settings for your Java archive (JAR). For informaiton on how to create and run the JAR file, refer to Create an artifact configuration for the JAR.
Item | Description |
---|---|
Module | The module that you want to package. |
Main class | The fully qualified name of your main application class, the one with the main() method. |
JAR files from libraries | The way the JAR files from the module libraries are processed:
|
Directory for META-INF/MANIFEST.MF | The path to the directory in which META-INF/MANIFEST.MF is generated. If you build your JAR file with IntelliJ IDEA, IntelliJ IDEA will pick the location to the MANIFEST.MF file automatically. If you use other build systems such as Gralde or Maven, you need to use the resources folder to store the MANIFEST.MF file. |
Include tests | Include the module's compiled test classes. |
Refer to Packaging the application in a JAR for an example of how to create and build a JAR artifact.