| Summary: | Add --launcher.defaultAction to eclipse.ini | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] EPP | Reporter: | Andrew Niefer <aniefer> | ||||
| Component: | Packager | Assignee: | Markus Knauer <mknauer> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | mknauer, steffen.pingel | ||||
| Version: | 1.3.0 | ||||||
| Target Milestone: | 1.3.0 RC3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Andrew Niefer
+1 Markus, let me know if you want a patch for the Java package or if you are going to make that change for all packages. Also, the launcher and SWT need to agree on a name so that they can talk to each other. The launcher derives this from the name of the executable (remove the extension and capitalize the first letter) or the -name argument. SWT takes this from Display.setAppName, which is called by the workbench and the value is taken from the product exension point.
I took a look at the org.eclipse.epp.package.java.product and it has:
<property
name="appName"
value="Eclipse">
</property>
which will agree with the default eclipse launcher. So I don't think you need to worry about the name. However, it might be a good idea to double check the other packages' product extension point to make sure they are the same.
(In reply to comment #1) > Markus, let me know if you want a patch for the Java package or if you are going > to make that change for all packages. I'll do that for all packages. It is easier for me to keep them in sync and this is an important change for *all* packages. (In reply to comment #2) > I took a look at the org.eclipse.epp.package.java.product and it has: > <property > name="appName" > value="Eclipse"> > </property> > which will agree with the default eclipse launcher. So I don't think you need > to worry about the name. However, it might be a good idea to double check the > other packages' product extension point to make sure they are the same. I will double check... my idea was that all packages should have the same appName, but who knows... maybe there was a change in one of the packages in the meantime. Created attachment 170452 [details]
Include launcher.defaultAction
This patch includes
--launcher.defaultAction openFile
in all package product definitions (epp.product)
Patch applied to HEAD. On Gtk/64-bit opening of files with the RC4 Java package seems to work. Closing as FIXED (available since initial Helios release last year). |