Skip to content

mgmt_ide setup oomph

travis edited this page Nov 4, 2019 · 7 revisions

IDE Setup with the Oomph Installer

Warning

This page is still under construction.

As an alternate and faster way to set up Eclipse for CobiGen development we also provide an customized Eclipse Installer and Oomph setups.

  1. The installer can be downloaded from within the corp network.

  2. Unarchive it in a folder of your choice (e.g. %home%\Eclipse Installer Capgemini\ if you want to use the installer frequently)

  3. Run eclipse-inst.exe or eclipse-inst on linux

Warning

Before starting the installation make sure to

  1. have git configured for your preferred github authentication method

  2. have git configured to handle long file names (e.g. by setting git config --system core.longpaths true)

  3. have read access to http://de-mucevolve02/ in the corp network

Quick start guide

  1. On the Product page choose CobiGen IDE

  2. On the Project page choose CobiGen

    1. master clones only the master branch from the specified origin

    2. development clones all development branches and the master branch from the specified origin into %installation location%/workspaces/cobigen-development and the master branch from the devonfw repository into %installation location%/workspaces/cobigen-master

Detailed Walkthrough

Clean (with Eclipse installation)

On the first installer page you need to choose what Eclipse bundle you want to use. The Product page (picture below) displays the possible choices. Product page of the installer

  1. the current Product Catalog. Each entry represents a pre-configured Eclipse bundle. In case of doubt choose CobiGen IDE

  2. the Eclipse version to be installed.

  3. the bitness of the Eclipse version. Be sure to choose the bitness of your OS

  4. the Java VM used during installation.

  5. the bundle pool. If activated Eclipse will create a p2 pool. This can be helpful if you want to create multiple installations of eclipse. This option is hidden and deactivated by default. You can make it visible by removing the -Doomph.p2.pool=@none line in the installers eclipse-inst.ini

  6. the update indicator. If those arrows spin you can update the installer or any of it’s components by clicking on this button

  7. Chooses the selected product and continues with the installation

The next installer page lets you choose a project to be checked out during installation. Project page of the installer

  1. the current Project Catalog. Select CobiGen

  2. the project stream. In case of CobiGen:

    1. master: Only the master branch of Cobigen will be checked out

    2. development: the master branch and ALL development branches will be checked out.

    3. In each case you can specify an own fork as git origin

After choosing a project the installer fetches additional Oomph tasks. You need to accept the installation of said tasks in order to proceed.

Installation of external Oomph tasks

The installer restarts then and open at the Project page again. Simply repeat the instructions for the Project page. Installation and restart is only done the first time a new task is requested by a product or project configuration.

By proceeding with the Next button the installer opens the Variables page. On this page the installation and configuration of the Eclipse bundle and the chosen projects is done by setting the variables presented.

Variable page of the installer

  1. the folder into that Eclipse will be installed. It is recommended to use the Browse…​ button to locate the folder. A direct input into the text field is possible but due to a randomly occurring bug in the installer the input is only partially parsed.

  2. the User name to access the Devon Maven Nexus. Typically your corp user name. This value will be stored in variables-customized(.bat)

  3. the password to access the Devon Maven Nexus. Typically your corp password. This value will be stored (PLAIN!) in variables-customized(.bat)

  4. the User name to access the iCSD Fileserver. This value will be stored in variables-customized(.bat). If no credentials were provided insert anything.

  5. the password to access the iCSD Fileserver. This value will be stored (PLAIN!) in variables-customized(.bat). If no credentials were provided insert anything.

  6. the Github remote URI for cloning the devonfw repository of CobiGen. Target of this URI is %installation location%/workspaces/cobigen-master if the chosen stream is development.

    1. SSH: The remote URI to access the repository via ssh. Make sure to have your git configured to work with a ssh client and have this client running.

    2. HTTPS: The remote URI to access the repository via https. Activates the Github user ID and Github user Password variables. User id and password are stored in the cloning scripts in plain text.

    3. Two-Factor-Authentification isn’t supported and probably won’t be in the future.

  7. the Github remote URI for cloning a CobiGen repository.

    1. Existing own fork (SSH): Same as above. The Github user ID is used in the remote URI instead of devonfw. Activates and requires the Github user ID variable.

    2. Existing own fork (HTTPS): Same as above. The Github user ID is used in the remote URI instead of devonfw.

    3. devonfw repository: Uses the remote URI from above.

  8. The Eclipse version you want to develop cobigen for. This is not the Eclipse version to be installed. When running integration tests for the CobiGen Eclipse Plugin this Eclipse version is launched.

  9. Your Github user id.

  10. Your Github user password. Be aware that this is stored in plain text! Moreover, if you use special characters as for example ! or % in your password, you need to escape them in the batch file. See http://www.robvanderwoude.com/escapechars.php for further information.

  11. Reveals all variables that can be set. Activated by default. If not activated preset variables and variables with default values are hidden.

The Next button can only be used if all variables are set. Proceeding the installer opens the Confirmation page. All tasks needed for installation are shown here with all variables resolved. Only the tasks needed for the installation are activated. Tasks like Project import are triggered at first startup of Eclipse.

Confirmation page

The Finish button triggers the installation process. Once started the installation proceeds automatically.

Progress page

  1. indicates the task that is currently executed

  2. the task output. Provides progress and debugging information

  3. if activated the installer exits after successful installation

  4. stops the installation

Into an existing Eclipse installation

The following instructions only hold for OASP4J-like Eclipse installations. Furthermore you need to install Oomph Setup from the Oomph Update site. When Oomph is installed activate the Oomph tool bar via the Show tool bar contributions check box.

Oomph preferences page

The tool bar looks like this: Oomph tool bar

Configuration of the CobiGen Oomph Setup

Clone this wiki locally