Installing counterclockwise plugin manually - eclipse

I have given up configuring my proxy settings in eclipse to download plugins. I want to install the counterclockwise plugins to run clojure in eclipse. I can download the jars into my C:\Program Files\EclipseIDE 3.6\dropins. Problem is when I start eclipse I dont have an option to start a new clojure project so I suppose the plugins are not being used.
The plugins I downlaoded are from http://ccw.cgrand.net/updatesite/plugins/. Note I downloaded a single version only.

You still use the Help -> Install New Software... option. Move the jars into a directory that's not part of Eclipse.
On the Install dialog, left click on the Add... button, just as if you were installing software from a web site.
On the Add Repository dialog, to the right of the Location text box, is an Archive... button. Left click that button and point to the non-Eclipse directory where your counterclockwise plug-ins are located.
Perform the rest of the install new software steps to install your jars.

You can install the software manually on eclipse, find a zip file online.
Go to Help > Install New Software > Add > Archive and locate the zip file.
IMPORTANT
Make sure to untick the box "Contact all update sites during install to find required software" because if this is ticked it will give the "HTTP Proxy Authentication Required"

Put the jars into the /eclipse/plugins directory.

Related

Eclipse -- Manually Install Plugin

I am trying to migrate from Adacore's GPS to the Eclipse based GNATBench. GNATBench is available here for free download, but is packaged as a zip file. I have only installed Eclipse plugins through the marketplace, or through an online repository. I have tried extracting the folder into the Eclipse plugins folder, but it did not work. How do I install this plugin manually through a zip file? Is there another way of getting it?
Open Help > Install New Software... and click Add (top right).
In the Add Repository dialog that is shown click Archive... and select the zip file you downloaded. Also give the Repository a name. Click OK.
The Available Software dialog should now show you the contents of the zip and you can choose what to install.

Offine installation of PMD plugin for Eclipse IDE

I am trying to download and install PMD plugin for Eclipse offline but did not succeed in doing so.
I downloaded following 2 zips:
net.sourceforge.pmd.eclipse-3.2.6.v200903300643.zip (this version matches with the one which I installed online)
pmd-eclipse-1.8.0
Not sure which one to use and how to configure it in Eclipse.
I searched a lot but did not find proper steps for the offine installation and configuration.
In case it contains site archieve:
Goto Help->Install New Software
Click Add...
In the Add Repository Dialog click Archive and point to your zip. Rest of the installation is as you would do with an online installation.
Else:
Extract the zip
Copy all plugins to your target eclipse plugins folder
Copy all features to your target eclipse features folder
launch eclipse with -clean option
You can get the latest 4.0 version of the plugin by pointing your Eclipse installer here:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/

Installing custom plugin on a clean Eclipse

I'm trying to install my custom Eclipse plugin, which works perfectly when launched from the manifest file, onto a clean installation of Eclipse. I've installed the necessary dependencies (GEF and Zest) manually using their update sites. However, the plugin still doesn't show up. I googled around a lot and found a site suggesting I open eclipse with -debug -consoleLog and revealed the following:
Edit: here's a screenshot of my entire log:
"PowerPlugin" is my custom plugin.
I've checked, and my plugin specifies these dependencies with a minimum version number, and I have installed Zest 1.3.0, Draw2D 3.7.2, and the GEF "All-In-One" SDK 3.7.2, which should satisfy these dependencies, I believe.
Any clue what's wrong?
I would suggest using just indigo update site http://download.eclipse.org/releases/indigo and installing all required dependencies like gef and zest from there (assuming that you use indigo as a baseline?). This update site (actually it is now called a "software site" or repository) contains all required dependencies and they will be installed if needed.
When you using Help>Install new software... p2 provisioning system is used and it will make sure that all required dependencies are satisfied before it starts installing anything.
[Updated bellow]
The problem then is with a dropin mechanism. I found it very unreliable. Would be much better if you could install your plug-in using the standard p2 mechanism (by using software site aka p2 repository) that is:
Please create a feature project.
Add your plug-in (plug-ins) to the newly created feature.
Export the feature ("Export Wizard" link on feature.xml editor). Choose directory destination and on Options tab make sure that "Generate Metadata Repository" is selected (this will spare you the time to create UpdateSite project although you could do that if you want more flexibility later).
In your exported forlder your should have: feature, plugins folders and also artifacts.jar and conten.jar with p2 metadata.
In your destination eclipse go to Help>Install New Software... then Add... and Local... and browse to the folder from point 4.
You should see the feature to install in the list (if not please deselect "Group items by category") and then follow the wizard to install your featrue.
If you want to install on the same host you are running then you can use "Install Into host Repository" in point 3.
See also:
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguide%2Ftools%2Fexport_wizards%2Fexport_features.htm

