An error occurred while collecting items to be installed artifact - eclipse

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.

Related

Install plugin as locally instead of site

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.

How to make my own eclipse plugin installable

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.

How do I install the PDE eclipse plugin for Eclipse 3.8.2

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.

Eclipse Indent Guide

I am trying to install an indentation guide plugin for eclipse from the following web page
http://sschaef.github.io/IndentGuide/
I have not installed plugins before in eclipse and would appreciate some help.
I have downloaded the file as a .zip and extracted it. Firstly I placed the file in the plugins folder but the file was not found. I then tried placing each of the contained folders 'pdt_tools.indentGuide', 'pdt_tools.indentGuide.feature' and 'pdt_tools.indentGuide.updateSite' in the eclipse plugins folder. This time when I go to Windows>Preferences>General>Editors>Text Editors>Indent Guide, I get an error 'An error has occured when creating this preference page'.
'Unable to create the selected preference page.
jp.sourceforge.pdt_tools.indentguide.preferences.IndentGuidePreferencePage cannot be found by jp.sourceforge.pdt_tools.indentGuide_1.3.2.v20120803'
Can anyone help me install this plugin?
Go to Help->"Install New Software" . In the window that opens you can find textbox with "type or select a site" - Enter http://sschaef.github.io/IndentGuide/update/ press enter. The Grid below should refresh , select "Indent Guide" and complete installation.
No clue how to install from zip, but what I did was to take the "update URL" at the bottom of your link, put it into the box at the top of eclipse's help|Install New Software dialog, and install the plugin using eclipse's system. It work great for me and solves one of my major complaints with eclipse.
I installed it!
Step to install (Maybe it's wrong steps) But ON my STS Based on eclipse 4.4 it's working!
First:
Copy feature.xml from pdt_tools.indentGuide.feature into
pdt_tools.indentGuide
Open build.properties at pdt_tools.indentGuide
Add "feature.xml" text to bin.includes = src/,\plugin.xml,\META-INF/,\OSGI-INF/ you will have:
source.. = src/
output.. = bin/
bin.includes = feature.xml,src/,\
plugin.xml,\
META-INF/,\
OSGI-INF/
Then Copy all files without ".project" from pdt_tools.indentGuide.updateSite to pdt_tools.indentGuide
Then go Help->Install new software->Add...->Local->(Select pdt_tools.indentGuide.updateSite) and install!
Got IT!

Can't get GNATbench working with Eclipse

I'm trying to get the GNATbench plugin to work with Eclipse. I put the plugin and feature files in the correct places. I restart Eclipse and I am now given the option to create a new Ada project but when I try to do it I get this error:
The selected wizard could not be started. Plug-in com.adacore.gnatbench.cdt was unable to load class
com.adacore.gnatbench.ui.internal.wizards.NewAdaProject. An error
occurred while automatically activating bundle
com.adacore.gnatbench.ui (235).
Any idea what is causing this?
This is the issue you'll see if you attempt to use GNATbench with the 64-bit version of Eclipse. As the system requirements note in the readme, it's only compatible with the 32-bit version. I just did a quick test, which confirmed the issue.
I checked the README file of this plugin, it says this is required:
"C/C++ Development Tools (CDT) plug-in for Eclipse 3.5.x or 3.6.x"
Have you installed that?
The other important thing is that the downloaded archive file is actually a P2 repository installable file. In this case I would unzip a new eclipse (or remove manually the related plugins you copied over, this is the hard way), start it, click on help/install new software, click add, select archive, point to your downloaded GNATbench zip file, select the 2 features appearing on the avail "software" list and continue the wizard normally (next, finish...). If there is a version problem the wizard should "validate" it.
There was a plugin for Ada called Hibachi, IIRC... I'm not sure where it stands on development or completeness though.