IntelliJ: how to make non java files copied to the bin directory as well?

前端 未结 4 1554
失恋的感觉
失恋的感觉 2020-12-08 16:02

My module contains some non java files along the java source files. When the module is built, the java files are copied to the bin folder (and included in the jar artifact),

4条回答
  •  独厮守ぢ
    2020-12-08 16:37

    Settings (Preferences on Mac) | Compiler | Resource Patterns.

    This question duplicates/relates to:

    • copy jbehave stories into target directory using IntelliJ Idea
    • IntelliJ, Akka and Configuration files
    • IntelliJ IDEA 11.1.2 does not copy SQL files to the out folder
    • Add a properties file to IntelliJ's classpath
    • import images into an intelliJ Java project
    • Intellij - how do I add a text file to the resources
    • Null Pointer Exception for read properties file in Idea
    • IntelliJ Idea - resource SQL files not being copied to target
    • Scala getClass.getResource() returning null

提交回复
热议问题