|
|
Re: Howto prepare preconfigured Eclipse Installer [message #1740065 is a reply to message #1734578] |
Mon, 08 August 2016 19:53 |
Taylor Abrahamson Messages: 9 Registered: March 2016 |
Junior Member |
|
|
Yes it can be done. I did it!
Once you have your product setup file, you need to build another eclipse catalog file that points to your product setup file.
I placed one eclipse-installer onto a shared drive that every has access to in my development department. This eclipse-installer has an .ini file for it. In this file you must place this:
-Doomph.redirection.setups=index:/->file://D:/your/directory/
That is for a static file on a file system, You can also use a URI and host the file.
At that location you must have a file called: org.eclipse.setup
This file needs to have a productCatalog node which points to your custom setup file
<?xml version="1.0" encoding="UTF-8"?>
<setup:Index
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
name="index"
label="Index">
<discoverablePackage
href="models/Git.ecore#/"/>
<discoverablePackage
href="models/Launching.ecore#/"/>
<discoverablePackage
href="models/JDT.ecore#/"/>
<discoverablePackage
href="models/Maven.ecore#/"/>
<discoverablePackage
href="models/Mylyn.ecore#/"/>
<discoverablePackage
href="models/PDE.ecore#/"/>
<discoverablePackage
href="models/Predicates.ecore#/"/>
<discoverablePackage
href="models/Projects.ecore#/"/>
<discoverablePackage
href="models/ProjectSet.ecore#/"/>
<discoverablePackage
href="models/Resources.ecore#/"/>
<discoverablePackage
href="models/SetupTarglets.ecore#/"/>
<discoverablePackage
href="models/SetupWorkingSets.ecore#/"/>
<discoverablePackage
href="models/Targlets.ecore#/"/>
<discoverablePackage
href="models/Workbench.ecore#/"/>
<discoverablePackage
href="models/WorkingSets.ecore#/"/>
<productCatalog
href="your.products.setup#/"/>
</setup:Index>
You also need to save all of those models listed too.
Basically to acheive this I used the normal eclipse installer to install a fresh version of eclipse. Then after installed I opened up Navigate->Open Setup->Parent Models->Catalog Index
That will open up the xml file of the default product catalog, the one from eclipse. You just need to remove everything from that other than one product catalog pointed to your own custom setup. It will end up looking like the above.
You can then leave the hosted links to the Models/ nodes, or you can manually download them into your shared drive and host them yourself.
Sorry this is a terrible guide as I don't have time to write an amazing one.
But basically I learned everything I needed to know from this guide: https://wiki.eclipse.org/Eclipse_Oomph_Authoring
[Updated on: Mon, 08 August 2016 19:57] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03401 seconds