[jbosstools-issues] [JBoss JIRA] (JBDS-4183) Installing from an update site into rpm install causes duplicate IUs to be installed - use constraint violations ensue

Nick Boldt (JIRA) issues at jboss.org
Wed Nov 16 11:01:00 EST 2016


Nick Boldt created JBDS-4183:
--------------------------------

             Summary: 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


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{code}

So even though the connector install doesn't install any new m2e-apt stuff (it's already installed too):

{code}
./rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.ui_1.3.0.201610261805.jar
./rh-eclipse46/root/usr/share/eclipse/droplets/devstudio/eclipse/plugins/org.jboss.tools.maven.apt.core_1.3.0.201610261805.jar
./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.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list