Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: This is a bug for tracking packages that violate Java packaging guidelines[1] by installing JAR files into non-standard directories. According to Java packaging guidelines[1] all architecture-independent JAR files MUST go into %{_javadir} or a Java-version specific directory %{_javadir}-* as appropriate and JAR files using JNI or containing JNI shared objects themselves MUST be placed in %{_jnidir}. If JAR were put into some non-standard directory for technical reasons then these JARs should be moved to proper locations (as described in the guidelines[1]) and symbolic links can be placed in the previous location. Additional info: [1] http://fedoraproject.org/wiki/Packaging:Java [2] http://fedoraproject.org/wiki/Packaging:Guidelines
I was aware that separate Eclipse guideline existed, but I was not aware that it was part of the official packaging guideline. Eclipse guideline says packages "should" install JARs into Eclipse-specific directories, but Java packaging guidelines says that these JARs must be installed into other directories. This is a conflict. Now I believe that this conflict should be solved using "lex specialis derogat legi generali" rule, which puts Eclipse guideline before Java guideline.