Import Plug-Ins into Eclipse Juno - eclipse-plugin

I just installed (i.e., unzipped) Eclipse Juno. I'm going through the "Create a Hellow World SWT application" tutorial.
It says that to import the SWT project you open the Import wizard from the main menu via File > Import..., and select Plug-in Development > Plug-ins and Fragments.
As far as I can see, however, the Import dialog contains no folder that refers to plug-ins at all. What am I missing?

Okay, as described here, the following steps will work:
Help -> Install New Software
Work with: --All Available Sites--
General Purpose Tools -> Eclipse Plug-in Development Environment
Click "Next" until you are asked to agree to terms. Agree, and
finish.
After installing this plug-in and restarting Eclipse, you will be able to proceed with the tutorial.

Related

Can I use the Telosys wizard without installing Eclipse?

I am trying to learn telosys. The eclipse demo seems great.
However, I tried to install the plugin for VSCode, and it did not add any option/menu item anywhere in the VSCode editor.
The eclipse demo shows a great wizard based interface. Is there any way to get that interface without having to install eclipse.
Also, in case it is not possible, which package of eclipse do I need to install to optimally use telosys? I wanted to try out the python & angular bundles of telosys.
Yes indeed, the Telosys VS Code plugin provides only syntax coloration for Telosys files edition (".entity" files for example). Thus there's no particular changes in the VSCode menu.
VSCode is just one code editor (among others) that you can use with Telosys-CLI. The editors extensions are just provided to be more confortable when you're editing Telosys files. All the code generation is supposed to be launch from the command line in Telosys-CLI.
If you want a fully integrated tool, Eclipse + Telosys plugin is the best solution. Telosys Eclipse plugin is installable with all Eclipse versions, so you can choose one of these Eclipse packages :
https://www.eclipse.org/downloads/packages/
for example "Eclipse IDE for Java Developers" and use "Eclipse Marketplace" to install :
Telosys plugin
https://marketplace.eclipse.org/content/telosys-code-generator-java-javascript-python-nodejs-php-c-javaee-spring-jax-rs-vuejs
Python plugin
https://marketplace.eclipse.org/content/pydev-python-ide-eclipse

Eclipse: getting an error installing drjava

I am currently trying to install DrJava plug-in in Eclipse Oxygen and I always get an error saying "could not find jar file" even though I opened it using the Install New Software in the Help menu...
I think I have tried everything I could but it does't seem to work...
or is there any better plugin in eclipse that has an interaction pane?
The DrJava Plug-in for Eclipse is an Eclipse 2.x plug-in which are not supported anymore. Therefore, it is not possible to install the plug-in in a current version of Eclipse.
A very similar functionality is built in the Eclipse Java IDE as Java Scrapbook Page (File > New > Other...: Java > Java Run/Debug > Scrapbook Page) and for debugging as Display view (similar to select an expression in the Java editor and hit Ctrl+U or right-click and choose Execute).
In Java 9, there is also a so-called JShell.

Eclipse new plugin Project: Not choosable

just an easy quesition but I can't find any answer in this wonderful world wide web...
I just want to create a new Plugin Project based on Eclipse Helios. Normally this feature should be shipped with this version (Version: Helios Service Release 2 Build id: 20110301-1815) but I can't choose it via "file->new->Project". Do I have sth. to install previously?
Thanks a lot for any help guys ... :)
It is also possible to do plugin development with any eclipse classic version. (I am working with 4.2)
For plugin development in eclipse classic version you need to go
Help-->Install New Software--> In work with select version url provided by eclipse it self. e.g. in case of 4.2 Juno it will be Juno - http://download.eclipse.org/releases/juno
It will render all the possible plugin provided by eclipse it self.
In that list there will a Eclipse plugin development environment in General purpose tools.
Or you can get that one by writing plug in filter text box.
Select Eclipse plugin development environment and install it.
Now you can able to do plugin development in classic version also.
Hope this will be helpful.
Install Eclipse for RCP and RAP developers.
If you already installed Eclipse you can add on the Plug-in Environment from within Eclipse
https://www.eclipse.org/forums/index.php/t/273044/
The Plugin Perspective is not installed.
To get it: Help->Install New Software
Work With: --All Available Sites--
In the Filter Box, type "Plug-in"
Look for something that says "General Purpose Tools" and expand it.
Look for "Eclipse Plug-in Development Environment"
Click Next a few times and install it, then restart.
Exact verbiage may depend on your Eclipse version.

Eclipse plug-in editor extension tab show “Generic” in “New” submenu

