Community
Participate
Working Groups
In the target editor we have two reloads, one on the top "Reload Target Platform" and "Reload". Do these two buttons do the same thing? If yes, we should name them the same. If not, we should align the functionality.
Alexander, do you know if both the same thing?
(In reply to Lars Vogel from comment #1) > Alexander, do you know if both the same thing? Yes, they both do `LoadTargetDefinitionJob.load(ITargetDefinition target);` Link on the top is less widely used in the code, while button belongs to shared UI component.
(In reply to Alexander Fedorov from comment #2) > (In reply to Lars Vogel from comment #1) > > Alexander, do you know if both the same thing? > > Yes, they both do > > `LoadTargetDefinitionJob.load(ITargetDefinition target);` > > Link on the top is less widely used in the code, while button belongs to > shared UI component. As I (and my client) were confusing by the different labels, I plan to rename the top one to "Reload" to indicate that is does the same. Thanks, Alexander for the help.
I think just "Reload" clears cache target data and then reloads target.
New Gerrit change created: https://git.eclipse.org/r/c/pde/eclipse.pde.ui/+/186769
(In reply to Vikas Chandra from comment #4) > I think just "Reload" clears cache target data and then reloads target. Could that be aligned? I think it is highly confusing for users to have two similar buttons doing almost the same.
Hannes, you worked a lot on the target platform. Can you confirm that both "buttons" do the same thing?
My understanding: "Reload" - reloads the the list software sites and IUs "Reload Target Platform" - synchronises and fetches everything from update sites and resets the PDE target platform and rebuilds Two different things.
Reload is specific to target in target definition ( *.target) Reload Target Platform is common to all kinds of targets. If you a target in target definition file is resolving and if there is a internet disruption, you would see "Problems loading repository". Reload will fix this. You can call reload on a target which is not an active target whereas Reload Target platform only happens on active target.
Hannes, IIRC you have plans to allign the different reload behavior so that is consistent. Can you link the corresponding bug to this one?
(In reply to Lars Vogel from comment #10) > Hannes, IIRC you have plans to allign the different reload behavior so that > is consistent. Can you link the corresponding bug to this one? That's right, I said that in Bug 576844. But before starting with this problem, I would like to complete my work with my other pending PDE Bugs/Gerrits first. Therefore I have not yet created any other Bug regarding different reload behaviour.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.