Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP works in Eclipse fails after build(After a build, none of my views have their @PostConstruct methods called)
RCP works in Eclipse fails after build [message #1809624] Fri, 19 July 2019 04:02 Go to next message
Jonathan Masters is currently offline Jonathan MastersFriend
Messages: 2
Registered: July 2019
Junior Member
I have eclipse product. In the product editor, I can launch the eclipse application and it works exactly as I expect. When I cleanly export the product and run the resulting launcher, the product launches with no errors, but all the views are blank.

I can verify that the constructor for the views is called, but the @PostConstruct method is not. As a result, the application is only partially rendered. With no errors, I am at a loss (after a significant time and effort trying different launch options, and configurations) to know how or where to investigate further.

This seems tied in with org.apache.felix.scr. This product has been moved to Eclipse version 2019-06 (4.12.0), and is being built under Windows 10. I've had a lot of difficulty getting this far since my previous configurations used org.eclipse.equinoxe.ds. None of which I clearly understand, except that I'm becoming aware that these injection problems seem to be related to start levels etc.

Any other outputs or tests, I am keen to post.

Re: RCP works in Eclipse fails after build [message #1811019 is a reply to message #1809624] Fri, 23 August 2019 17:47 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

Hey Jonathan,

It is very easy. Just open your product file and go to the Configuration tab. There you will find the Start Level section. Click on the "Add Recommended" button. This will set the correct start levels.

Another common mistake when using product exports is not including all required plugins. For that, go to the Contents tab and press "Add required plug-ins".

Another common mistake when using product exports is not ticking all artificats on the file. Especially images and jars need to be added manually.

Hope this helps,


Previous Topic:Additional plugins as required plugins
Next Topic:Can strings in introContent be externalized?
Goto Forum:

Current Time: Tue May 28 14:09:38 GMT 2024

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

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

Back to the top