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?
Please sign in to leave a comment.
Settings -> Project Settings -> Compiler -> Resource patterns
Ray DeCampo wrote:
Thanks that is working (as you knew it would)
please provide solution or image.
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.