How to integrate SonarLint with Intellij - intellij-idea

I am trying to run Solar Lint with Intellij, when I configure the SonarQube server in the plug-in and "Test Connection"
I keep getting the following error message:
The following plugins do not meet the required minimum versions,
please upgrade them: java (installed: 3.7, minimum: 3.8)
I do not fully understand what this means and I would really appreciate any help on this.
P.S. I cannot upgrade the Java Plugin on the sonar server if that is the only solution to this problem because I have no access to the server administration capabilities.

The message is clear enough and you understood it well: when you want to connect SonarLint to a SonarQube server, there are some constraints on the language plugins that are installed on this server.
In your case, the version of the SonarQube Java plugin is 3.7 whereas only versions above 3.8 are supported in the connected mode.
If you don't have administration permissions, there's nothing you can do about it. You have to stay in the default mode - i.e. no connection to the server, until the SonarQube instance gets updated.

Related

Server Administration specific Configuration in TeamCity gets lost after refresh

I'd like to integrate NeoLoad tests into TeamCity. Therefore I've installed the corresponding NeoLoad Plugin and now I need to add a "NTS Configuration" to provide the mandatory license parameters for running the tests.
The NTS Configuration has to be added at "Administration"->"Neotys Team Server".
I provide following required information: "URL", "Login User", "Login Password" and the label.
After saving it, the NTS Configuration is visible as a newly added entry BUT after switching to another page or after a refresh- the entry disappears. I've never experienced such a behaviour in TeamCity. I don't know whether it's about TeamCity or the NeoLoad Plugin.
I'm using "TeamCity Enterprise 10.0.5 build 42677" and NeoLoad 5.2.1.
Any guesses?
Thank you a lot in advance!
The issue is solved. It seems that there is no compatibility between TeamCity Version 10.0.5 and the NeoLoad Plugin 1.0.5.
For verification, I've installed the latest TeamCity version (2017.2.3) and integrated the NeoLoad Plugin (Version 1.0.5) and it works.
This question can be closed.

SonarLint (IntelliJ Idea) failing to update binding: Minimum required version error

I haven't been able to update SonarLint's rules from the organization's SonarQube Server for a while now.
It was working perfectly, but suddenly I started to get the following message:
I'm guessing that maybe the SonarQube server was updated to a newer version (currently it is Version 5.6), but how do I upgrade my local plugin version to match it? (if that was what this error means).
I waited for the plugin to release another update (v2.9) and hoped that would do the trick, but it didn't, same result.
I found this page, where it says that for SonarQube 5.6+, I should be using the most recent SonarJava 4.7.1 plugin, but don't know how to say my SonarLint plugin (version 2.9.0.1816) to use that.
https://docs.sonarqube.org/display/PLUG/SonarJava
I would appreciate any help, thanks!
Current environment:
SonarQube Server: 5.6
IntelliJ Idea: 2017.1
IntelliJ SonarLint: 2.9.0.1816
You're using the SonarLint Connected Mode, so the code analyzers (SonarQube Plugins) used are the ones installed on the SonarQube server. The error message here means that, on the SonarQube server, you must upgrade SonarJava to at least v4.0, and a better choice would actually be the latest version altogether.

Connected Mode on SonarLint v2.0 on IntelliJ not working?

SonarLint v2.0 for IntelliJ is out now, and has this "connect to sonar server" feature, but even so, it seems it isn't in sync with my server rules.
http://www.sonarlint.org/intellij/#Connected
Is it working for someone?
I'm I missing a step?
Or could it be a bug?
Thanks!
IntelliJ Idea Version: 2016.1
SonarLint Version: 2.0.1
SonarQube Version: 5.4
SonarLint, as of now, won't work with third party analyzers like PMD or FindBug, if you are using those, they will simple be ignored.
You can update your rules in SonarQube Server to only use rules defined in the SonarQube repository, most of them have an equivalent version.
Please check SonarLint console for details and open a thread on SonarLint Google group so that we can investigate.

Glassfish 3.1.2.2 Eclipse Plugin for Juno

Somehow, at some point, I installed this version of the Eclipse Glassfish Plugin for Juno:
Oracle GlassFish Server Tools 2.0.1.201207240829
I'm trying to help a co-worker install it too. But the latest version from the marketplace is
Oracle GlassFish Server Tools 2.0.1.201201241920
I think I must have gotten it from here which is referenced in this accepted anser but that site is now dead. That site is also referenced in this question
Does anyone know what the heck is going on with Eclipse Glassfish Plugin for Juno and Glassfish 3.1.2.2, and/or a different place from where we can get the version I seem to have?
Or else, tell me where I can report this problem to the team that maintains this plugin other than SO?
Oracle is currently migrating the GlassFish plugins - see
https://blogs.oracle.com/piotrik/entry/migration_of_eclipse_plugins_java
for details.
The old update site http://dlc.sun.com.edgesuite.net/glassfish/eclipse/juno/ is working again (despite appearing empty when you open the URL in your web browser).

IDE for websphere/jython

I would like to develop administrative jython-scripts for WebSphere 7. Is there any IDE (or may be plugins for eclipse) which provides code auto-completition functions, ability to start/stop server, debug jython scripts? I know that there is the Application Server Toolkit 6.1 but it is for WebSphere 6.1 and couldn't be applied to WebSphere 7.
In WAS 7, "IBM Rational Application Developer Assembly and Deploy V7.5" has replaced the AST. "IBM Rational Application Developer V7.5 for WebSphere" is a superset of "IBM Rational Application Developer Assembly and Deploy V7.5". Both ship with your copy of WAS, but the license for RAD is just a trial one, while the license for the assembly and deploy tool does not expire. See:
http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/catk_assemblytools.html
Either should allow you to create/debug Jython/wsadmin scripts.
As for Python/Jython there is PyDev Eclipse plugin.
I got frustrated with Jython Wsadmin myself. I built a tool that uses a Groovy-DSL for my configuration:
Datasource
JdbcProvider
SIB, JmsQueue, Top
ActivationSpec
etc.
You can add it as a project dependency in IntelliJ and you got completion and inspection. You will be able to step through the script with a Debugger as in a regular Java program. I didn't test the start/stop server functionality, though.
I went as far as to make it useful for my purpose, pull requests welcome:
https://github.com/revaultch/wsadmin-groovy