Copy files on compile

Answered

IDEA already will copy some files into the output directory upon compile, e.g. properties files.  However, I have a .wsdl file in a package source directory I would like to be copied to the output location with the class files.  IDEA some not seem to copy the .wsdl file.  If I change it to be a .xml file, it gets copied.  Is there a setting somewhere I am missing?

4 comments

Settings -> Project Settings -> Compiler -> Resource patterns

Ray DeCampo wrote:

IDEA already will copy some files into the output directory upon compile, e.g. properties files. However, I have a .wsdl file in a package source directory I would like to be copied to the output location with the class files. IDEA some not seem to copy the .wsdl file. If I change it to be a .xml
file, it gets copied. Is there a setting somewhere I am missing?

---
Original message URL: http://www.jetbrains.net/devnet/message/5241887#5241887

0

Thanks that is working (as you knew it would)

0

please provide solution or image.

0

See below. Note that the default patterns exclude files that are not copied. It's also not applied to Gradle and Maven projects where the copy rules are defined by the underlaying project model.

0

Please sign in to leave a comment.