TestNG will not install on Rad 8.5 - eclipse

I am trying to install TestNG on Rad 8.5. I go to Help->Install new software and then put http://beust.com/eclipse/ in the Work with: window and click on Add. I then put TestNG as the Name: in the Add Repository window which pops up. When I click OK nothing is listed to install so I can't finish the installation. http://beust.com/eclipse/ is listed on the Available Software Sites page but TestNG is not an option when I look at File->New. All of the help pages I can find deal with Eclipse and say this is how to do it. Normally Eclipse instructions work with Rad but something isn't working this time. Any help would be appreciated.
EDIT:
I found a way to add Eclipse Marketplace to Rad at Add Eclipse Marketplace to Rad but when I tried to use it I got an error message saying the following connectors are not available: TestNG for eclipse so there must be something wrong with the site. Is there a way to check?

Related

Installing Findbugs plugin for MyEclipse

I am trying to install Findbugs plugin for MyEclipse 6.0.1 using follwing steps:
In Eclipse, click on Help -> Software Update -> Find and Install...
Choose the Search for new features to install option, and click Next.
Click New Remote Site.
Enter the following:
Name: FindBugs update site
URL: one of the following (note: no final slash on the url)
http://findbugs.cs.umd.edu/eclipse for official releases and click OK.
"FindBugs update site" should appear under Sites to include in search.
Click the checkbox next to it to select it, and click Finish.
As soon as I click Finish eclipse shows me error saying "No features found on selected sites".
Can anyone plz tell me how should I proceed for Findbugs plugin inatallation in MyEclipse v6.0.1.
MyEclipse 6.6 is based on eclipse 3.3, so I assume 6.0 is also based on eclipse 3.3. That version of MyEclipse is now unsupported. However, you might be able to download the Findbugs plugin from here (which also list several update sites) and install it manually. I don't recall how to add plugins manually to eclipse 3.3 but there is probably a section in the help that comes with MyEclipse.

How to install TestNG in eclipse Kepler

I am trying to install TestNG (which I have never used before) in eclipse Kepler (4.3). I've tried to follow the directions provided on the TestNG site (http://testng.org/doc/download.html), but they do not work. The link (http://beust.com/eclipse/) just takes me to a page with a jar file. My experience is that when you use the installer within eclipse, it expects to be provided with a "p2" repository site. If I try to set up a site with the address provided, it fails.
On a related note, do I need to install TestNG as something additional (outside eclipse), or is the eclipse plug-in sufficient?
It is working fine on my machine. I just installed TestNG on my eclipse by following the steps below:
Click on Help > Install New software
Add the link http://beust.com/eclipse in Work with text box as shown below.
TestNG feature will be shown, expand the tree node then verify the version.
Tick the check box of TestNG
Click on Next button then Finish button.
I guess you enter wrong software update site. Remove the / and extra spaces around the link "http://beust.com/eclipse/" then try.
Nothing to install outside eclipse.
TestNG can also be installed in Eclipse by using "Eclipse Marketplace..." Below are the steps:
Open eclipse
Go to Help -> Eclipse Marketplace...
Do search for TestNG (Type the text TestNG in Find text box > Click Go button)
After searching: Click Install button at TestNG for Eclipse area
Follow the further instructions by eclipse
After successful installation: Go to Window -> Preferences. TestNG is enlisted at the left panel in pop-up.
Download Testng.jar and add testng jar as external-lib in eclipse. Eclipse will identify the testng.
Currently, TestNG is not available at https://beust.com/eclipse
To install TestNG in Eclipse version – 2019-03 or above, You can follow these steps:
Go to Window > Install New Software.
Enter https://testng.org/testng-eclipse-update-site/<TestNG Version> Refer to this site for TestNG Version: https://testng.org/testng-eclipse-update-site/
Select TestNG Options and Accept the agreement. Once you complete the process, TestNG will get installed.
Reference: https://testng.org/doc/download.html

Not able to install PMD in Eclipse Kepler

I have installed PMD in Eclipse Kepler using Eclipse market place.
But I am unable to access it after the installation.
When I go to Window → Preferences and search for PMD, I get no results.
Is there any other plugin available for source code cleanup?
Or: What needs to be done to install PMD in Kepler?
Thanks
I found the PMD plugin that installs through Eclipse Marketplace to be harder to use than the standalone one. Install available by an Eclipse update site here.
I've tried all these suggestions and now i have it working in Kepler; here's how to do it:
I made sure my Eclipse Kepler instance was using Java 7--it was.
The link from the eclipse marketplace did not work. It would show a PMD option for the individual projects properties, but there were no rules to select from. Also the main workspace preferences were not showing up.
I had to install it using this update site, as Jeanne Boyarsky mentioned:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
Restart Kepler.
The PMD option now shows up in the Windows->Preferences->PMD
The PMD project menu now shows up when right clicking on the project.
The install information on the web site for this plugin http://acanda.github.io/eclipse-pmd/getting-started.html says you must open the Properties for a project and look at the PMD tab.
If you've installed the PMD plug-in using the Eclipse market place then you're using eclipse-pmd which requires Eclipse to run on a JVM version 7 or later. If you're running Eclipse on a JVM version 6 or earlier and you're using eclipse-pmd 0.7 or earlier the PMD property page won't be visible.
To solve this problem you have to run Eclipse on a JVM version 7 or later. To change the JVM on which Eclipse runs you have to set the parameter -vm in your eclipse.ini accordingly. The Eclipse Wiki explains how to specify the JVM.

