e4 Compatibility Layer

264 views
Skip to first unread message

Daniel Zimmermann

unread,
Apr 20, 2012, 6:42:38 AM4/20/12
to vog...@googlegroups.com
Hi everyone,

I don't get it: Every now and then, when I try to let my "old" 3.7 bases Application run within the compatibility layer of 4.2 I run into the same kind of Problems.
Simetimes I get them solved, sometimes (as today) I don't.

What I get:
java.lang.NoClassDefFoundError: org/eclipse/ui/plugin/AbstractUIPlugin

Where? On loading org.eclipse.ui.forms (BundleActivator):
Caused by: org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.forms.FormsPlugin for bundle org.eclipse.ui.forms is invalid

As far as I know, my dependecies are ok:


Naturally I've already added plugins neseccary for the compatibility part to my launch configuration, but still to no avail...

Do I miss something???

Daniel

vogella

unread,
Apr 20, 2012, 9:07:48 AM4/20/12
to vog...@googlegroups.com
Hi Daniel,

the product is leading, make sure you have all dependencies here maintained. You can use "Check Dependencies" to verify that. 

Best regards, Lars

Daniel Zimmermann

unread,
Apr 20, 2012, 9:53:28 AM4/20/12
to vog...@googlegroups.com
I tried to avoid that, since I had some trouble with this option in the past (2 years ago or so :-) ).
Even so, I did it and there was at least a little more success to it, since my custom Worskapce selection dialog opened. But in the further process (on selecting a workspace) it crashed immediatelly.
Damit! But I will go on!

Daniel Zimmermann

unread,
May 9, 2012, 8:51:57 AM5/9/12
to vog...@googlegroups.com
Hi,

the program is now up and running:
Beside to add the plugins I forgot (again) to press the "add required plugins" button within the product editor :-/

But there is something else odd now:

The toolbar icons from my ApplicationActionBarAdvisor are at the place, where the perspective bar would be, if I would have it activated (if I activate the perspective bar, the toolbar icons are still on the right side of it).

The other annoying thin is the "Nameless Window" - as you can see, the Title Area of the Window is empty resulting in a "Nameless Window" on my Unity top panel, when focused.
I tried to use my own version of a LegacyIDE.e4xmi, but it seams, it's never checked from within my plugin.xml

   <extension
         id="product"
         point="org.eclipse.core.runtime.products">
      <product
            application="com.mycompany.p2p.tracker.rcp.pfs.ssdtool.application"
            name="PFS Customer Platform">
         <property
               name="windowImages"
               value="icons/ipqlogo_16.gif,icons/ipqlogo_32.gif,icons/ipqlogo_64.gif,icons/ipqlogo_128.gif">
         </property>
         <property
               name="appName"
               value="PFS Customer Platform">
         </property>
         [...]
         <property
               name="applicationXMI"
               value="com.mycompany.p2p.tracker.rcp.pfs.ssdtool/LegacyIDE.e4xmi"><!-- <plugin-id>/<e4xmi-file> -->
         </property>
         <property
               name="cssTheme"
               value="org.eclipse.e4.ui.css.theme.e4_default">
         </property>
      </product>
   </extension>

and yes, I gave the TrimmedWindow a label:

 
I don't understand, why my settings seem to be ignored during the application startup.

Daniel

Lars Vogel

unread,
May 9, 2012, 5:52:33 PM5/9/12
to vog...@googlegroups.com
For general Eclipse 4 questions, please use the Eclipse e4 forum.


2012/5/9 Daniel Zimmermann <zim.d...@googlemail.com>

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/8HkP5ATOurgJ.

To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vogella?hl=en.



--
Lars
http://www.vogella.com - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
Reply all
Reply to author
Forward
0 new messages