Eclipse File>Import "Other" missing for Maven 2 plugin

In attempting to follow the instructions on Using Eclipse with Maven in order to use Scala and Lift:
You’ll need to download and install Eclipse for Java or Java EE.
I first installed Eclipse on lubuntu 11.10 using the Synaptic Package Mananger.
The version I am using is "Eclipse Platform Version: 3.7.0 Build id: I20110613-1736". Then the instructions say to install M2Eclipse:
Then install the M2Eclipse, Scala IDE, and M2Eclipse-Scala plugins.
So I followed the link to M2Eclipse where there is a video which says to use "File>Import" which should display a list of choices which includes "Other" in the "Import" window. These instructions are at time stamp "00:55" in the video. My "Import" window only lists "-General -CVS -Install-Pligin -Plugin-Development -Run/Debug -Team".
What am I missing?
Not all Eclipse versions have Maven2 preinstalled. You can check if it is installed in Eclipse via menu Help > About Eclipse. Check if there is an icon with the text m2, or alternatively click on "Installation details" and check the "Features" tab.
After you've installed it you will have new options in the File > Import menu.
Install M2Eclipse via menu Help > Install new software. Then click on the add button and add a site with location http://m2eclipse.sonatype.org/sites/m2e. Wait until contents are retrieved and check the items you want to install.

Installing ADT on Eclipse Indigo

On Eclipse Indigo 64-bit, I tried to install ADT (Android Development Tools) plugin ver 15.0. But I get this error :
Cannot complete the install because one or more required items could
not be found. Software currently installed: Shared profile
1.0.0.1316138720972 (SharedProfile_epp.package.java 1.0.0.1316138720972) Missing requirement: Shared profile 1.0.0.1316138720972 (SharedProfile_epp.package.java 1.0.0.1316138720972) requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be found
Do I need to install an eclipse dependency ?
I installed eclipse into /opt as root. I had this exact issue.
Seems that this has something to do with permissions (Yeah, great error message, I know).
I simply installed the plugins while running eclipse as root:
user#computer ~$ sudo eclipse &
Problem solved!
EDIT:
Instead of this, when you install it, you can change the ownership of the eclipse files so that you don't have to run as super user every time you want to install an addon.
user#computer /opt $ sudo chown -R user eclipse/
It's an Eclipse bug, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=350645
You shouldn't need to be administrator to install additional plugins...
Alright... this solved my problem:
Open Eclipse
Go to Help > Install New Software > click on Available Software Sites.
Make sure that "http://download.eclipse.org/releases/indigo" is checked.
Then.. enable the "contact all update sites.." option on the Install new software page.
You should be all set!
Try to enable the "contact all update sites.." option on the Install new software page.
That said, ADT should not have a dependency on epp packages, unless you have some other software installed along with Eclipse. Please make sure you're using one of the following Eclipse versions:
Eclipse IDE for Java Developers
Eclipse Classic (versions 3.5.1 and higher)
Eclipse IDE for Java EE Developers
Follow instructions on http://developer.android.com/sdk/eclipse-adt.html thereafter.
Run Eclipse with administrator priviledges... If on Windows right click, and select run as admin
Try to download the SDK archive and follow these instructions, it worked for me.
http://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting
Download the ADT Plugin zip file (do not unpack it):
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog, click Archive.
Select the downloaded ADT-21.0.0.zip file and click OK.
Enter "ADT Plugin" for the name and click OK.
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
Lastly, when the installation completes, restart Eclipse.