How do I tell Idea which files to copy from my resources' directory?

I had added a source directory containing images, properties and etc. But I noticed that Idea doesn't copy .ttf (font) files. Is there any way to tell Idea to copy them too?

1 comment

In Settings (File | Settings or ctrl+alt+S or the wrench icon on the main toolbar), under Project Settings, select the "Compiler" parent node. In the dialog you will see a place to set Resource patterns. Add ?*.ttf to the semi-colon delimited list.

If you want any new projects to default to including ttf files, also make the setting in the Template Project Setting screen by going to File | Other Settings | Template Settings

0

Please sign in to leave a comment.