Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 205832

Summary: [Launcher] Publish the path to the native launcher
Product: [Eclipse Project] Equinox Reporter: Andrew Niefer <aniefer>
Component: FrameworkAssignee: equinox.framework-inbox <equinox.framework-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tjwatson
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 205833    

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