This bug becose ANT task jar have attribute filesonly="true", resources.jar
haven't directories ZIP entries, only files. Therefore file resources.jar
must have directories entries too.
How to fix:
Copy %IDEA_HOME%/lib/resources.jar into empty temp directory.
Execute in this directory follow command:
%JAVA_HOME%/bin/jar -xf resources.jar
Execute follow command:
%JAVA_HOME%/bin/jar -cvfM resources.jar *
Overwrite %IDEA_HOME%/lib/resources.jar by this one.