[jbosstools-issues] [JBoss JIRA] (JBDS-4184) Can't update/install plugins

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


    [ https://issues.jboss.org/browse/JBDS-4184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13324029#comment-13324029 ] 

Nick Boldt commented on JBDS-4184:
----------------------------------

The snapshots site should not be listed by default - only the stable site appears OOTB. So this is intentional.

As to why Eclipse is broken on restart, it's because you installed features you shouldn't have, which drag in dependencies which are already installed via RPM and which therefore conflict:

{code}
ll .eclipse/org.eclipse.platform*_linux_gtk_x86_64/{plugins,features}
.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/plugins:
total 932K
-rw-rw-r-- 1 nboldt nboldt  34K Nov 16 13:19 org.slf4j.api_1.7.2.v20121108-1250.jar
-rw-rw-r-- 1 nboldt nboldt  95K Nov 16 13:19 org.apache.xml.resolver_1.2.0.v201005080400.jar
-rw-rw-r-- 1 nboldt nboldt 292K Nov 16 13:19 org.apache.commons.lang_2.6.0.v201404270220.jar
-rw-rw-r-- 1 nboldt nboldt 288K Nov 16 13:19 org.apache.xml.serializer_2.7.1.v201005080400.jar
-rw-rw-r-- 1 nboldt nboldt 217K Nov 16 13:19 org.jboss.tools.usage_2.2.2.v20161027-1538.jar

.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64/features:
total 12K
drwxrwxr-x 3 nboldt nboldt 4.0K Nov 16 13:19 com.jboss.devstudio.core.rpmdeps.feature_10.2.0.v20160902-1312
drwxrwxr-x 3 nboldt nboldt 4.0K Nov 16 13:19 com.jboss.devstudio.core.feature_10.2.0.v20161116-1258
drwxrwxr-x 3 nboldt nboldt 4.0K Nov 16 13:19 org.jboss.tools.usage.feature_2.2.2.v20161027-1538
{code}

Dupe plugins:

* /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/linuxtools-docker/eclipse/plugins/slf4j.api_1.7.4.jar (newer)
* /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/webtools-sourceediting/eclipse/plugins/org.apache.xml.resolver_1.2.0.v200806030312.jar (older)
* /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/mylyn-commons/eclipse/plugins/org.apache.commons.lang_2.6.0.jar (???)
* /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/webtools-javaee/eclipse/plugins/org.apache.xml.serializer_2.7.1.v200806030322.jar (older)
* /opt/rh/rh-eclipse46/root/usr/share/eclipse/droplets/usage/eclipse/plugins/org.jboss.tools.usage_2.2.1.v20161026-1707.jar (older)

So, you should be installing only the rpm.feature, not the rpmdeps.feature.

But why it's not available as an update is... an excellent question. 

> Can't update/install plugins
> ----------------------------
>
>                 Key: JBDS-4184
>                 URL: https://issues.jboss.org/browse/JBDS-4184
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: rpm
>    Affects Versions: 10.2.0.GA
>         Environment: RHEL 7
>            Reporter: Lukáš Valach
>         Attachments: rh-eclipse46-devstudio10.2.log.20161113.1010_update.txt, rh-eclipse46-devstudio10.2.log.20161116.1305_update_2.txt
>
>
> I tried "Check for Updates" in DevStudio 20161116.1305 and 20161113.1010. I used this update site:
> [1] https://devstudio.redhat.com/10.0/snapshots/updates/
> Eclipse was not able to detect any updates (I got "No updates were found" message).
> Then I tried to install plugins using "Install new software".
> Install new software->select Bring Your Own Eclipse->next->restart
> Eclipse didn't detect any problems or conflicts during installation but after restart I got a lot of errors and eclipse didn't start.
>  [^rh-eclipse46-devstudio10.2.log.20161116.1305_update_2.txt] 
>  [^rh-eclipse46-devstudio10.2.log.20161113.1010_update.txt] 
> I also noticed there isn't update site [1] by default after installation. I had to add it.



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



More information about the jbosstools-issues mailing list