From: Antoine T. <ant...@th...> - 2019-11-05 18:58:09
|
Dear all, I would like to install csstudio 4.6 with command-line in a eclipse RCP 2019-03 installation. Eclipse use of p2 is quite complex (shared bundlepool, etc.). The simplest way to do for me, to have a shared eclipse with shared plugins and multiuser, is: 1. un-archive eclipse rcp 2. use another account to install csstudio with eclipse p2 3. use dropins Such list is done like this in a docker build: 1. # Untar eclipse. ADD ./AppHome/archive/eclipse-rcp-*-linux-gtk-x86_64.tar.gz /docker/eclipse/ 2. RUN time sudo -u eclipsepmcd eclipse -application org.eclipse.equinox.p2.director -noSplash \ -repository http://download.controlsystemstudio.org/applications/4.6,\ http://download.controlsystemstudio.org/maven-osgi-bundles/4.6,\ http://download.controlsystemstudio.org/core/4.6,\ http://download.controlsystemstudio.org/thirdparty/4.6,\ https://download.eclipse.org/releases/2019-03/201903201000,\ https://download.eclipse.org/tools/orbit/downloads/drops/R20190226160451/repository,\ https://download.eclipse.org/efxclipse/runtime-released/3.4.3/site \ -installIUs org.csstudio.applications.opibuilder.feature.feature.group 3. Reuse of eclipse plugins and features from eclipsepmcd homedir: /tmp/dropins/pmcd/{features,plugins} refers to [EclipsePmcd homedir]/.eclipse/org.eclipse.platform_4.11.0_1573449857_linux_gtk_x86_64/{features,plugins} Then launch: eclipse --launcher.appendVmargs -vmargs "-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/tmp/dropins" This works well for all plugins I installed, except for Csstudio. I look at lots of documentations, including https://github.com/ControlSystemStudio/cs-studio/wiki/UpdateRepository , which says "SNS CSS from version 2.3.0 on has limited support for dropins". Do you have any ideas how to make it work? I also tried to run eclipse with Jdk 11 instead of 8, but it did change nothing. Thank you. -- Email: ant...@th... Phone on every working day except Tuesday: +33 (0)5 62 88 84 40 Phone on every Tuesday: +33 (0)7 85 19 00 46 Thales Services, Toulouse, France |