Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Startup Tasks not executing on redirected catalog
Startup Tasks not executing on redirected catalog [message #1696971] Fri, 29 May 2015 20:35 Go to next message
Michael  Haeusler is currently offline Michael HaeuslerFriend
Messages: 10
Registered: July 2009
Junior Member
Hello,

I tried to prepare my own project catalog as mentioned here. https://wiki.eclipse.org/Eclipse_Oomph_Authoring
with the little difference that I do not host the setup files on a webserver but use local file refererences.

preparing the new Eclipse instance works without problems, however the startup tasks are not executed and they are not showing up if I click "Perform Setup Tasks..." in the help menu.

finally I figured out what the problem is:

in my oomph.ini I have the following redirection:
-Doomph.redirection.setup=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->catalog/


however in the eclipse.ini of the new Eclipse instance I get these entries:
-Doomph.redirection.index.redirection=index:/->file:/c:/development/oomph/catalog
-Doomph.redirection.index.location.redirection=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->file:/c:/development/oomph/catalog


what happens is that the new Eclipse instance does not find my setup files and therefore does not execute anything at all.

I manually changed the eclipse.ini to this
-Doomph.redirection.index.redirection=index:/->file:/c:/development/oomph/catalog/
-Doomph.redirection.index.location.redirection=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->file:/c:/development/oomph/catalog/


So I assume this might be a bug which is related to the file:/ URL because it seems to work correct when using an http redirect URL in the oomph.ini.

would be great if this could be fixed before final Mars release Very Happy

Re: Startup Tasks not executing on redirected catalog [message #1697090 is a reply to message #1696971] Mon, 01 June 2015 13:39 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33257
Registered: July 2009
Senior Member
Michael,

Comments below.

On 01/06/2015 3:16 PM, Michael äusler wrote:
> Hello,
>
> I tried to prepare my own project catalog as mentioned here.
> https://wiki.eclipse.org/Eclipse_Oomph_Authoring
> with the little difference that I do not host the setup files on a
> webserver but use local file refererences.
>
> preparing the new Eclipse instance works without problems, however the
> startup tasks are not executed and they are not showing up if I click
> "Perform Setup Tasks..." in the help menu.
>
> finally I figured out what the problem is:
>
> in my oomph.ini I have the following redirection:
>
> -Doomph.redirection.setup=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->catalog/
>
Is it literally like this? The thing after the -> should be an
absolute file:... URI. Is that not the case?
>
>
> however in the eclipse.ini of the new Eclipse instance I get these
> entries:
>
> -Doomph.redirection.index.redirection=index:/->file:/c:/development/oomph/catalog
>
> -Doomph.redirection.index.location.redirection=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->file:/c:/development/oomph/catalog
>
>
>
> what happens is that the new Eclipse instance does not find my setup
> files and therefore does not execute anything at all.
>
> I manually changed the eclipse.ini to this
>
> -Doomph.redirection.index.redirection=index:/->file:/c:/development/oomph/catalog/
>
> -Doomph.redirection.index.location.redirection=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->file:/c:/development/oomph/catalog/
>
>
>
> So I assume this might be a bug which is related to the file:/ URL
> because it seems to work correct when using an http redirect URL in
> the oomph.ini.
>
> would be great if this could be fixed before final Mars release :d
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Startup Tasks not executing on redirected catalog [message #1698173 is a reply to message #1697090] Thu, 11 June 2015 20:07 Go to previous messageGo to next message
Michael  Haeusler is currently offline Michael HaeuslerFriend
Messages: 10
Registered: July 2009
Junior Member
yes it was intentionally that the redirect is to a relative path, because I want to use this distribution (including the setup redirection) in our company.

and it is almost works correct with the relative path, except for the missing slash at the end of the redirect.



Re: Startup Tasks not executing on redirected catalog [message #1698363 is a reply to message #1698173] Mon, 15 June 2015 06:42 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33257
Registered: July 2009
Senior Member
Michael,

What is it supposed to be relative to?

On 11/06/2015 10:07 PM, Michael äusler wrote:
> yes it was intentionally that the redirect is to a relative path,
> because I want to use this distribution (including the setup
> redirection) in our company.
>
> and it is almost works correct with the relative path, except for the
> missing slash at the end of the redirect.
>
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Eclipse Installer, Windows standard user and User Account Control
Next Topic:Undesirable Preference Recorder Behavior in Java EE EPP
Goto Forum:
  


Current Time: Mon Dec 02 23:02:05 GMT 2024

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

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

Back to the top