How to use empty redirectable catalogs for projects [message #1811062] |
Mon, 26 August 2019 04:53  |
Eclipse User |
|
|
|
I have some small project models hosted in our git repository. We are using GitLab.
Until now we had to manually download the setup files for the project models to our working stations and add them to the projects view via the "Select Catalogs" button.
We would like to use the feature of "empty redirectable catalogs" as described in https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Hosting_your_own_index_.2F_catalogs and https://bugs.eclipse.org/bugs/show_bug.cgi?id=481580. We don't need any product models and we also don't want to host a complete index on our own.
However, I don't really get the gist of the description.
For testing purposes I wanted to use a local redirection instead of our git repository as to get the redirection working first. So I created a folder named "setups" in the Oomph Eclipse Installer directory (the folder where eclipse-inst, eclipse-inst.ini and so on are located) and put one of our project models in there. I also put a new project catalog in the setup folder, but both files are not visible in the installer.
I tried the following statement in the eclipse-inst.ini:
-Doomph.redirection.myProjectCatalog=index:/redirectable.projects.setup->setups/
|
|
|
|
Re: How to use empty redirectable catalogs for projects [message #1811112 is a reply to message #1811103] |
Tue, 27 August 2019 02:30   |
Eclipse User |
|
|
|
Thank you for your quick reply, Ed.
Quote:Are your repositories private? I.e., does access require authentication? I added some help for that in the wiki:
https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Accessing_Setups_that_Require_Authentication
Yes, I will look into the link.
Quote:Unfortunately what you show will not work because the source and target of a redirection must both be absolute URIs.
I read about it, I also tried using file:/data/user/eclipse-installer/setups, file://data/user/eclipse-installer/setups and file:///data/user/eclipse-installer/setups, but it didn't work either.
Quote:https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Automation_and_Specialization_with_Configurations
With such a thing, you could just drag and drop the Configuration link onto the installer. If your Configuration properly specifies an absolute URI that refers to your Project setup, ideally via a URI that navigates through the Project Catalog, the necessary redirection to redirect the redirectable Project Catalog to your Project Catalog will be done automatically (at least that's how it works when I last tested it).
Thanks I will also have a look at that.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How to use empty redirectable catalogs for projects [message #1856462 is a reply to message #1856446] |
Mon, 12 December 2022 02:50  |
Eclipse User |
|
|
|
I inspected the root products in advanced mode but only Eclipse.org, Eclipse.org Applications and dem empty <UserProduct> catalogs appear. I also activated all catalog filter, the entry for the redirectable product is missing.
But I now found a good solution by hosting my own index and can now completely customize the setup.
[Updated on: Fri, 06 January 2023 03:07] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.12162 seconds