I have created a sample plug-in and I have them as folders like this:
Features
Plugins
Artifacts.jar
Content.jar
So I copied the features and plug-in in to the respective folder of Eclipse install. But still I didn’t see the plugin.
So one of my colleague told me to install software using site, I don’t know how to create site. Instead I want install as locally. Any ideas?
Use 'File > Export' and select 'Plug-in Development > Deployable Features' to create a directory or archive file.
Then use the 'Install New Software...' dialog. Click 'Add...' and use 'Local..' if you have a directory or 'Archive...' if you have an archive.
You may need to deselect the 'Group items by category' check box to see the contents of your install.
Related
I have a problem regarding intallation of new software in my eclipse RCP.
I developped some plugin with Eclipse for RCP and RAP Developers (Version: Mars.2 Realse 4.5.2). I have created a feature and include some of my plugin in it.
When I export my feature, eclipse create an "artifacts.jar", a "content.jar" and 2 other folders (features and plugins).
Then, I tried to install it on my eclipse RCP to test it. So I go on "Help"/"Install New Software..."
I clic on "Add..." then I select "Archive..." and I give him the "content.jar"
Here, I have to deselect "Group items by category" to see my plugins. Then I selected them and clic "Next>". Then "Finish" but I have an error message:
enter image description here
It says that no artifact repo are available.
I do not understand why as there is an artifacts.jar in my folder...
If someone gets an idea???
Thank you very much
(sorry for my bad english, furthermore I'm new in coding)
If you have the "artifacts.jar", a "content.jar" in a folder you are not installing an Archive. The Archive install is for a single file containing all of the install files.
Choose 'Local' instead of 'Archive' in the 'Install New Software' 'Add...' dialog and choose the folder containing the jars.
I creat an eclipse plugin that I finished.
I would like to "share" my plugin with some people without just send them the whole code and they have to "create" the plugin by copy paste the code.
How can I make an installation file/ other way to make this plugin installable for others.
Thanks
One option is to create a Feature project. (An Eclipse Feature is essentially a feature.xml file and build.properties file that specify a collection of one or more Eclipse plugins that will be included when the Feature is installed into an Eclipse application).
Feature projects allow you to choose which plugins to include in them when you create them using the New Feature Project Wizard.
Once your project is created, you will have the feature.xml file opened for you in its editor. There you will be able to fill in more meta data if desired, and you will be given links for Exporting and Publishing the feature for others to consume.
Follow the steps under "Exporting" in the Overview tab of the feature.xml editor and choose to deploy using the Export Wizard. I suggest that you choose to deploy to an Archive file.
Then you can send that resulting Archive file (zip file) to your people. Then have those people open their Eclipse instance and go to "Help -> Install New Software". Then choose "Add" to add an update site. Then choose "Archive" which will allow them to navigate to the zip file that you have sent them.
Once they select that, they will be on their way to installing your Feature which contains your plugin into their Eclispe installation.
You can send them the plugin jar file, and they can put it in their
dropins folder.
Eclipse will not let you install using an archive unless the you have an update site.
There's a link here... but this is Indigo:
PDE plugin for Eclipse - which repository to install from?
Here's a link to the zip file...
http://archive.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/#PDESDK
... but extracting it in the plugin directory doesn't work... and I'm afraid to explode out the files amongst the other /plugins, /features and / because I can't afford to break my build of eclipse. Also there are two top level jars in the zip and it doesn't feel right that they sit in the main directory (artifacts.jar and contents.jar).
That is an install repository which you install using 'Install New Software'.
Click the 'Add...' button in the Available Software dialog. In pop-up Add Repository dialog click 'Archive' and select the download (or use 'Local' if you have expanded the download).
You may need to untick "Group items by category" if you get message stating that there are "There are no categorized items".
Note that many Eclipse installs come with PDE included.
I feel really stupid by asking this question, but how can I install Json Editor Plugin in my Eclipse Helios? I looked at the Forum in sourceforge, but I can't install it neither through .zip or by adding a web site. And will I need to change the execution environment to Java 1.6?
Here is what I did to get the Json Editor Plugin to show up in the Install Dialog.
By doing a little Google-ing, I found this page which describes the steps to install JsonEditorPlugin on 3.4.
After you have followed the first 6 steps, make sure that Group items by category is un-ticked. After that, you can then choose Json Editor Plugin to be installed from the local Zip archive that you have downloaded from the net.
Edit: as a side note, you must not have the unzipped contents of the zip archive in the dropins/ folder, otherwise it will appear as if the plugin is already installed.
Simply dropping the zip contents into the dropins folder however did work also.
Note: You must right click your .json file and choose 'Open with' -> 'Json Editor'
You can install plugins by just unzipping them into the dropins folder.
It does not matter if the zip file contains the parent folders "plugins" and/or "eclipse".
I would recommend Java 1.6 as it brings a better performance and the plugin might require Java 1.6. On your desktop shortcut you use following execution arguments:
eclipse -vm <path to jre 1.6 installation folder>\bin\javaw
Download jsonedit-repository-0.9.7.zip (or whatever) and put it in a folder you like.
In Eclipse Help --> Install New Software
Add --> Archive button and select the zip file.
Name it and press OK
Press button Next and Follow master of installation.
Then after opening json file possibly needed right click mouse on the file --> open with --> JSON editor
I have downloaded a RAR file from the following location, to be (manually) installed to Eclipse (Helios). How can I perform the manual installation?
http://sourceforge.net/projects/eclipsesql/files/SQL%20Explorer%20RCP%20%28exc%20JRE%29/3.6.1/sqlexplorer_rcp-3.6.1.macosx.cocoa.x86.tgz/download
Instead of putting it directly into the plugins directory, it's better to use the dropins directory as this was created just for this purpose. Have a look here: http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins
For sqlexplorer: do not download the full RCP version (as your link does), this one is standalone. Get this one instead: http://sourceforge.net/projects/eclipsesql/files/SQL%20Explorer%20Plugin/3.6.1/sqlexplorer_plugin-3.6.1_SR2.zip/download
Extract this to $eclipse_home$\dropins\sqlexplorer and restart Eclipse.
BUT: Using the SqlExplorer Update Site (http://eclipsesql.sourceforge.net/) would be an even better option (Help>Install new Software)
I have tried the installation with the explanation about the dropins folder and had to tweak it like that:
Unzip the distribution into your eclipse installation directory under the folder dropins. Your structure should be:
eclipse/
dropins/
eclipse/
features/
plugins/
Remove all other files and directories. There is some missing piece (file contents.xml), so that the distribution is no real p2 repository which leads to an error. The directories plugins and features are sufficient.
Restart your eclipse (I have done it with option -clean, not sure if that is necessary).
SQLExplorer is then installed and visible in the help, in different menus and with a new perspective.
I even was able to use it to have a look at my SQLite3 database of a rails3 application. Wow!! So I will give it a try.
From their website (http://www.sqlexplorer.org/):
Eclipse Plugin
Download
Download the Eclipse SQL Explorer plugin and extract the zip file in your eclipse directory (requires Eclipse 3.3 or better).
After restarting eclipse with the -clean option, a new SQL Explorer perspective should be available.
Eclipse Update Site
You can install and update Eclipse SQL Explorer via the eclipse update mechanism. The update site for Eclipse SQL Explorer is http://eclipsesql.sourceforge.net/
I always go for the update site option if they present it, it's easier and lets you do updates easily. To use the update mechanism just select Help > Insall New Software... then enter the update site, press Add and go through the wizard.