]
Nick Boldt resolved JBDS-4183.
------------------------------
Assignee: Nick Boldt
Resolution: Done
Installing from an update site into rpm install causes duplicate IUs
to be installed - use constraint violations ensue
----------------------------------------------------------------------------------------------------------------------
Key: JBDS-4183
URL:
https://issues.jboss.org/browse/JBDS-4183
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: rpm
Affects Versions: 10.2.0.AM3
Reporter: Nick Boldt
Assignee: Nick Boldt
Priority: Blocker
Fix For: 10.2.0.GA
Attachments: install-thym.png,
rh-eclipse46-devstudio10.2.log.20161116-1226_strict.txt
Steps to repro:
1. install from latest rpm, eg., 10.2.0.20161116.1342.el7
2. open Central > Software/Update, scroll down until you find the *Maven Integration
for Eclipse JDT APT (m2e-apt)* connector
3. Install it. When prompted to restart, shut down Eclipse and check in your ~/.eclipse
folder:
{code}
$➔ ll ~/.eclipse/org.eclipse.platform_*_linux_gtk_x86_64/plugins/
total 36K
-rw-rw-r-- 1 nboldt nboldt 34K Nov 16 10:54 org.slf4j.api_1.7.2.v20121108-1250.jar
{code}
But this plugin is already installed here:
{code}/opt/rh/rh-java-common/root/usr/share/java/slf4j/slf4j-api.jar
/opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/egit-mylyn/eclipse/plugins/slf4j.api_1.7.4.jar{code}
So even though the connector install doesn't install any new m2e-apt stuff (it's
already installed too):
{code}
/opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.ui_1.3.0.201610261805.jar
/opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.core_1.3.0.201610261805.jar
/opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/features/org.jboss.tools.maven.apt.feature_1.3.0.201610261805
{code}
... the result of this install is to cause use constrain violations and break the
devstudio install.
A bigger problem occurs in JBDS-4150 when installing Thym or Aerogear features, since a
second version of org.apache.httpcomponents.httpclient_4.3.6.v201511171540.jar is
installed even though there's already one in the /opt/rh/ install footprint.