IntelliJ Idea Simple project configuration

Source: Internet
Author: User

In IntelliJ idea there is a project in the context of the highest level of organization in the IDE.

To specify the configuration of the project Select File | Project Structure (item structure)


Here, you can see several project setup items. Let's take a look at them. Project Strictly speaking, here refers to the general project settings, where you can configure the name, SDK, language level, compiler output path.
modules consist of modules for each project. Modules are functional discrete units that can be compiled, executed, debugged and tested independently.

The module contains everything you need for its specific tasks: source code, build scripts, unit tests, deployment descriptors, and files. A module can be a dependency of another module in the project.


Library

It is one of the module dependency types in IntelliJ idea, compiled code, a module can rely on an archive. A Java library, for example, can include class files, directories of files and class files, and directories with Java Native library files (. dll,. So, or. jnilib). aspects of each module can have multiple levels. Aspect is required by the IDE to provide framework-specific encoding assistance, such as: Web, Spring, persistence (persistent). Most of the cases are detected by the IDE automatically, but here you can manually configure them. component A component is the output you want to generate through your project. It can be a Java archive (JAR), a Web application archive (WAR), an Enterprise archive (EAR), and so on. When you use a build tool, the artifacts are automatically configured, otherwise they are manually configured in this section

For more information about the structure of the project, read the Project Structure dialog box or watch the project structure and configuration video tutorial.


Original: Project Configuration in a nutshell

Previous: IntelliJ idea's intelligent encoding function

Next post: Run your first Java application


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.