Is it possible to use the TestNG plugin with Netbeans 6.8? - java

I downloaded the TestNG NetBeans Plugin and tried to install it in my NetBeans 6.8. I'm running NetBeans IDE 6.8 (Build 200912041610).
When I click install, I get this message:
Some plugins require plugin External
Execution Support to be installed. The
plugin External Execution Support is
requested in version >= 1.19 but only
1.18.1 was found. The following plugin is affected:       TestNG
Support
Some plugins require plugin Common
Test Runner API to be installed. The
plugin Common Test Runner API is
requested in version >= 1.13 but only
1.12.1 was found. The following plugin is affected:       TestNG
Support
Some plugins require plugin Utilities
API to be installed. The plugin Utilities API is requested in version >= 8.0 but only 7.31.2.1 was found. The following plugin is affected:
      TestNG Support
Some plugins require plugin
org.openide.util.lookup to be
installed. The plugin
org.openide.util.lookup is requested
in version 8.0. The following plugin
is affected:       TestNG Support
Some plugins not installed to avoid
potential installation problems.
Is it possible to use the TestNG plugin with Netbeans 6.8?
The plugin manager doesn't even seem to know about any of the dependency plugins. Is the TestNG plugin build against a beta or experimental version? I have updated all of my plugins to the latest versions.
Update
I went ahead and built the module from the Netbeans 6.8 branch. It installs fine now. Unfortunately, when I run the tests, I can see the ant output, but the TestNG view says "No tests Executed." I'll keep fiddling with it to see if I can get it working.

I took a quick look at this. It appears that the nbm file that you can download from the wiki page that you referenced is compiled against the trunk of the NB sources, not the bits that are released as NetBeans 6.8.
I have sent a note to the developer about this.
You can build the NBM yourself, but it is pretty painful, since you have to get the contrib repository.

This is embarrassing not able to use either the old version of TestNG or new version of TestNG in NetBeans. Any one kindly create a correct TestNG plugin for version 6.8.

Unfortunately, I don't think anyone has been working on the TestNG Netbeans plug-in in a while, so I'm not surprised to hear you are running into difficulties. Try posting your question on their forums?
Otherwise, I continue to work actively on the Eclipse plug-in (new version released a few weeks ago) and TestNG is supported natively by IDEA...
Hope this helps.

Related

Eclipse Oxygen/Neon: Unable to build ANT project

I am running into an issue. I am trying to build my code which is a legacy one built on Java 1.6. However, when i am trying to build it using ANT with a similar version then run into the JRE version 1.7 or greater is supported. I tried following instructions with Eclipse NEON but no luck.
https://blog.sibvisions.com/2016/06/30/eclipse-neon-with-ant-and-jre6/
I have a Eclipse Oxygen IDE and tried with it too but even it doesn't work.
The only challenge I can't move to the latest version while building .xml file is because the hosting server supports JDK 1.6 only.
Incase, if there is a way out then please suggest.
P.S:- added the error message in the below comment.
HERE IS THE ERROR MESSAGE
the JRE version 1.7 or greater is supported"
The ANT plugin form blog.sibvisions.com was created for Neon or Mars. There's a new plugin available for Oxygen.1. Simply search the blog.
The problem with eclipse is that the standard ANT plugin was created based on Java 7 and it has a version check built-in. It's not possible to use the standard ANT plugin with Java6... So use an older eclipse version or the modified ANT plugin.
I don't know the reason why the original ANT plugin is using Java 7 because the source can be written with Java 6 compatibility without problems. This is what the modified ANT plugin does.

How do I correctly install the Google Java Format plugin for IntelliJ IDEA?

