File copy as part of a build

Is there a way to configure the build for a module to copy a file from
one place to another? Do I have to define an artifact for a JAR to do this?

Thank you,


1 comment
Comment actions Permalink

If you want to copy a file to a module output directory you can put it under source roots and ensure that the file is accepted by 'Resource Patterns'
in Settings | Compiler. Otherwise you indeed need to configure an artifact.

Nikolay Chashnikov
Software Developer
JetBrains, Inc
"Develop with pleasure!"


Please sign in to leave a comment.