|
|
|
|
Re: Updating Eclipse.ini for default Eclipse Installer [message #1784137 is a reply to message #1783649] |
Thu, 22 March 2018 18:45 |
David Coley Messages: 37 Registered: July 2012 |
Member |
|
|
Ed -
Is there a recommended path showing how to launch a custom version of the launcher,
I currently have the following which is working, but it still picking up a Previously Set setup index. I can't tell where this is being pulled from and I've already deleted C:\users\%username%\.eclipse and C:\users\%username\.p2 during testing.
set JAVA="C:\Program Files\Java\jdk1.8.0_141\bin\java.exe"
set LAUNCHER=c:\test\plugins\org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
set LAUNCHER_LIB=c:\test\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834\eclipse_1630.dll
set UPDATE_URL=file://C:\mirror_test\org.eclipse.oomph\
set SETUPS_REDIRECT=index:/->file://C:\oomph_testing\oomphtesting\
set OUSER_HOME=file://C:\users\%userhome%\oomphtesting\
call %JAVA% -jar %LAUNCHER% -os win32 -ws win32 -arch x86_64 -showsplash --launcher.library %LAUNCHER_LIB% -startup %LAUNCHER% -Doomph.redirection.setups=%SETUPS_REDIRECT% -Doomph.installer.update.url=%UPDATE_URL% -Doomph.setup.ecf.trace -Duser.home=%OUSER_HOME% -Doomph.setup.user.home.redirect=true -consoleLog
Edit:
Figured this out, as it a bit of a Caching circle that may need to be documented somewhere more obvious,
in the exploded Eclipse Installer there is a file called configuration\org.eclipse.oomph.setup\indicies.xmi
<?xml version="1.0" encoding="UTF-8"?>
<base:Annotation
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:base="http://www.eclipse.org/oomph/base/1.0"
source="IndexLocations">
<detail key="file://C:\oomph_testing\oomphtesting\org.eclipse.setup">
<value>Eclipse</value>
</detail>
<detail key="archive:http://www.eclipse.org/setups/setups.zip!/http/git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/org.eclipse.setup">
<value>Eclipse</value>
</detail>
</base:Annotation>
Deleting this file means it now looks for the -Doomph.redirection.setups=%SETUPS_REDIRECT% but it can't seem to find it, which is confusing me. Logs show it trying to access the github location still, and erroring out with a Proxy error in the Eclipse Installer.
[Updated on: Thu, 22 March 2018 20:31] Report message to a moderator
|
|
|
|
|
|
Re: Updating Eclipse.ini for default Eclipse Installer [message #1784320 is a reply to message #1784239] |
Mon, 26 March 2018 18:05 |
David Coley Messages: 37 Registered: July 2012 |
Member |
|
|
Ed, shouldn't this redirect the location to get the Eclipse Install when put into the Eclipse.ini file? when doing the install this is still grabbing them from download.eclipse.org location. I know you can't redirect P2 directly, but other forum posts make it seem possible.
-Doomph.redirection.oxygen=http://download.eclipse.org/releases/oxygen/->//myshare/path/to/download.eclipse.org/releases/oxygen/
When I get to the Bootstrapping Tasks it is not listed there.
Edit: I added the Oxygen-Epp redirection and that one is appearing and showing up, not on the BootStratp section but during the actual install. I'll re-download the Oxygen Repository and Meta Data to make sure there isn't an corruption causing it to not be seen as valid. Even though the repository can be used to update and install new plug-ins.
[Updated on: Mon, 26 March 2018 20:35] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04357 seconds