Installing User Product a second, does things different than on initial setup #158
-
|
Hi, this is a follow-up question to #142 . I now have a company specific configuration and 2 Project setup's that reference this "base configuration" (base in the sense of common settings that all/both projects should have in common without duplicating them in each project setup). When i initially setup one of those projects by eg. drag'n'dropping the URL to the base configuration the installer pre-selects the correct eclipse product, both of my user projects and advances up to the variables page. Question 1: One can then proceed with the installation successfully. When the user later on want's to re-install such a project and starts the installer he cannot "start again" with drag'n'drop the URL of the Base Configuration -> this leads to an error. Probably because these two Projects are already listed on the second page of the installer under "User projects". What is missing here seems to be everything coming from the "Base Configuration". Question 2: Proceeeding with installation here would end up in non-complete setup. To be able to reinstall one of these projects successfully again the following steps need to be done by the user:
Question 3: Thank you for any hints on this! Bye Peter |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
|
A configuration is designed (currently implemented) to be the complete set of choices. For the Platform there is this huge one that clones all the projects of the entire SDK: But then some of the subprojects have smaller configurations for just the one git clone for that subproject: https://github.com/eclipse-platform/eclipse.platform.swt?tab=readme-ov-file#contributing-to-swt There must be some mismatch between the URLs. Open the project catalog, here the github one and find the user extension: Use the context menu to open it in a text editor and look at the exact details of the URL, e.g., here my private repository for my company website. Consider carefully exactly the form of the serialized URI that is used in the configuration setup. Is it absolute? Probably you can avoid problems by ensuring it is the correct example absolute URI in the setup serialziation because a relative URI might be resolved in a way you might not expected, i.e., differently depending on the URI used to load the configuration setup. Are the project setups and the configuration setup all hosted in the same git repository? Also there is the question of how the URI for the logical project container is specified in the project setup, here it's absolute via the path from the index: There are lots of ways to mess this up. In general, if you use Navigate -> Open Setup -> Parent Models -> Catalog Index and show all the resources, you can get an idea of what's being loaded and might notice errors or duplicates (i.e., the same resource loaded via multiple different URIs). |
Beta Was this translation helpful? Give feedback.





From the context menu of a nested Project in the editor you can use Control... to externalized it to a separate resource.
You still use your configuration like before, it just would have way less task in it; only references to the products and the projects. The new root project should have the logical project container pointing at the catalog like what you have/had for each separate project. And then each separate project should have the logical project container be the new root project. And if you get all the URIs correct, it will work like magic. (It's all easier if you Didn't need all the ? basic auth stuff.)
I'm not being paid enough and this cuts into the thing for which I do get pai…