Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314569 - unbranded 'Hello RCP' app does not run outside eclipse
Summary: unbranded 'Hello RCP' app does not run outside eclipse
Status: RESOLVED DUPLICATE of bug 278598
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 16:27 EDT by Ankur Sharma CLA
Modified: 2010-05-27 15:45 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ankur Sharma CLA 2010-05-26 16:27:44 EDT
1. Create a plug-in project using Hello RCP template. Do not select 'Add branding' checkbox.
2. Run the app and verify the RCP window appears. (This step is just to create the run config)
3. Create a Product Definition for this app in the same plug-in.
4. Create a new Product using Product Definition section on Overview page.
5. Export the app using this product definition.

Run the app from outside Eclipse. It throws Exceptions which can be found in log files in the configuration folder.

The app runs fine if the branding was selected during project creation.
Comment 1 Ankur Sharma CLA 2010-05-26 17:02:55 EDT
If this bug is correct, then RCP cheatsheet will need rework too.
Comment 2 Darin Wright CLA 2010-05-26 22:38:01 EDT
If you created the product definition from the existing launch configuration, you are probably seeing bug 278598. On the "Launching" tab, check your Program arguments... if they include variables like ${os}, this will not work. 

I was able to define a product and had the exported product launch with no errors once I corrected the program arguments.
Comment 3 Darin Wright CLA 2010-05-26 22:39:26 EDT
(In reply to comment #2)
> . On the "Launching" tab, check your Program
> arguments

i.e the product definition Launching tab.
Comment 4 Ankur Sharma CLA 2010-05-27 15:42:45 EDT
you are right. will try to fix it for 3.6.1 now. Not updating the RCP CS for it.
Comment 5 Darin Wright CLA 2010-05-27 15:45:27 EDT
Thanks, marking as dup.

*** This bug has been marked as a duplicate of bug 278598 ***