Bug 205832 - [Launcher] Publish the path to the native launcher
Summary: [Launcher] Publish the path to the native launcher
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.framework-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 205833
  Show dependency tree
 
Reported: 2007-10-09 13:18 EDT by Andrew Niefer CLA
Modified: 2007-11-12 14:40 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2007-10-09 13:18:34 EDT
Main currently consumes a -launcher argument that points to the location of the executable used to launch eclipse.  This used to be used to show the splash screen and set exit data, but now it not used for anything.

The value from this argument should be published in a property for others to see if they are interested.
Comment 1 Thomas Watson CLA 2007-10-10 09:13:55 EDT
See bug 204341 attachment 79090 [details]

This patch also uses the -launcher argument to set the osgi.install.area property.  I think this is a better approach than the current assumption which is to set it to one directory up from the org.eclipse.equinox.launcher jar but only if the launcher is contained in the "plugins" directory.
Comment 2 Andrew Niefer CLA 2007-10-12 13:44:50 EDT
bug 204341 sets osgi.install.area, but this would not be sufficient for those that want the name of the launcher exe itself.  We should define a second property, perhaps osgi.launcher? or org.eclipse.equinox.launcher.exe?
Comment 3 Thomas Watson CLA 2007-10-12 14:04:46 EDT
I agree.  I was pointing out another reason we would want to process the -launcher argument is to set the osgi.install.area but I agree we probably need another property set to indicate the launcher path.  For better or worse we have not used fully qualified org.eclipse.* properties.  Typically we use eclipse.* properties for eclipse specific properties.  I suggest "eclipse.launcher".
Comment 4 Andrew Niefer CLA 2007-11-12 14:40:14 EST
Done in head, property is eclipse.launcher