-
Notifications
You must be signed in to change notification settings - Fork 36
Select proper Launcher in case of multiple Launchers #112
Comments
Is this hard to fix? Where would you start when implementing a fix, if the maintainers don't have enough time to look at it? |
@kossmoboleat I don't think so. If somebody has the chance to study the APIs contributions are welcome. I might find some time to pick this up the next weeks. |
@marchof Hmm, I don't know anything about Eclipse plugins, but maybe the relevant class is ILaunchConfigurationDelegate? In the two lines below the first delegate is always chosen, which sounds like the described behavior: Lines 71 to 72 in fb939e0
I guess a good first default would be the normal JDT launcher, if there are only two launchers instead of something more specific like a VisualVM launcher. You usually don't want to profile and measure coverage at the same time... |
@kossmoboleat Yep, that looks reasonable. Now we need a strategy to select the "correct" launcher for all 9 launch types we currently support. So the task is to identify the correct launcher IDs
and add a new attribute for the CoverageLauncher. |
any news on a fix for this bug? I am encountering it as well and the only workaround right now is to uninstall the additional launchers. |
If additional launchers are configured EclEmma seems to delegate to a random one which leads to unexpected results. See forum posts: https://groups.google.com/forum/?fromgroups=#!topic/jacoco/JP244L-DzbU
The text was updated successfully, but these errors were encountered: