|
|
|
Re: Repositories [message #1696652 is a reply to message #1696646] |
Wed, 27 May 2015 16:06 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Niklaus,
I tried adding this to my user.setup
<?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="http://download.eclipse.org/"
targetURL="http:/bogus.example.org/"/>
When I start the installer, and advance to the confirmation page, and
look at the P2 task's list of repositories, I can see they've all become
"bogus". Do your redirections appear to have taken effect, when you
review your P2 task on the confirmation page? If so, as long as you
use Oomph for all your updates, those other sites (added by p2's
discovery data encoded in the p2 update sites themselves) should not
actually be used (in theory).
On 27/05/2015 5:42 PM, Niklaus Bucher wrote:
> Hi Eike
>
> Thank you very much for your response.
>
> I added the redirection task to my 'company.product.setup', but it
> seems that it does not work: If I open the 'Available Software Sites'
> Preferences in the Eclipse I installed using Oomph, my repo doesn't
> appear but the original Luna repo still appears. Same with the
> org.eclipse.equinox.p2.metadata.repository.prefs file located in the
> '.p2/org.eclipse.equinox.p2.engine/profileRegistry/.../.data/.settings'.
> I tried with and without trailing slash.
>
> If I open the 'Profile Details' in the Oomph-'Bundle Pool
> Management'-window, the Repositories section in the 'Definition' Tab
> showing my repositories. I think because of the configured Repository
> element in the P2 Director Task (<setupTask xsi:type="setup.p2:P2Task"
> ...>).
>
> I'm using Oomph version 1.1.0. Build 1216
>
> Thank you very much in advance.
>
> Greetings
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04796 seconds