Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Installed Eclipse Still referring to eclipse.org URL(Installation using modified index)
Installed Eclipse Still referring to eclipse.org URL [message #1799837] Fri, 14 December 2018 14:24 Go to next message
Mario Jauvin is currently offline Mario JauvinFriend
Messages: 64
Registered: October 2015
Member
I created a modified products catalog and installed eclipse 2018-09 with it. When I open the IDE and I select Preferences/Install/Update/Available Software Sites the location of all of the sites still refer to internet based update sites even though this have all been mirrored to an intranet network share and all oomph setup P2 director repository used to install this eclipse used the network share mirrored P2 repository. For example the site 2018-09 shows this location:

http://download.eclipse.org/releases/2018-09

How can I correct that?
Re: Installed Eclipse Still referring to eclipse.org URL [message #1799839 is a reply to message #1799837] Fri, 14 December 2018 15:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30439
Registered: July 2009
Senior Member
Unfortunately the IUs in the p2 repo itself (the artifact metadata) have touchpoint instructions with these locations specified in them. So not only do you need to mirror the repository, you'd need to modify the touchpoint information in the artifact metadata; it would be nice if the p2 mirror task itself would do that for you...
Re: Installed Eclipse Still referring to eclipse.org URL [message #1799841 is a reply to message #1799839] Fri, 14 December 2018 15:28 Go to previous messageGo to next message
Mario Jauvin is currently offline Mario JauvinFriend
Messages: 64
Registered: October 2015
Member
Can you tell me what you mean by IU in the P2 repo?

Any instructions on how to do that?
Re: Installed Eclipse Still referring to eclipse.org URL [message #1799856 is a reply to message #1799841] Fri, 14 December 2018 23:04 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30439
Registered: July 2009
Senior Member
Depending on the format, there will be an content.xml, content.xml.xz, or content .jar (or combination there of), and in that XML (in the jar or .xz), you can search for these URLs to find out what I mean. E.g.,
<touchpointData size='1'>
        <instructions size='1'>
          <instruction key='configure'>
            addRepository(type:0,location:http${#58}//download.eclipse.org/eclipse/updates/4.10,name:The Eclipse Project Updates);addRepository(type:1,location:http${#58}//download.eclipse.org/eclipse/updates/4.10,name:The Eclipse Project Updates);addRepository(type:0,location:http${#58}//download.eclipse.org/releases/2018-12,name:2018-12);addRepository(type:1,location:http${#58}//download.eclipse.org/releases/2018-12,name:2018-12);mkdir(path:${installFolder}/dropins);
          </instruction>
        </instructions>
      </touchpointData>
Previous Topic:Variable value and default value
Next Topic:Oomph Setups.zip outdated?
Goto Forum:
  


Current Time: Sun Sep 15 08:04:57 GMT 2019

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

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

Back to the top