I am using "eclipse-rcp-helios-SR1-win32-x86_64"
64-bit eclipse running on JDK.
I am trying to add an action in my plugin via menu contribution. When I add "org.eclipse.ui.menus," right-click on it then select "New," I only the "Generic" option. I am expecting to see "menuContibution"
The issue is described in detail here, which also seems to include the solution: link
From what I understand, the version of eclipse I have - helio SR1 - is an SDK version and should have the source included in the package. I am not sure what I need to do to make those additional options show up.
if you have the "Generic" it means that you don't have the source plugins. But you have downloaded the right package (RCP one). I guess your download might be corrupted. Can you try downloading it again from a different mirror?
i am try to this answer is useful.
step-1: Eclipse menu bar Select Help menu
step-2: select Install New Software
step-3: Eclipse project update link (Required version) below image
step-4: Choose Eclipse plugin Development Tool and
step-5: After Next button click to finish.
Eclipse can Restart after working successful.
Installing Eclipse plugin Development Tool, as per Bharat Zala answer, is not enough. It still did not work for me:
I had to install Eclipse SDK and Eclipse Platform SDK packages:
Then it finally worked:
Note:
Lars Vogel in his book "Eclipse Rich Client Platform", in chapter 8 Install Eclipse IDE for RCP development, he advises for to
Download the Eclipse Software Development Kit (SDK) as a recommended Eclipse edition for RCP/PDE development.
Most people probably have installed more mainstream Eclipse editions like Eclipse for Java developers. Installing Eclipse SDK and/or Eclipse Platform SDK as packages to them later should re-create SDK installation as advised by Lars.
It did not work for me even after installing both.
I did go Update site " http://download.eclipse.org/eclipse/updates/4.5" and when it lists the different components.
Please unflag the "Group items by category" check box and Install "Eclipse RCP SDK" and related components.
Thant should fix the issue.
Thanks

exporting installed plugins from eclipse to another

How to export installed plugins from eclipse?
I want to use some of my installed plugins in another eclipse machine.
I don't want to download those again.
Regards
Start fresh and install plugins from an old install
The idea here is that you want to keep your old install intact, download a new indigo package (http://download.eclipse.org/) and just adds the existing plugins to your install. With Indigo this is now made super easy!
Step 1: Download and unzip your Indigo install: http://download.eclipse.org
Step 2: Import your plug-ins from your previous install by doing File > Import > Install > From existing install, pick your old install, select the plug-ins and there you go! You can chose to go piece meal, or chose to pick several entries, in any event dependency analysis will be performed to check the validity of the install.
Step 3: Click next a couple times and patiently wait for the bytes to download to your machine. Then restart and enjoy!
from http://lenettoyeur-on-eclipse.blogspot.com/2011/06/from-helios-to-indigo-is-easy.html
You can export the list of the features and plugins by going to File->Export->Install.
I’m bringing a really old thread to life here, but there’s a much more comfortable way to export your Eclipse plug-ins and use your setup on another machine now.
On http://profiles.yatta.de you can download the Yatta Launcher for Eclipse, which allows you to export your Eclipse & workspace setup (including your plug-in setup).
Export and installation are pretty straight forward:
Download the Launcher from http://profiles.yatta.de and start it
The tool will automatically discover your Eclipse installations. Find the one you want to export in the list (they are all named after your workspaces).
Click the Upload & Share button (the blue one) on the right of the entry you want to export.
(You won’t actually “share” your Eclipse or workspace with anyone. You’ll just upload a setup file with your metadata that only you have access to yourself. You could share this later, but you can also just keep it as a backup).
This solution does not only allow you to reuse your eclipse plug-in setup, but also your configured Git & task repositories and many other setup-specific settings.
Along with update sites, p2 can treat existing Eclipse installations as a source for the plugins to be installed.
If you access the Eclipse folder in another machine (which has the plugins installed) via shared folder in the network , then in your new Eclipse, open Preferences->Install/Update->Available Software Sites->Add->Local-> browse to the Eclipse->p2->org.eclipse.equinox.p2.engine->profileRegistry and select the profile.
Now in the target Eclipse you can install those plugins as if you are installing from an update site.
P2 (the bundle provisioning system) provides functionalities for shared bundle pooling, see
http://wiki.eclipse.org/Equinox/p2/Getting_Started#Bundle_pooling
It seems that feature is on its way: http://bugs.eclipse.org/282419
I don't know how to export a installed plugin,
but this answer helps for reinstalling an eclipse plugin from another eclipse installation. (How Do You Reinstall Installed Eclipse Plugins?)
Also See
Installing Eclipse (3.4+) plugins in a directory other than ECLIPSE_HOME/plugins
How To Add Perspectives In Eclipse?
You can simply copy the plug in folder from the other machine --(may be on a pendrive or cd )-- whatever suits you.
Then go to your ecplise,
File > Import... > Plug-in Development --> Plug-ins and Fragments Click "Next"
[Import From] -- Directory. Browse your plugins folder
Just Hit "Next"
From the left box, select individual or you may want to add all of it. Just hit
"AddAll ->"
And Just Hit "Next"
and there on just sit back let it do all the import work.
Dropping the right jars from your plugins directory to the target installation plugins directory should do the trick.