Eclipse 4diac Logo design once use everywhere Open Source PLC Framework for
Industrial Automation & Control

Documentation

!DOCTYPE html> Updating the Target Platform used by 4diac IDE

Updating the Target Platform used by 4diac IDE

The target platform defines the dependencies of 4diac IDE to other eclipse projects. Currently the Eclipse 4diac requires the following:

  • http://download.eclipse.org/eclipse/updates/4.xx
    • Eclipse Java Development Tools, org.eclipse.jdt.feature.group
    • Eclipse Platform SDK, org.eclipse.platform.sdk
    • Eclipse Plug-in Development Environment, org.eclipse.pde.feature.group
  • http://download.eclipse.org/releases/20xx-xx
    • EMF - Eclipse Modeling Framework SDK, org.eclipse.emf.sdk.feature.group
    • GEF (MVC) SDK, org.eclipse.gef.sdk.feature.group
    • Xtext Complete SDK, org.eclipse.xtext.sdk.feature.group
    • Eclipse Platform Launcher Executables

For upgrading to new Eclipse platform versions the following steps need to be done:

  • Update org.eclipse.fordiac.ide.product.target in the org.eclipse.fordiac.ide.product plugin
  • Update pom.xml in the org.eclipse.fordiac.ide.master plugin. At least the following steps have to be done:
    • Check tycho.version
    • Update tycho-repo.url to the new target platform version
    • Check org.eclipse.equinox.executable version range. Attention this has to be done on two places in the file.
  • Regenerate all model and model edit code from the models plugin.
  • Run product from Eclipse IDE using product editor, i.e., press the synchronize button and then the "Launch an Eclipse Application"
  • Run Maven install for pom.xml in the org.eclipse.fordiac.ide.master plugin locally
  • Test if the generated product can be executed. The generated products are in:
    /org.eclipse.4diac.ide/plugins/org.eclipse.fordiac.ide.product/target/products/org.eclipse.fordiac.ide.product
  • Push to Gerrit so that CI build can also check if it is working