Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Question on installing eclipse plugin

The other day I came accross this SO question : Bash script plugin for Eclipse? , the idea is great.

So I went to the download site downloaded this plugin but I didn't install any eclipse plugin manually so I don't really have a clue how to install one.

I extracted this zip file I downloaded and it looks like this :

enter image description here

What should I do next, how do I install this plugin ? thank you

When I try to install it using install new software from local dir I get this error :

Cannot complete the install because one or more required items could not be found.
  Software being installed: ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97)
  Missing requirement: ShellEd UI 0.0.0.201007201532 (net.sourceforge.shelled.ui 0.0.0.201007201532) requires 'bundle org.eclipse.dltk.launching [2.0.0,3.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97)
    To: net.sourceforge.shelled.ui [0.0.0.201007201532]

PROBLEM 2 :

Cannot complete the install because one or more required items could not be found.
  Software being installed: ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97)
  Missing requirement: ShellEd UI 0.0.0.201007201532 (net.sourceforge.shelled.ui 0.0.0.201007201532) requires *'bundle org.eclipse.linuxtools.man 0.0.0'* but it could not be found
  Cannot satisfy dependency:
    From: ShellEd 2.0.0.201007201532-1--773533H735D97 (net.sourceforge.shelled.feature.group 2.0.0.201007201532-1--773533H735D97)
    To: net.sourceforge.shelled.ui [0.0.0.201007201532]

I don't know what it means

like image 438
London Avatar asked Feb 21 '11 09:02

London


2 Answers

I just successfully installed this using Drop-ins. It depends on DLTK & the linux tools man page plugin.

To install int Eclipse 3.6 Helios, Help > Install New Software:

  • Install DLTK Core from the Helios Repository: http://download.eclipse.org/releases/helios/
  • Install the LinuxTools Man Page plugin from: http://download.eclipse.org/technology/linuxtools/update
  • Download the ShellEd Update Site Zip, point the Update UI at the Archive and Install
like image 189
James Blackburn Avatar answered Oct 06 '22 18:10

James Blackburn


Copy the complete folder (ShellEd-Update-2.0.0_M3) to eclipse/dropins. You should remove the site.xml file from the destination location and - I think it's still necessary - look into the features folder and extract all *.jar files (folder name = jar file name).

But you should be able to install the plugin from a local zip file source too. The "install new software" dialog should have an option...


For clarification - of course, manual installation is not recommended. You may have trouble with missing dependencies, although OSGi is pretty robust and eclipse won't crash. Worst case: the plugin will not install (from an OSGi perspective). So if possible, use "install new software" and install plugins from the vendors internet page. If not possible: manual install, unzip the jars in feature folder and, if it still doesn't work: start eclipse with the -console option and check the status of the installed plugins. OSGi will tell you, if a plugin didn't start and why.


The error message: The bash plugin depends on another plugin named ShellEd (Version: 2.0.0.201007201532). Looks like it is not included in the bash distribution and so you'll have to install it first (or together with bash).

You can find it here: ShellEd


This one is also required: Dynamic language toolkit (any version between 2.0 and 3.0). This was the hint: bundle org.eclipse.dltk.launching

like image 37
Andreas Dolk Avatar answered Oct 06 '22 19:10

Andreas Dolk