| Summary: | Publisher doesn't rename eclipsec.exe, only eclipse.exe is renamed to the desired launcherName | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Holger Oehm <holger.oehm> |
| Component: | p2 | Assignee: | Torbjörn Svensson <torbjorn.svensson> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | arthur.daussy, cdtdoug, christian.pontesegger, email, gunnar, IngedevTeam.fr, jeffmcaffer, kane.mx, kane.zhu, markus.duft, mistria, peter, saminathan80, t-oberlies, torbjorn.svensson |
| Version: | unspecified | ||
| Target Milestone: | 4.20 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/c/equinox/rt.equinox.p2/+/178151 https://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=753385cc32a3320007b4f275f09676322c291b3d |
||
| Whiteboard: | |||
|
Description
Holger Oehm
When using the "Eclipse Product export wizard" in the PDE the behavior is different: No console application appears at all. (Neither fooc.exe nor eclipsec.exe is present in the exported product.) This is very closely related to Bug 327707. Years ago we (PDE and p2) made a conscious decision to not brand eclipsec.exe. In retrospect that may have been a bad choice. This bug and Bug 327707 are essentially seeking to enhance the current p2/PDE behaviour. As such, I don't think this one blocks Bug 331974 which is seeking to harmonize the infrastructure. I'd like to keep the dependency list focused on that task. Sigh. This is still open? Any update on this? Can you please explain the reason why it was consciously chosen not to brand eclipsec.exe? (In reply to comment #5) > Can you please explain the reason why it was consciously chosen not to brand > eclipsec.exe? This didn't need a conscious decision - it was just never implemented. eclipsec.exe is something that only exists for Windows, so it would have needed special handling for this case. I guess the main reason why this wasn't done is that it isn't clear what the correct solution is. In comment #0, the proposal is to use "fooc.exe" when the main executable is called "foo.exe". But is a constant "c" suffix really the solution that all users whould be happy with? We have a problem with this fact: eclipsec.exe does not pick up the launcherName.ini file. In a scenario where for example Java7 is default and Java8 is required, and configured in the launcherName.ini file, eclipsec.exe will result in a failing application! This is IMHO not an "enahncement" in this case anymore - more like a major for us ;) *** Bug 550360 has been marked as a duplicate of this bug. *** New Gerrit change created: https://git.eclipse.org/r/c/equinox/rt.equinox.p2/+/178151 Gerrit change https://git.eclipse.org/r/c/equinox/rt.equinox.p2/+/178151 was merged to [master]. Commit: http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?id=753385cc32a3320007b4f275f09676322c291b3d Thanks Tobjorn. I'm marking as resolved since I'm under the impression the patch you submitted fixes it all. Feel free to reopen if I'm missing something. (In reply to Mickael Istria from comment #11) > Thanks Tobjorn. I'm marking as resolved since I'm under the impression the > patch you submitted fixes it all. Feel free to reopen if I'm missing > something. Thanks Mickael for reviewing the gerrit. As I said in the gerrit, I've not run the code as I don't know how to import it into tycho, but according to me, it should work. In any case, the changeset is supposed to address the issue that there will be a launcher called "eclipsec.exe" when the launcher is branded. With the changeset, the launcher will instead be called <branded name>c.exe. Just a comment to confirm that the bug has been fixed (Just tried with Tycho 2.7.3) |