|
|
|
|
|
Re: Documentation confusion [message #1780067 is a reply to message #1780065] |
Wed, 17 January 2018 04:22 |
David Coley Messages: 37 Registered: July 2012 |
Member |
|
|
Thanks Ed. As a Shoemaker I appreciate this. (sorry to poke fun at your wonderful 2014 blog entry that answered a LOT of underlying questions I had!)
I'm slowly moving forward with this. Read almost the full forum back to March 2016 now. You are a saint and deserve many bottles of wine.
If I do the following:
-vmargs -Doomph.redirection.setups=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups->file://mynetwork/testlocation/setups
And launch (btw This is with the Windows 64bit Exe, thank you for fixing the not-handling -vmargs issue from 2016 :) ) the Oomph's Product Catelogs I still see the orignal Eclipse.org Catelog. Can this be removed?
I see booth my custom Catelog (which is currently Blank as I learn) and the Eclipse.org one even when launching a non-VMArg eclipse_installer.exe after doing the -VMarg option. So its reading it from the cache somewhere.
I am about to start going through the offical Catelog you have (great effort! You deserve more hype for that great resource to the Eclipse Developer world) and converting it to a local mirror internally. We can't have any external references (I have a script that reads the archive and content P2 data to remove those links already) and need to put in some custom plug-ins by default.
The documenation is great considering it is just two very busy people doing it. The EMF bones show through and I'm very happy with that work you have done in the past.
(Note the Example on https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Hosting_your_own_index_.2F_catalogs does have the end slash on setup/)
[Updated on: Wed, 17 January 2018 04:26] Report message to a moderator
|
|
|
Re: Documentation confusion [message #1780069 is a reply to message #1780067] |
Wed, 17 January 2018 05:37 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Oomph has definitely been a huge investment of time, but it's definitely cool and unfortunately documenting things is not much fun so that ends up lacking in comparison to all the cool stuff that's possible. But mostly we hear from people only when things go wrong, because of course no good deed goes unpunished.
Unfortunately there is no way to pass arguments to the self-extracting Windows executable that are then also passed through to the underlying eclipse-inst.exe. It's probably not so hard to do, but that code is native and written in C (by Eike), and with our new machines, we've not been able to get it to compile; kind of scary...
I really think your argument should be like this:
-vmargs -Doomph.redirection.setups=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->file://mynetwork/testlocation/setups/
I.e., with a trailing / on both URIs, because that is what specifies a so-called folder mapping for EMF's URI converter's URI map which is used under the covers. And this needs to be passed to the eclipse-inst.exe or added in the eclipse-inst.ini. In the Oomph development environment we specify this VM argument in the launch
-Doomph.redirection.setups=http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/->${file_uri:${resource_loc:/setups}}/
In order to redirect the launcher installer product to use what's currently in the Oomph git clone rather than what's been checked-in and archived so this definitely is the way to go.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03964 seconds