Intellij excludes file from compilation

I am trying to exclude from compilation a specific file in my project.

According to the Intellij IDEA documentation, you do this by "marking the file as plain text."

However, the context menu in the project view, where this functionality is supposedly located, does not have such an effect. I am using Intellij version 13.02. This is what my context menu looks like:

enter image description here

+8
source share
2 answers

Under File> Settings> Build, Run, Deploy> Compiler> Exclude, add an entry.

enter image description here

Any attempt to run the path indicated here will lead to ClassNotFoundException, as well as a very important class indicator.

enter image description here

+17

(, ), , (.java) ()... , , , .

, .htm,.xml , , " ".

: , " " / , . Messages Make shortcut

+5

Source: https://habr.com/ru/post/1530909/


All Articles