Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Problem with redirection in eclipse-inst.ini
Problem with redirection in eclipse-inst.ini [message #1781851] Tue, 13 February 2018 22:18 Go to next message
Ge Strait is currently offline Ge StraitFriend
Messages: 28
Registered: September 2017
Junior Member
1. I created my own product catalog and put it on a server to access:
e.g /my.company.com/product/oomps/setups/...

2. In eclipse-inst.ini I redirected to the catalog
-Doomph.redirection.setups=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->http://my.company.com/product/oomph/setups

3. This worked great. When I launch Eclipse Installer I see my product catalog and can install my product.

4. I updated the eclipse-inst.ini redirection to a new test product catalog on my server
-Doomph.redirection.setups=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->http://my.company.com/test/product/oomph/setups

5. When I launch Eclipse Installer, I still see the old redirection. Not the new one. in the Product Catalog dialog there is a Catalog Index dropdown. In there I still see the original http://my.company.com/product/oomph/setups is being available only.

Is there some sort of caching that occurs? Even if I download an entirely new Eclipse Installer and edit the eclipse-inst.ini, Eclipse Installer still uses my orginal product catalog.

Thanks for any help
Re: Problem with redirection in eclipse-inst.ini [message #1781854 is a reply to message #1781851] Tue, 13 February 2018 22:49 Go to previous messageGo to next message
Ge Strait is currently offline Ge StraitFriend
Messages: 28
Registered: September 2017
Junior Member
Note when I run in Advanced Mode the Confirmation window shows an Eclipse.ini task with my old redirection (not the one currently in my eclipse-inst.ini) ...

<?xml version="1.0" encoding="UTF-8"?>
<setup:EclipseIniTask
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
excludedTriggers="STARTUP MANUAL"
option="-Doomph.redirection.index.redirection"
value="=index:/->http://my.company.com/product/oomph/setups/"
vm="true"/>

Where is the value being picked up from?
Re: Problem with redirection in eclipse-inst.ini [message #1781872 is a reply to message #1781854] Wed, 14 February 2018 06:49 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6394
Registered: July 2009
Senior Member
I'm not exactly sure what's going on and currently don't have the time to try it out. But I would first try two things:

1. Add a trailing slash to your redirection target, i.e., http://my.company.com/product/oomph/setups/
2. Rename the redirection property to something different from "oomph.redirection.setups", e.g., to "oomph.redirection.MY_setups"

That would make -Doomph.redirection.MY_setups=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->http://my.company.com/test/product/oomph/setups/

Does that already solve the problem?
Re: Problem with redirection in eclipse-inst.ini [message #1781873 is a reply to message #1781872] Wed, 14 February 2018 06:54 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6394
Registered: July 2009
Senior Member
Please also try just my suggestion 1., without renaming the redirection property!
Re: Problem with redirection in eclipse-inst.ini [message #1781928 is a reply to message #1781873] Wed, 14 February 2018 16:35 Go to previous message
Ge Strait is currently offline Ge StraitFriend
Messages: 28
Registered: September 2017
Junior Member
Thanks for the reply.

Problem is gone. Not certain why. Might have been related to something stored in Users (e.g. C:\Users\ADMIN\.eclipse\org.eclipse.oomph.setup\setups) which I cleaned up.

Works now.
Previous Topic:Using bundle pools in eclipse installer simple mode
Next Topic:Rerun Setup Task without creating a new eclipse installation
Goto Forum:
  


Current Time: Wed Sep 19 20:42:54 GMT 2018

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

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

Back to the top