Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA 11.1.2 does not copy SQL files to the out folder

I am using IntelliJ IDEA 11.1.2 Ultimate with Gradle 1.0 multi module project. One module represents the domain. module structure

The projects output is points to [project-root]\out. But if I run a unit test the output folder of the domain module does not contain any .sql files at all. Output folder of domain. This is how I run the JUnit test within IntelliJ IDEA Test configuration.

If I run the project using Gradle from command line everything works fine.

IDEA project structure

like image 664
saw303 Avatar asked Jun 19 '12 12:06

saw303


1 Answers

Settings | Compiler | Resource Patterns, add the pattern for the sql extension.

like image 94
CrazyCoder Avatar answered Nov 15 '22 10:11

CrazyCoder