Bug 923270 - Tracking bug for packages installing JAR files into wrong directories
Summary: Tracking bug for packages installing JAR files into wrong directories
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Bill Nottingham
URL:
Whiteboard:
Depends On: 923273 923274 923275 923276 923277 923278 923279 923280 923281 923282 923283 923284 923286 923287 923288 923289 923291 923292 923293 923294 923295 923296 923297 923298 923299 923300 923301 923302 923303 923304 923305 923306 923307 923308 923309 923310 923311 923312 923313 923314 923315 923316 923317 923318 923319 923320 923321 923322 923323 923324 923325 923326 923327 923328 923329 923330 923331
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-19 15:25 UTC by Mikolaj Izdebski
Modified: 2014-03-17 03:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-19 15:55:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikolaj Izdebski 2013-03-19 15:25:40 UTC
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

Comment 1 Mikolaj Izdebski 2013-03-19 15:55:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.