[jbosstools-issues] [JBoss JIRA] (JBDS-4394) Add requirement rh-java-common-google-gson

Lukáš Valach (JIRA) issues at jboss.org
Thu Jun 1 02:57:00 EDT 2017


     [ https://issues.jboss.org/browse/JBDS-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Valach closed JBDS-4394.
------------------------------


Fixed, thanks!

> Add requirement rh-java-common-google-gson
> ------------------------------------------
>
>                 Key: JBDS-4394
>                 URL: https://issues.jboss.org/browse/JBDS-4394
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Task
>          Components: build, rpm
>    Affects Versions: 11.0.0.AM1
>            Reporter: Lukáš Valach
>            Assignee: Nick Boldt
>             Fix For: 11.0.0.AM1
>
>
> Add requirement rh-java-common-google-gson to the RPM spec file \[1\].
> \[1\] https://github.com/jbdevstudio/jbdevstudio-product/blob/master/rpm/devstudio.spec.template#L48
> ----
> *Reason:*
> After update form Devstudio 10.2 to 10.4 I had this error in the eclipse log:
> {code}
> !ENTRY org.eclipse.jgit.pgm 4 0 2017-05-12 14:03:44.808
> !MESSAGE FrameworkEvent ERROR
> !STACK 0
> org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jgit.pgm [231]
>   Unresolved requirement: Import-Package: org.eclipse.jgit.lfs.server.fs; version="[4.6.1,4.7.0)"
>     -> Export-Package: org.eclipse.jgit.lfs.server.fs; bundle-symbolic-name="org.eclipse.jgit.lfs.server"; bundle-version="4.6.1.201703071140-r"; version="4.6.1"; uses:="javax.servlet,  javax.servlet.http,  org.eclipse.jgit.lfs.server,  org.eclipse.jgit.lfs.lib"
>        org.eclipse.jgit.lfs.server [230]
>          Unresolved requirement: Import-Package: com.google.gson; version="[2.2.4,3.0.0)"
>   Unresolved requirement: Import-Package: org.eclipse.jgit.lfs.server; version="[4.6.1,4.7.0)"
>     -> Export-Package: org.eclipse.jgit.lfs.server; bundle-symbolic-name="org.eclipse.jgit.lfs.server"; bundle-version="4.6.1.201703071140-r"; version="4.6.1"; uses:="javax.servlet.http,  org.eclipse.jgit.lfs.lib"
> ...
> ...
> !ENTRY org.eclipse.wst.jsdt.js.node 4 0 2017-05-12 14:03:46.661
> !MESSAGE FrameworkEvent ERROR
> !STACK 0
> org.osgi.framework.BundleException: Could not resolve module: org.eclipse.wst.jsdt.js.node [653]
>   Unresolved requirement: Require-Bundle: com.google.gson; bundle-version="[2.2.4,3.0.0)"
> {code}
> Steps to reproduce:
> # Disable RHSCL 2.4 and Devstudio snapshot repo
> # Add RHSCL 2.3 and Devstudio stable repo
> # yum remove rh-*
> # yum install rh-eclipse46-devstudio (should install 10.2.0.GA)
> # check if eclipse works (I had no errors in the log)
> # Disable RHSCL 2.3 and Devstudio stable repo
> # Enable RHSCL 2.4 and Devstudio snapshot repo
> # rm -rf ~/.eclipse
> # Start the Eclipse with -clean
> # There should be error I mentioned above. I didn't see any impact to users, egit worked fine.
> # sudo yum update "rh-*"
> {code}
> Updating:
>  rh-java-common-google-gson                                  noarch                    2.2.4-1.el7                          rh-eclipse46-build                    177 k
>  rh-java-common-javapackages-tools                           noarch                    4.3.2-1.14.el7                       rh-eclipse46-build                     95 k
>  rh-java-common-lucene5                                      noarch                    5.4.1-2.3.el7                        rh-eclipse46-build                    2.2 M
>  rh-java-common-lucene5-analysis                             noarch                    5.4.1-2.3.el7                        rh-eclipse46-build                    1.3 M
>  rh-java-common-lucene5-analyzers-smartcn                    noarch                    5.4.1-2.3.el7                        rh-eclipse46-build                    3.4 M
>  rh-java-common-lucene5-queries                              noarch                    5.4.1-2.3.el7                        rh-eclipse46-build                    211 k
>  rh-java-common-lucene5-queryparser                          noarch                    5.4.1-2.3.el7                        rh-eclipse46-build                    339 k
>  rh-java-common-lucene5-sandbox                              noarch                    5.4.1-2.3.el7                        rh-eclipse46-build                    246 k
>  rh-java-common-python-javapackages                          noarch                    4.3.2-1.14.el7                       rh-eclipse46-build                     87 k
>  rh-maven33-runtime      
> {code}
> # Restart Eclipse, it will start without errors.



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



More information about the jbosstools-issues mailing list