IDEA 8.1 Package File missing for .properties

After upgrading to IDEA 8.1 (build #9732) it seems that the option "Package file" is gone for .properties files which are part of a web module. Is anyone else experiencing this ?

Cheers

3 comments
Comment actions Permalink

Hello.

Please, make sure that your properties file is under a web resource directory of a web facet.

Alexander.

0
Comment actions Permalink

Hi,

I do have a web module with a web facet. However, the properties files which I'm referring to, are placed together with the .java files of the web module (they are actually Struts2 resource bundles).

So basically these files should be copied to WEB-INF/classes when packaging them (this worked in 8.0 for example), rather than being treated as per-se web resources.

Thanks

0
Comment actions Permalink

No, you have to make "Package File work" even for files that are not in a web resource directory.
Please fix this bug in a timely manner: http://www.jetbrains.net/jira/browse/IDEA-21975
It is highly annoying.

All files that are in a source root and match a configured compiler resource pattern should have the "Package File" enabled.
IIRC this used to work even in recent EAP builds before the 8.1 release.

0

Please sign in to leave a comment.