Where is the TestNG eclipse plugin - eclipse

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.

Related

TestNG will not install on Rad 8.5

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?

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

Error: Could not find or load main class com.google.gwt.dev.Compiler

What steps will reproduce the problem? and how i can solve this problem
IN Eclipse Indigo, right click on project name --> google --> GWT Compile --> Compile
I got error that says
GWT compilation failed
In Eclipse console window, I got error message that says
Error: Could not find or load main class com.google.gwt.dev.Compiler
I am using windows 7 , eclipse juno 4.2 , and GWT sdk 2.5.1
During Gwt installation i left unchecked all app engine SDK options.
And also configure build path for jar files for projects i have.
but still this problem is coming .
Thanks for answering . well I tried that before but nothing happened. Then I uninstall all all. And go to HELP--->Install new Software---> in text area i used this link Google Update Site for Eclipse 4.2 - http://dl.google.com/eclipse/plugin/4.2 then whenever i checked Google Plugin for eclipse (required) and hit next it shows Cannot complete the install because one or more required items could not be found.
Software being installed: Google Plugin for Eclipse 4.2 3.2.4.v201306061638-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group 3.2.4.v201306061638-rel-r42)
Missing requirement: Google Plugin for Eclipse 4.2 3.2.4.v201306061638-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group 3.2.4.v201306061638-rel-r42) requires 'org.objectweb.asm 0.0.0' but it could not be found i didn't understand what and where is the problem coming .
I would double check your GWT install. Right click on a project in eclipse, and select Properties. Then under the Google option, click Web Toolkint. On the panel to the right there should be an option "Use Google Web Toolkit". Make sure that is checked. Also Click "Configure SDKs", and ensure that the selected SDKs are indeed pointing to the correct file location. Finally, Make sure that your entry points are correctly added in the "Entry Point Modules" panel.
I was facing the similar problem. I changed the proxy of my eclipse to manual and put in proxy settings for HTTP, HTTPs and port as 8080. This allowed the eclipse to connect to the network and download the required plugins. Try this out and let us know if it helps.

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