views:

177

answers:

3

Hello
My eclipse version is 3.6 or 3.5 I have these versions of eclipse.

There is an easy way to install eclipse plugins on eclipse IDE that explained at this link but I can't use it in Linux Ubuntu!
This way work properly under Windows and Mac OSX. Please help me to use this way in my Ubuntu lucid lynx linux

In this way, I create a folder inside my eclipse SDK folder that name is Links folder.
In this folder, I create a file eclipse-cpp-helios-linux-gtk.lnk or eclipse-cpp-helios-linux-gtk.link that contains this line:

path=/home/taher/opt/eclipse/Third-party-eclipse-links/eclipse-cpp-helios-linux-gtk

and save it, but when I start eclipse IDE eclipse doesn't recognize the cpp plugin!
How can i do this easy way in linux? Help me
thanks

+3  A: 

With Eclipse Galileo (3.5) or Helios (3.6), I would rather recommend an external directory called 'mydropins' (for instance), which you can reference from your eclipse.ini, with the option:

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=C:/Prog/Java/eclipse_addons

This is called a shared dropins folder.
See in this SO answer an example of plugin deployment in this shared dropins folder.


(Your link refers to the previous provisioning mechanism, pre-p2.
P2 is the new provisioning system introduced late in Eclipse3.4, refined (debugged?) in eclipse 3.5 and 3.6.
See the supported dropins formats to check how you can organize your own personal dropins folder (that you can reuse between several eclipse installations)


You said you are using:

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/home/taher/opt/eclipse/Third-party-eclipse-links

That means, under /home/taher/opt/eclipse/Third-party-eclipse-links, you:

  • won't have any .link file
  • will copy:
    eclipse-cpp-helios-linux-gtk
      eclipse
        features
        plugins

Note: the structure within eclipse-cpp-helios-linux-gtk should be the one describe above, for p2 to pick it up.

VonC
please help me do this in linux my eclipse.ini content is[code]-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503-showsplashorg.eclipse.platform--launcher.XXMaxPermSize256m--launcher.defaultActionopenFile-vmargs-Xms40m-Xmx384m[/code]
taher
I paste my plugins jee and CDT to dropins folder but they doesn't work properly in eclipse SDK and eclipse SDK doesn't recognize them!!!
taher
@taher: just follow the link I gave you on eclipse.ini: you will have one optimized, simplified (no need for `startup` or `launcher.library` options), and with the right `p2.reconciler.dropins.directory` in it.
VonC
@taher: then, leave in a comment the exact structure of files you have for the cpp plugins.
VonC
A: 

please help me do this in linux my eclipse.ini content is

please help me do this in linux my eclipse.ini content is [code] -startup plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vmargs -Xms40m -Xmx384m [/code]

taher
comments are enough, you can delete this "non-answer"
VonC
A: 

I do this with my eclipse.int but plugins dont work!!! Note that i use linux but your link is about windows and mac osx [code] -data ../../workspace -showlocation -showsplash org.eclipse.platform --launcher.defaultAction openFile -vm /usr/lib/jvm/jdk1.6.0_16/jre/bin -vmargs -Dosgi.requiredJavaVersion=1.6 -Declipse.p2.unsignedPolicy=allow -Xms128m -Xmx384m -Xss4m -XX:PermSize=128m -XX:MaxPermSize=384m -XX:CompileThreshold=5 -XX:MaxGCPauseMillis=10 -XX:MaxHeapFreeRatio=70 -XX:+CMSIncrementalPacing -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+UseFastAccessorMethods -Dcom.sun.management.jmxremote -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/home/taher/opt/eclipse/dropins/Third-party-eclipse-links [/code]

taher
Please delete this answer (which is not an answer anyway), edit and complete your question with your new elements and question, and leave a comment on my answer, to notify me. I have updated my answer to reflect your configuration.
VonC