Where is the TestNG eclipse plugin

Where to find 5.x Testng eclipse plugin
Problem Installing older TestNG plugin on Eclipse 3.5
Both questions are quite old so the links there do not work anymore. I have Eclipse 3.5 and I would like to install the Eclipse TestNG plugin. What is the location of the update site? I am moving to TestNG so I can move the latest version of TestNG
PS: I have tried http://beust.com/eclipse/ but it throw me an NPE as shown below
Try to download TestNG plugin from Market Place.
Eclipse - > Help - > Eclipse MarketPlace -> TestNG..
Install it. After restarting Eclipse use it.
Try the URL that the jar comes from: http://beust.com/eclipse/
Use that above link as the Location, make sure to include the http://.
I used the latest url posted on the following page http://beust.com/eclipse-old/
That is http://beust.com/eclipse-old/eclipse-6.7.0.20120825_1316/
It worked perfectly fine.
Your URL looks fine (http://beust.com/eclipse) hence I suspect an issue unrelated to this, maybe your Eclipse installation is buggy or incorrectly configured (I did not need any special config on my Eclipse install though).
IN windows how to install testng plugin in Eclipse:
1. Open Eclipse
2. Click on Help at top menu
3. Click on Install New Software... sub-menu
4. Click on Add button
Do the following at Add Repository pop-up:
5. Enter name as (Example - testng)
6. Enter URL as your requirement:
For Eclipse 3.4 and above, enter http://beust.com/eclipse
For Eclipse 3.3 and below, enter http://beust.com/eclipse1
7. Click on OK button
8. Check process bar is displayed because plugin is installed in eclipse
After installation follow the steps below:
i) Restart eclipse
ii) Go to Window-> Preferences and observe the left panel
iii) TestNG is enlisted
I noticed it was proxy that was stopping for installation after configuring proxy it installed like cream.
earlier comment:
After a lot of attemp and trying different URL finally found the URL worked for me : http://beust.com/eclipse-old/eclipse-6.7.0.20120825_1316/
all other URL kept on giving error for MD5 example:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,org.testng.eclipse,6.9.11.201604020423.
MD5 hash is not as expected. Expected: da03b0c2cd24e2636ad05a151538b195 and found 60ea74539d11470e704c4210de6e5573.
Problems downloading artifact: osgi.bundle,org.testng.eclipse.maven,6.9.11.201604020423.
MD5 hash is not as expected. Expected: 91946a86a2a3ae80d8583be62a9fe068 and found 0f70e9fd8a1bb2564f26bc4730a58922.
if the link: http://beust.com/eclipse/ is not working for versions 3.4 and above, there could be some problem with the Network Connections of your eclipse.
Go to Window->Preferences-> search for SSL or Network Connections.
Check if the settings for the same are in place as per your internet/intranet.
open Eclipse
CLick on Help at top navigator
Click on install new software
Click on add Button
Add Repository pop-up is open
Enter name as (Example - TestNG)
Enter URL - http://beust.com/eclipse
Click on OK button
Check process bar is displayed because plugin is install in ecplise
After restart the eclipse
Check Testng is install in ecplise
For eclipse Luna - http://marketplace.eclipse.org/content/testng-eclipse/metrics
Drag and drop the install icon to the eclipse workspace and follow instructions.
Works like charm.
In my case, looks like updates for Eclipse was the issue.
I just installed the updates to my eclipse (Luna Service Release 2 (4.4.2) Build id: 20150219-0600) and restarted Eclipse.
Then, went to help->Eclipse Marketplace-> searched TestNG and Installed it.
This worked for me.
The given site "http://beust.com/eclipse" gets redirected to
http://dl.bintray.com/testng-team/testng-eclipse-release/
because of that eclipse fails to fetch the plugin in the original URL.
to fix that, go to help->install new software
now add new site at work with
"https://dl.bintray.com/testng-team/testng-eclipse-release/"
it is "https", doing this will list down the plugins available in the URL,
select TestNG, and continue to install it.
it worked for me, hope it works for you as well.

Eclipse Java EE - Galileo - Unable to view plugins

I am new to Eclipse so I am having a hard time troubleshooting this problem. I have a new installation of Eclipse Java EE - Galileo on Windows, and I am unable to see any changes made in the IDE after installing plugins. I have verified that the plugins are installed via installation details, but see no changes made.
For example, after installing the maven integration plugin m2eclipse I go to File->New->Project ... and I have no option for maven. After installing the QuickRex plugin I have no view for it etc.
I have tried re-installing the plugins, re-installing Eclipse, and starting Eclipse with the -clean option, but nothing has resolved the issue.
Any ideas? Thanks!
Ok. This is just a wild guess but could you start over with a fresh install and make sure that you uncheck the option Contact all update sites during install to find required software as shown below:
alt text http://img717.imageshack.us/img717/8039/screenshot003ao.png
I faced a similar problem (on another platform than yours), some updates were "disabling" all my plugins. Not checking this option allowed me to work around this issue.
Follow-up: You'll need to install that Zest stuff manually from the GEF update site:
alt text http://img339.imageshack.us/img339/8003/screenshot003rl.png