Skip to main content



      Home
Home » Eclipse Projects » Oomph » Eliminate EGit Repository from Installation(I cannot get rid of the EGit repository; Removed from ecore models)
Eliminate EGit Repository from Installation [message #1854753] Wed, 07 September 2022 12:40 Go to next message
Eclipse UserFriend
Due to firewall problems, I am trying to eliminate external sites from my installation process. The installer always adds https://download.eclipse.org/egit/updates as a repository for the installation, even though that URL does not exist in my setup models and I deleted it from the ecore model copied from the oomph setup definitions. Any ideas?

Thanks,
Trae
Re: Eliminate EGit Repository from Installation [message #1854754 is a reply to message #1854753] Wed, 07 September 2022 13:33 Go to previous messageGo to next message
Eclipse UserFriend
Depending on that tasks you use, there are URLs added because the task requires it for the implementation. These are represented as EAnnotations on the Ecore model of the task class. So if you have a git clone task in your setup, you must install Oomph's git setup feature and must install EGit.

index.php/fa/42465/0/

If you want to install EGit from a different location, you can use a redirection task:
<?xml version="1.0" encoding="UTF-8"?>
<setup:RedirectionTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    sourceURL="https://download.eclipse.org/egit/updates"
    targetURL="https://example.com/egit-mirror"/>

If you did somehow get rid of the annotations in the dynamic model, in the installed IDE the generated model is used and there the annotation is definitely present. So redirection is the only way to address this. This of course works in general for redirecting any p2 update site that might be hard coded differently from what you want.
  • Attachment: GitEcore.png
    (Size: 33.21KB, Downloaded 211 times)
Re: Eliminate EGit Repository from Installation [message #1854766 is a reply to message #1854754] Thu, 08 September 2022 10:02 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Ed!!! I was able to get it to work. Now, to figure out a good way to mirror what I need internally... Ideally, I would like to be able to mirror the features and P2 update sites defined by IDE and targlet definitions in my setup files to an internal site.
Re: Eliminate EGit Repository from Installation [message #1854767 is a reply to message #1854766] Thu, 08 September 2022 13:57 Go to previous message
Eclipse UserFriend
I assume you know about:

https://wiki.eclipse.org/Equinox_p2_Repository_Mirroring

Also the aggregator

https://github.com/eclipse-cbi/p2repo-aggregator

is used to create the release train repo (combining the content from many dozens of project repositories) so that's another possible approach.

https://ci.eclipse.org/simrel/job/simrel.runaggregator.pipeline/
Previous Topic:Computing a Compound Label for a Configuration
Next Topic:OPC UA
Goto Forum:
  


Current Time: Thu May 15 06:48:44 EDT 2025

Powered by FUDForum. Page generated in 0.04288 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top