How to copy resource files to java compiler output dir

Hi, I have a set of .res files in the source dir, but after java compilation .res files are not copied to classes dir.
Is it possible to fix it?
Thanks.

0
Avatar
Permanently deleted user

Hi Alexey,

You need to configure resource patterns accordingly.

Denis

0

Denis, thanks for your lightning speed help :)

0
Avatar
Permanently deleted user

Hmm, I'm really amazed...:O Pardon but it's doesn't work for me (intellij 11.1.3 on MacOSx 10.6.8)

I've specified Project Settings-> Compiler-> Resource patterns like "*.ini".
Now I'm trying to compile/package some ini resources located in source folder of my project module.
Seems everything's ok (see the snapshot)

, but these resources are absent inside the module output folder...

I'm forсed to build the module via Maven or to copy resources manually :(

Probably i'm doing something wrong... any comments will be appreciated
Thanks a lot.



Attachment(s):
snapshot.jpg
0

请先登录再写评论。