Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtext 2.8.4 and org.eclipse.e4.core.di.annotations(Application imported to 2.8.4 does not started)
xtext 2.8.4 and org.eclipse.e4.core.di.annotations [message #1705160] Wed, 12 August 2015 13:59 Go to next message
Alex Gor is currently offline Alex GorFriend
Messages: 159
Registered: November 2014
Location: Russia
Senior Member
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 #1705166 is a reply to message #1705160] Wed, 12 August 2015 14:34 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

I suspect that your product definition needs updating to avoid excluding
some Mars bundles.

Regards

Ed Willink

On 12/08/2015 14:59, Alex Gor wrote:
> 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 Go to previous messageGo to next message
Alex Gor is currently offline Alex GorFriend
Messages: 159
Registered: November 2014
Location: Russia
Senior Member
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 #1705188 is a reply to message #1705183] Wed, 12 August 2015 16:36 Go to previous messageGo to next message
Alex Gor is currently offline Alex GorFriend
Messages: 159
Registered: November 2014
Location: Russia
Senior Member
from other hands. Are there correct way to migration from 2.7.x (Luna) to 2.8.x+ Mars?
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 Go to previous messageGo to next message
Alex Gor is currently offline Alex GorFriend
Messages: 159
Registered: November 2014
Location: Russia
Senior Member
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 #1705200 is a reply to message #1705191] Wed, 12 August 2015 18:37 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

I don't use *.product's much but I think you are making very heavy
weather of a simple problem..

What is wrong with the "Add Required Plugins" button?

Regards

Ed Willink


On 12/08/2015 18:06, Alex Gor wrote:
> 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 Go to previous messageGo to next message
Alex Gor is currently offline Alex GorFriend
Messages: 159
Registered: November 2014
Location: Russia
Senior Member
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?
Re: xtext 2.8.4 and org.eclipse.e4.core.di.annotations [message #1705250 is a reply to message #1705248] Thu, 13 August 2015 09:43 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

I don't really understand your question, but to me over-specifying
dependencies everywhere is a disaster, you have to keep updating them
everywhere, and of course forget.

Specify your dependencies in as few places as possible, but in at least
as many places as necessary.

Regards

Ed Willink


On 13/08/2015 10:36, Alex Gor wrote:
> 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?
Previous Topic:Rename fails after setting name as Ekey
Next Topic:xtext 2.8.4 and org/eclipse/xtext/ui/shared/SharedStateModule
Goto Forum:
  


Current Time: Thu Apr 25 01:56:25 GMT 2024

Powered by FUDForum. Page generated in 0.03555 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top