Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327707 - need easy way to create console executable
Summary: need easy way to create console executable
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 482470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-13 15:04 EDT by Jeff McAffer CLA
Modified: 2022-10-26 05:04 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff McAffer CLA 2010-10-13 15:04:38 EDT
The standard Eclipse executable runs a windowing oriented setup.  Even if you spec -console, on many systems you do not get a text console window.  In the Eclipse platform builds we have some special tricks for example, on the mac we create a symbolic link from "eclipse" to /Eclipse.app/Contents/Macosx/eclipse (or some such).  There is not however a generic easy to use way for RCP and Equinox developers to do these things.  Looking at the Mac situation with linking, the possible mechanisms are

- Create a feature that has a root.macosx.link statement.  Unfortunatly, a) there is a bug in p2 that requires some extra tricks and b) the link names are not branded according to the .product executable naming so you need a different feature for every product.

- use p2.inf files to create the link.  This works but a) requires users to dive into the arcane p2.inf format and b) the inf file directives are not branded according to the .product executable naming so you need a different p2.inf (and dir structure) for every product.

There are also similar problems on Windows where you need the equivalent of eclipsec.exe. There you have to spec that as a root file and then it is not renamed, ... 

Really there should be a check box that says, "include console launcher" and the right thing should be done for the platform at hand.
Comment 1 Jeff McAffer CLA 2010-12-16 10:12:29 EST
see also  Bug 332714
Comment 2 Jan Sievers CLA 2016-12-13 08:25:44 EST
*** Bug 482470 has been marked as a duplicate of this bug. ***