wiki:DevelopmentEnvironment

Version 21 (modified by sena, 3 years ago) (diff)

--

Development Environment for GRITS

Installing Java and Eclipse

You can download the Java and Eclipse from the corresponding webpage for free. If you want to use the exact some versions as the GRITS core developer group please feel free to contact Rene.

  • Java JDK 1.8 (update 45 or higher) - The JDK can be downloaded from the Java webpage. If your operation system supports 64bit it is recommended to install the 64 bit JDK. If older JRE or JDK are already installed in your system it can cause problems therefore it is a good idea to de-install them first.
  • Eclipse for RCP and RAP Developer (Mars 4.5) - You can download the IDE from the Eclipse web page please make sure to download the Eclipse for RCP and RAP Developers version. Other versions will work as well but you will have to install additional features. The installation instructions on this page assumes you have chosen this version.

Installing missing plugins and features

The following plugins can be installed using the Eclipse Marketplace. A short tutorial can be found in the Eclipse Marketplace chapter.

  • Subclipse or Subversive - SVN Team Provider - Only one of them is needed to allow you working with a SVN repository.

All other required plugins need to be installed using the Eclipse Update Manager. A short tutorial can be found in the Eclipse Update Manager chapter below.

Update website Plugins to install

http://download.eclipse.org/nebula/snapshot/

  • Nebula CDateTime Widget - A detailed installation documentation can be found here
  • Nebula Visulatization Widget
  • Nebula Grid Feature

http://download.eclipse.org/nattable/releases/1.4.0/repository/

  • NatTable Core
  • NatTable Extensions

http://download.eclipse.org/tools/gef/updates/releases/

  • Graphical Editing Framework GEF SDK
  • Graphical Editing Framework Draw2d SDK
  • Graphical Editing Framework Zest Visualization Toolkit SDK

http://download.eclipse.org/modeling/gmp/gmf-tooling/updates/releases/

  • GMF Tooling Experimental SDK

http://download.eclipse.org/e4/updates/0.17

  • Model Spy

Multi-platform Build

GRITS Toolbox is a multi-platform software that can be run on most operation systems. However to incorporate the platform specific libraries it is necessary to create a own product for each platform. The Multi-platform build allows to do this from a single computer and is the recommended way to generate platform specific builds. To enable this module you need to open your workspace and:

  • Open Window/Preferences. (MacOS: Eclipse->Preferences)
  • Find Target Platform (under Plug-in Development -> Target Platform)
  • Select your (active) target platform
  • Click Edit
  • Click Add
  • Select Software Site
  • Click Next
    • Add a new software site in Work with
    • Check Eclipse RCP Target Components
    • Check Equinox Target Components
    • Uncheck Include required software
    • Check Include all environments
    • Press Finish
    • Press Finish
    • Press OK

Open your product file and select the Export option. You will see that the "Export for multiple platforms" checkbox is available. For first time use you have to press Next and select windows, linux and mac operating systems before export. If you are using a custom product file, you may have to click on "add required plugins" after the above settings are completed to make sure all operation system specific swt fragments are included in dependencies.

Please note: In difference to the installation of the plugins (see above) this configuration is stored in the preferences of your Eclipse workspace. If you create a new workspace you will have to make this changes again.

How To

The following sub-chapters give examples on how to use the Eclipse Marketplace and the Eclipse Update Manager.

Eclipse Marketplace

  1. Open the Eclipse Marketplace using the main menu Help -> Eclipse Marketplace....

  1. Use the search feature to find the plugin you wish to install.

Eclipse Update Manager

  1. Open the update manager using the main menu Help -> Install New Software....

  1. Select or add the update site URL. Afterwards select the components you wish to install. Click the Finish button and continue installation.

Attachments (10)

Download all attachments as: .zip