Tycho build has different runtime behavior as the Run Configuration [message #907984] |
Tue, 04 September 2012 13:56  |
Thomas Kölling Messages: 45 Registered: December 2011 Location: Munich |
Member |
|
|
Hey Guys,
i have a curious problem with my e4 tycho build here. A month ago, i've set up a tycho build for our e4 application, which works fine. After this month of developing the product inside eclipse, i've build the product with maven (tycho) again. The build was fine, but the runtime behavior is different.
The product itself has a main plugin with an Application.xmi and a Plugin, which contributes a second Window in a fragment.xmi to the Model at startup (like in Lars Vogel's excellent tutorial: http://www.vogella.com/articles/Eclipse4Modularity/article.html#contributefragments_model).
I've tried to compare the product file (which is relevant for tycho) with the Run Configuration Settings from the Eclipse IDE, without any success. In the Eclipse Build, the second window pops up, in the Tycho Build the EModelService does not find the Second Window. I've created for each Bundle an Activator, in both builds the Bundles start correctly.
Is there a Bundle which i potentially missed in the Tycho product file? (e.g. one which merges the EMF Modelfragment at startup) Or any other suggestions?
greetings Thomas
|
|
|
|
|
Re: Tycho build has different runtime behavior as the Run Configuration [message #908394 is a reply to message #908388] |
Wed, 05 September 2012 10:01   |
Thomas Kölling Messages: 45 Registered: December 2011 Location: Munich |
Member |
|
|
Sopot Cela wrote on Wed, 05 September 2012 05:48The first thing that comes to my mind is that maybe you have some same plugin modified in your workspace and also on the target platform and maybe Eclipse picks the one on the workspace and tycho the one in the target ignoring the one in the workspace.
Just a random thought though.
Hi Sopot,
To exclude this potential error, I use a dedicated and shared target platform. Tycho reads and use this target platform and eclipse use the same too. Except the "main" Plugins .. I should check the maven build settings..
[Updated on: Wed, 05 September 2012 10:03] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02999 seconds