IntelliJ IDEA 11.1.2不会将SQL文件复制到out文件夹 [英] IntelliJ IDEA 11.1.2 does not copy SQL files to the out folder
问题描述
我正在使用IntelliJ IDEA 11.1.2 Ultimate和Gradle 1.0多模块项目。一个模块代表域。
项目输出指向 [project-root] \out。但是,如果我运行单元测试,则域模块的输出文件夹根本不包含任何.sql文件。 。这是我在IntelliJ IDEA中运行JUnit测试的方式。 如果我使用Gradle从命令行运行项目,一切正常。 I am using IntelliJ IDEA 11.1.2 Ultimate with Gradle 1.0 multi module project. One module represents the domain. 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. . This is how I run the JUnit test within IntelliJ IDEA . If I run the project using Gradle from command line everything works fine. 这篇关于IntelliJ IDEA 11.1.2不会将SQL文件复制到out文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
设置
| 编译器
| 资源模式
,添加 sql
扩展名的模式。Settings
| Compiler
| Resource Patterns
, add the pattern for the sql
extension.