How to create / from a directory appears in a project (cannot include it)?

I am using IDEA 12. I cannot include the /out directory in my project.

I tried Project Structure -> Modules -> MyModule -> Sources , and then click Exclude , but nothing happens. The /out directory is still excluded and red .

Is this a mistake or am I mistaken?

Screenshot

I cannot deselect Exclude to include the folder.

+4
source share
2 answers

Looks like a specific Android bug, I created a new problem, I will vote:

  • IDEA-97776 The output is excluded from the project view regardless of the "excluded folders" and "exclude output paths" parameters
0
source

Exclude Output Paths on the Paths tab refers to the output path of the module . Project output specified in file | Project structure | Project | "Project compiler output" is always excluded. If you really need to enable it, you can do the following:

  • Go to the tab "Use module compilation path" on the "Contours" tab for all modules.
  • Select the Project element in the left list and clear the Project Compiler Output field.
  • Re-run the project.

After that, the "out" directory should become visible in the "Project View". However, I recommend that you manually exclude the output subdirectories of the module on the Sources tab. Otherwise, IDEA may rescan and re-output the output files generated by the compiler after each compilation, and this can lead to performance problems.

+2
source

All Articles