Open L3w1s-L1u opened 7 years ago
unfortunately, I am not aware of any other way to handle dependent plugins - apart from specifying them in the correct order. If you figure out a way, feel free to update this issue and I will try to add it to the script.
Hi Budha, I'm trying your install-eclipse script cause I want to integrate it into a Dockerfile, which requires eclipse been installed silently. But when I tried it first outside a container as your example shows me:
./install-eclipse -f -d <download_addr> -c <config_file> <install_location>
I got below error information:Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ Development Tools 9.2.0.201612061315 (org.eclipse.cdt.feature.group 9.2.0.201612061315) Missing requirement: C/C++ Development Tools Debugger UI 8.1.0.201612061315 (org.eclipse.cdt.debug.ui 8.1.0.201612061315) requires 'bundle org.eclipse.ui.workbench.texteditor [3.2.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ Development Tools 9.2.0.201612061315 (org.eclipse.cdt.feature.group 9.2.0.201612061315) To: org.eclipse.cdt.gdb.feature.group [9.2.0.201612061315] Cannot satisfy dependency: From: C/C++ Common GDB Support 9.2.0.201612061315 (org.eclipse.cdt.gdb.feature.group 9.2.0.201612061315) To: org.eclipse.cdt.gdb.ui [7.0.0.201612061315] Cannot satisfy dependency: From: GDB UI Common 7.0.0.201612061315 (org.eclipse.cdt.gdb.ui 7.0.0.201612061315) To: bundle org.eclipse.cdt.debug.ui 7.0.0 Application failed, log file location: /srv/work/_eclipse/neon/configuration/1488620201341.log
Seems that user should provide <plugin_address, plugin_id> entry in plugins.cfg file in a proper order so that eclipse installer won't complain about missing required plugins? If that's the way it is then I've to say it's really hard for user to find out the right dependency relationships. Is there anyway to make life easier such as resolving the dependencies automatically? Or you're considering to provide such functionality in future version of this script?