Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [embed-cdt-dev] Rename bundles and packages - no compatibility for third parties

I am all for renaming stuff that means that ISVs have to cope. It hardly seems worth the value in renaming view ids if that means having to write a bunch of new code to handle the migration.

So, unless you want to tell users to reset perspectives and/or start with new workspaces, I would recommend to not bother.

I hope that is helpful.

Jonah


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Wed, 4 Nov 2020 at 05:50, Liviu Ionescu <ilg@xxxxxxxxxx> wrote:


> On 4 Nov 2020, at 10:33, Alexander Fedorov <alexander.fedorov@xxxxxxxxxx> wrote:
>
> org.eclipse.e4.workbench/workbench.xmi

This basically means that if we want to preserve compatibility with existing workspaces, we cannot change the UI IDs.

For example I tried to rename the view showing CMSIS Packs docs from

"ilg.gnumcueclipse.managedbuild.packs.ui.views.DocsView"

to

"org.eclipse.embedcdt.managedbuild.packs.ui.views.DocsView"

The result is an error message displayed in the view:

"Could not create the view: ilg.gnumcueclipse.managedbuild.packs.ui.views.DocsView."

Checking the workbench.xmi file shows a lot of references to the old ID.

If I reset the perspective, the view is shown correctly, but in the workbench.xmi file I continue to see references to both the old and the new ID, which means there might be other places confused by the ID change.

---

Now I have a version that seems functional, but I'd still revert all UI IDs to their original values, and continue testing.


Regards,

Liviu






_______________________________________________
embed-cdt-dev mailing list
embed-cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/embed-cdt-dev

Back to the top