I want to install the Google Java Format plugin for IntelliJ IDEA. I have the latest 2016 community edition build (build #IC-163.11103.6, Jan 16th 2017), so version 1.2 of the plugin should be compatible. However, when I try to install it, I get an error:
Plugin 'google-java-format' is incompatible with this version.
Looking around for a solution, I found that this error is shown if the IntelliJ version isn't supported. However, the plugin page states that build 163, which is the one I have, should be compatible.
Also, when searching for the plugin from within IntelliJ's built-in plugin repo browser, I can only find (and install) version 1.0. I guess my IntelliJ's plugin manager thinks it runs on an older build, or that the plugin actually isn't compatible with the latest build.
What is the correct method to install the latest Google Java Format plugin?
Besides that: how do I install a plugin from disk? This help page doesn't tell me whether I should install the google-java-format.zip file, or extract it and install the 2 .jar files found inside separately.
Try updating the google-java-format plugin. An update was published on April 14th, 2017 that is compatible with 163+ builds.

Trying to install eclipse Bytecode Outline plugin, missing dependency

I'm trying to install this: http://asm.ow2.org/eclipse/index.html, but I get this error which makes zero sense to me.
I'm running eclipse Kepler Service Release 1, build id 20130919-0819.
Cannot complete the install because one or more required items could not be found.
Software being installed: Bytecode Outline 2.1.0 (de.loskutov.BytecodeOutline.feature.feature.group 2.1.0)
Missing requirement: Bytecode Outline 2.1.0 (de.loskutov.BytecodeOutline.feature.feature.group 2.1.0) requires 'org.eclipse.help.appserver 0.0.0' but it could not be found
After Eclipse 3.3 "org.eclipse.help.appserver" was removed. See: eclipse:help-appserver
Description: This bundle provided implementation of a Tomcat-based web server application for the Eclipse help system. This was replaced in Eclipse 3.3 with a Jetty-based application server. This bundle defines no API and has been unused in the Eclipse platform for many releases.
It seems that the Eclipse ASM Bytecode Outline plugin was not maintained for quite some time which results in all kind of compatibility problems. For newer versions of Eclipse I therefore recommend installing this alternate version instead.
Use the Eclipse marketplace to find a version for the current eclipse version.

jUnit on eclipse Indigo

I installed Eclipse IDE for JavaScript Web Developers, Version: Indigo Service Release 1
Build id: 20110916-0149, in 2011 and use it for java development now but can see no menu about jUnit when I right click on a java class.
Actually jUnit appears nowhere in the menus.
After going around forums, I tried to install JDT, as I understood this is where jUnit is contained. But installation failed because of a conflict with something already installed...
Can you help please ?
FRED
Conflict details :
I get : Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Java Development Tools 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 (org.eclipse.jdt.feature.group 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1)
Software currently installed: Shared profile 1.0.0.1325791064663 (SharedProfile_epp.package.javascript 1.0.0.1325791064663)
Only one of the following can be installed at once:
Java Development Tools Launching Support 3.5.0.v20090527 (org.eclipse.jdt.launching 3.5.0.v20090527)
Java Development Tools Launching Support 3.6.0.v20110509 (org.eclipse.jdt.launching 3.6.0.v20110509)
Java Development Tools Launching Support 3.6.1.v20110803_r371 (org.eclipse.jdt.launching 3.6.1.v20110803_r371)
Java Development Tools Launching Support 3.5.1.v20100108_r352 (org.eclipse.jdt.launching 3.5.1.v20100108_r352)
Java Development Tools Launching Support 3.6.1.v20111006_r372 (org.eclipse.jdt.launching 3.6.1.v20111006_r372)
Cannot satisfy dependency:
From: Shared profile 1.0.0.1325791064663 (SharedProfile_epp.package.javascript 1.0.0.1325791064663)
To: org.eclipse.jdt.launching [3.6.1.v20110803_r371]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1 (org.eclipse.jdt.feature.group 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1)
To: org.eclipse.jdt.launching [3.6.1.v20111006_r372]
This looks pretty odd. Some background:
The plugin "Java Development Tools Launching Support" doesn't like to have different versions of itself installed in Eclipse. Eclipse 3.7.2 comes with version 3.6.1.v20111006_r372.
It seems that you still have old versions from 3.5 and 3.6 installed. Did you upgrade from an old version to 3.7?
Problems like that are usually only solvable by installing Eclipse again. Deleting the plugin on the disk won't help because p2 remembers which plugins are installed and doesn't care whether the plugin still exists. You probably also can't delete the plugin because some other plugin will depend on it.

Unable to install Google App Engine Plugin (Eclipse 3.6)

I've followed these instructions but I'm unable to install the GAE plugin on Eclipse 3.6 Helios.
Any ideas what could be wrong and how to fix it?
This is a clean install of Eclipse, the only added features are the Eclipse Web Developer Tools per instructions.
This is on Windows XP.
Don't make it more complex than needed. Use the PlugIn: GAE Plugin Instructions
I fixed it by installing Eclipse for Java EE Developers
The version for different types of eclipse is different for Google App Engine Plugin. Try to use different version of plugin as required by your eclipse . I Have used http://dl.google.com/eclipse/plugin/3.4 for my Hellios Version eclipse and it is working file after installation . Do not forgot to researt your eclipse in clean mode after installation of plugin.

Categories

Resources