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.

3 comments
Comment actions Permalink

Hi Alexey,

You need to configure resource patterns accordingly.

Denis

0
Comment actions Permalink

Denis, thanks for your lightning speed help :)

0
Comment actions Permalink

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

Please sign in to leave a comment.