xtext 2.8.4 and org.eclipse.e4.core.di.annotations [message #1705160] |
Wed, 12 August 2015 13:59 |
|
Hello All
I have xtext application that based on 2.7.3 version of Xtext. Today I downloaded latest xtext bundle fro official site of Xtext. This is eclipse mars + xtext 2.8.4.
My application crashed immediately after start. The main reason is unresolved links to org.eclipse.e4.core.di.annotations bundle. The bundle org.eclipse.e4.core.di.annotations is installed in eclipse distribution. Can anybody suggest the root reason of this issue.
I did the following
- I install new eclipse version
- create new workspace
- import all projects from old workspace to new workspace
- try to start via Product definition and application crasches
log has been attached
|
|
|
|
Re: xtext 2.8.4 and org.eclipse.e4.core.di.annotations [message #1705183 is a reply to message #1705166] |
Wed, 12 August 2015 16:14 |
|
Thank you for answer.
I try to add org.eclipse.e4.core.di.annotations bundle in to dependecies of all plugin that was mentioned in log and in to product configuration. To my regret it does not help. I see a lot of messages like
!ENTRY org.eclipse.ui.views.properties.tabbed 2 0 2015-08-12 19:05:30.143
!MESSAGE Could not resolve module: org.eclipse.ui.views.properties.tabbed [138]
Unresolved requirement: Require-Bundle: org.eclipse.ui.views; bundle-version="[3.2.0,4.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.ui.views; bundle-version="3.8.0.v20150422-0725"; singleton:="true"
org.eclipse.ui.views [136]
Unresolved requirement: Require-Bundle: org.eclipse.ui; bundle-version="[3.5.0,4.0.0)"
-> Bundle-SymbolicName: org.eclipse.ui; bundle-version="3.107.0.v20150507-1945"; singleton:="true"
org.eclipse.ui [153]
Unresolved requirement: Require-Bundle: org.eclipse.ui.workbench; bundle-version="[3.105.0,4.0.0)"; visibility:="reexport"
-> Bundle-SymbolicName: org.eclipse.ui.workbench; bundle-version="3.107.0.v20150510-1732"; singleton:="true"
org.eclipse.ui.workbench [87]
Unresolved requirement: Import-Package: org.eclipse.e4.core.commands
-> Export-Package: org.eclipse.e4.core.commands; bundle-symbolic-name="org.eclipse.e4.core.commands"; bundle-version="0.11.0.v20150422-0725"; version="0.0.0"; x-friends:="org.eclipse.e4.ui.bindings, org.eclipse.e4.ui.workbench, org.eclipse.e4.ui.workbench.renderers.swt, org.eclipse.ui.workbench, org.eclipse.e4.ui.workbench.swt, org.eclipse.e4.ui.progress, org.eclipse.e4.core.commands.tests"
org.eclipse.e4.core.commands [157]
Unresolved requirement: Import-Package: org.eclipse.e4.core.contexts
-> Export-Package: org.eclipse.e4.core.contexts; bundle-symbolic-name="org.eclipse.e4.core.contexts"; bundle-version="1.4.0.v20150421-2214"; version="0.0.0"
org.eclipse.e4.core.contexts [147]
Unresolved requirement: Require-Bundle: org.eclipse.e4.core.di
-> Bundle-SymbolicName: org.eclipse.e4.core.di; bundle-version="1.5.0.v20150421-2214"
org.eclipse.e4.core.di [121]
Unresolved requirement: Require-Bundle: org.eclipse.e4.core.di.annotations;
I suppose I did something wrong, but I don't know how to add this dependencies
|
|
|
|
Re: xtext 2.8.4 and org.eclipse.e4.core.di.annotations [message #1705191 is a reply to message #1705188] |
Wed, 12 August 2015 17:06 |
|
the following steps help me. May be it will be useful for other.
I've added the following plugins to product configuration
- org.tukaani.xz
- org.apache.commons.jxpath
- org.eclipse.e4.emf.xpath
- org.eclipse.e4.core.di.annotations
- org.eclipse.xtext.ide
also I've marked these plugin in Run Configuration in plugin tab
then application start without problem
|
|
|
|
Re: xtext 2.8.4 and org.eclipse.e4.core.di.annotations [message #1705248 is a reply to message #1705200] |
Thu, 13 August 2015 09:36 |
|
Thanks for advise.
I have a misunderstanding about dependencies configuration. We have dependencies in product file and in each plugin.xml file for each product.
My question is
Dependencies from product file are inherited in other plugin in project?
or other hand
Shall user add the same Dependencies in both kind of file?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03555 seconds