Bug 923304 - eclipse-mylyn: JAR files are installed into wrong directories
Summary: eclipse-mylyn: JAR files are installed into wrong directories
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-mylyn
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Krzysztof Daniel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 923270
TreeView+ depends on / blocked
 
Reported: 2013-03-19 15:29 UTC by Mikolaj Izdebski
Modified: 2014-01-13 00:27 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description Mikolaj Izdebski 2013-03-19 15:29:11 UTC
Description of problem:
eclipse-mylyn-versions-subclipse package is installing JAR files into wrong locations.

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}.
eclipse-mylyn package violates that guidelines by installing
JAR files into other directories.

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.

Besides eclipse-mylyn-versions-subclipse, 18 other binary packages built from
eclipse-mylyn source package seem to install files into wrong location.
The full list is is:
  * eclipse-mylyn
  * eclipse-mylyn-builds
  * eclipse-mylyn-builds-hudson
  * eclipse-mylyn-context-cdt
  * eclipse-mylyn-context-java
  * eclipse-mylyn-context-pde
  * eclipse-mylyn-context-team
  * eclipse-mylyn-docs-epub
  * eclipse-mylyn-docs-htmltext
  * eclipse-mylyn-docs-wikitext
  * eclipse-mylyn-ide
  * eclipse-mylyn-sdk
  * eclipse-mylyn-tasks-bugzilla
  * eclipse-mylyn-tasks-trac
  * eclipse-mylyn-tasks-web
  * eclipse-mylyn-versions
  * eclipse-mylyn-versions-cvs
  * eclipse-mylyn-versions-git
  * eclipse-mylyn-versions-subclipse

I am not going to attach the full list of JAR files,
but this list can be obtained using repoquery:

  repoquery --repoid rawhide -l eclipse-mylyn eclipse-mylyn-builds eclipse-mylyn-builds-hudson eclipse-mylyn-context-cdt eclipse-mylyn-context-java eclipse-mylyn-context-pde eclipse-mylyn-context-team eclipse-mylyn-docs-epub eclipse-mylyn-docs-htmltext eclipse-mylyn-docs-wikitext eclipse-mylyn-ide eclipse-mylyn-sdk eclipse-mylyn-tasks-bugzilla eclipse-mylyn-tasks-trac eclipse-mylyn-tasks-web eclipse-mylyn-versions eclipse-mylyn-versions-cvs eclipse-mylyn-versions-git eclipse-mylyn-versions-subclipse | grep '\.jar$' | grep -v /usr/share/java | grep -v /usr/lib/java

Version-Release number of selected component (if applicable):
3.9.0-0.1.gitf9e1cd

Additional info:
[1] http://fedoraproject.org/wiki/Packaging:Java
[2] http://fedoraproject.org/wiki/Packaging:Guidelines

Comment 1 Mikolaj Izdebski 2013-03-19 15:59:55 UTC
I was not aware that the separate Eclipse guidelines was officially
approved packaging guidelines. See comment in bug#923270 for more details.

Because of the above I am closing this bug now.


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