Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Different behavior between BUILD and eclipse run.
Different behavior between BUILD and eclipse run. [message #1387956] Wed, 25 June 2014 20:50
Thomas Zwickl is currently offline Thomas ZwicklFriend
Messages: 33
Registered: May 2014
Hello together,

I recently have encountered a really strange problem in my RCP application.
But as first some background information about my RCP application.
It's a RCP application based on eclipse 3.x and consists of several perspectives with each containing a few views and editors.

The problem is when I run my application within eclipse via the run product button everything works as expected. When I open my perspective all my views and editors are correctly displayed.
But now comes the strange part when I create a build of my application with Maven and start this application my default perspective opens as normal and also displays all my views and editors as expected. But when I want to open my other perspectives then the perspective opens but don't display either views nor editors. All that I can see is a gray background and that's all.

I defined my perspective in my application as following:

public class ServiceManagerPerspective implements IPerspectiveFactory {
     * The perspective ID as specified in the extension.
    public final static String ID = "****";

    public void createInitialLayout(final IPageLayout layout) {
        final String editorArea = layout.getEditorArea();

        final IFolderLayout serviceManagerFolder = layout.createFolder("ServiceManager", IPageLayout.LEFT, 0.25f, editorArea);

So what do you think what could cause this strange behavior? I really tried out everything I could think off, but without success.
I can't grasp what's so different between running the application as a build or as a product in eclipse.
Hopefully someone can enlighten me Smile

Best regards,
Previous Topic:RCP compilation
Next Topic:Strange workspace switching behaviour under Windows
Goto Forum:

Current Time: Wed Oct 14 04:12:45 GMT 2015

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

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