Any decent Eclipse plugin for monitoring Jenkins? - eclipse-plugin

I have found an old plugin for Eclipse from 2009 to monitor a Hudson server but it has two major drawbacks:
No support for multiple Hudson/Jenkins servers
Clicking on a Job in the view results in a window showing a 404 exception
Does anyone know a newer (maintained) Eclipse plugin for Jenkins?

There is a Mylyn connector for Hudson, which also works for Jenkins (Update site is http://download.eclipse.org/mylyn/releases/latest/)

Eclipse Juno includes the Mylyn Builds view. It shows the last built time and a summary of your build plans. You can directly see test results and jump to the corresponding code. Build failures are marked red just as in the Problems view.
Menu -> Windows -> Show View -> Mylyn Builds
If you don't have it, install it:
Menu -> Help -> Install New Software... -> http://download.eclipse.org/mylyn/releases/juno
choose
Mylyn Integrations -> Mylyn Builds Connector: Hudson/Jenkins
Mylyn SDKs and Frameworks -> Mylyn Builds
They are also available for Eclipse Indigo.
Normally the Builds view automatically connects with your Hudson/Jenkins server, just wait a few seconds. If not, add it manually. Just don't add it multiple times, since there is no easy removal mechanism (except removing the plugin's xmi file in your eclipse workspace).
The server preferences allow for adding individual build plans. Click refresh first.
Don't forget to activate "Refresh Automatically" in the view menu.

Related

Where to find Quarkus run configuration in Intellij IDEA?

Some time ago I used to run Quarkus projects in Linux as any other proyect, this means by clicking "Edit Configurations" and selecting "Quarkus (Maven)" as you can see in this picture:
But now I´m using Windows and those menus have disapeared:
As an alternative currently I´m running my Quarkus projects from Maven tab, which isn´t a fashion way:
So at the begining I thought this was due to a bug in Quarkus Tools plugin that I created a new issue, however that plugin does not offer such feature. Could anybody give a hand on how to run Quarkus projects as any other project? Thanks in advance.
Run configurations are offered by this plugin: https://plugins.jetbrains.com/plugin/14242-quarkus-integration
Looks like it is discontinued though, marked as "deprecated" and it's not showing in the Plugin marketplace (within IntelliJ) for me, so I had to install it via the website.
AFAIK there are plans for the official JetBrains bundled plugin to support it (https://youtrack.jetbrains.com/issue/IDEA-228507), but it's not done yet.

IntelliJ Run Configuration Broken by an Incompatible Plugin I Can't Uninstall?

I had been developing an application on a trial version of IntelliJ 2016 Ultimate. Since the trial version ran out, I resumed work using the Community Edition. However, trying to launch my application yielded the following error:
Unknown run configuration type #com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory
"No problem" I thought, just an incompatible plugin that was installed with Ultimate that I don't really need anyway. I opened the Plugins section of the Preferences menu, but I can't find the plugin in question. Below is a partial screenshot of the plugin list where I would expect to see the plugin listed in the error message.
The configuration can also not be edited from the Run/Debug Configurations menu, but lists the Run Configuration error as: "Broken configuration due to unavailable plugin or invalid configuration data."
Am I really unable to uninstall the Ultimate plugin preventing my run configuration from working from the Community Edition? What can I do to fix this if so?
It's have been a long time since this question was launched but it might be useful for new searches.
I got the same error with Dart and Flutter.
Just go to Menu >> File >> Settings. Then type plugins on the search box. Check if your plugins need to be updated (in my case Dart and Flutter). I the screenshot I had clicked in the "update" green button. So it turns into "Restart IDE" text. It should fix the problem once you restart the IDE.
To the best of my knowledge the community edition of IDEA will not load and run plugins that are not compatible with it. Moreover, by default, the community edition uses a different configuration directory than the Ultimate edition. So unless you modified the config directory to use, the community version should not be picking up the Ultimate Edition's plugins. Based on the error you show, I think the issue is you simply need to delete that Run configuration. The error is saying that that Run configuration wants to use a Plugin (The Tomcat Plugin) that is not available (i.e. not installed).
If you still want to confirm what plugins are installed, you can manually uninstall a plugin by removing it from the plugins directory. Note that some plugins are simply a standalone JAR, in the plugins directory, others are sub-directories within the plugins directory. Just delete the JAR or sub-directory.
That plugins directory is the idea config directory. See Directories used by the IDE to store settings, caches, plugins and logs for information on its location. On windows for example, by default it will be:
Ultimate: C:\Users\UserName\.IntelliJIdea2016\config\plugins
Community: C:\Users\UserName\..IdeaIC2016\config\plugins
UPDATE
I forgot to mention... bundled plugins are in ${idea-install-directory}/plugins. So for the ultimate edition, the Tomcat plugin is in ${idea-install-directory}/plugins/Tomcat. That is why, as you mentioned in your comment below, you are not seeing that plugin in the user installed plugin directory I mentioned above.
updating flutter and android studio worked in my
case
Simple upgrade Dart plugin..
Go to Settings/Plugins/Browse Repositories and search dart (Language) and upgrade
this will work.
I had a similar worded issue "Run Configuration Error: Broken configuration due to unavailable plugin or invalid configuration data."
In the bottom right part of the Rider IDE, you will see a popup that says
"Plugin supporting feature (Run Configuration[UNITY_ATTACH_AND_PLAY]) is currently disabled."
Click enable plugins, and restart when Rider asks you to do so.
If this does not work, remember that one possible reason is the issues with macOS indexing (my Macbook started to malfunction after its battery hit 0). A way to check is to try and search a file from the top right corner(). If you can not find existing files, this means macOS messed up with indexing.
To solve it, click Apple icon on top left side and go to System Preferences -> Spotlight -> Privacy Tab -> Add all folders to the "won't index" box -> Remove everything you have added so they get reindexed.
https://www.techradar.com/how-to/software/operating-systems/how-to-fix-a-mac-s-broken-find-function-1298964
Lastly, go to Rider and hit File -> Invalidate Caches and Restart.

Unable to trigger SonarLint Analysis on whole Project

I have installed the latest sonarLint plugins with Intellij 2016.1.2.
Analyze on the fly works fine. However, I can't find in the IntelliJ "Analyze" tab any "Analyze with SonarLint". In the SonarLint window>issues tab, I can only see scope "current file" or "opened files". I don't see any Project scope.
So my question is how to trigger the analysis on my whole project ?
Since SonarLint v2.8, it's possible to analyze all files in the project.
Open the SonarLint Tool Window, go to the Project files tab, and click in the "play" button.
There is also an action to which you can assign a shortcut.
More information here: https://www.sonarlint.org/intellij/howto.html
The easiest two ways to do project analyze:
Choose Analyze | Analyze with SonarLint
Press Ctrl + Shift + S
As #Duarte - SonarSource Team suggests Sonar-Lint has a different purpose. It is intended to use to analyze for code changes in current file(s). i.e. it cannot perform analysis which needs to compare 2 files. (ex: finding duplicates, coverage etc.)
For your purpose that best way to achieve is running SonarQube with preview mode.
Update:
As per this, the preview mode has been deprocated in v 6.6 and will be dropped in future.
they stated many times that their intent is to support only new issue being introduced running an on-fly analysis on files being changed.
If you wanna run a full analysis you should use the SonarQubeCommunity plugin or visit your remote Sonar Server.
If you wanna gather only coverage information within your IDE, use the Jacoco plugin.
However there is an open feature request to browse those issues directly in the SonarLint plugin: https://jira.sonarsource.com/browse/SLE-54
Yes, that screenshot is confusing, but that feature was previously available.
Since version 2.8 analysis of all files in the project is possible.

How to update maven Project in Intellij in offline modus?

How to update maven dependencies in offline modus ? In eclipse Right click on the project -> Maven -> update project -> offline.
where to find this functionality in intellij?
I'm not familiar with Eclipse and what the operation you mention specifically does. I can tell you how IntelliJ IDEA works with maven offline.
When you toggle into "offline Mode" (via the offline button in the maven tool window), IDEA simply appends the maven --offline option to all maven command lines it runs. IDEA will update and import maven projects in the same manner as when you are "online" except that it will report any items that cannot be found in the local repository (See Working in Offline Mode in Help > Language and Framework-Specific Guidelines > Build Tools > Maven). So to update after a pom change -- regardless if you are in online or offline mode -- just run the reimport function (or let it run automatically if you have "import maven projects automatically" turned on).
Prior to going into offline mode, it is usually helpful to run the maven dependency:go-offline goal. You can either do that by creating a custom Maven Run/debug configuration, or simply running it in the terminal window.

Eclipse p2 plugins from the dropins folder are installed but not activated

I have an eclipse product built against eclipse platform 3.6.2. I have other external plugins (no features) that are built separately (against the same platform) and my product does not depend on them, but they do depend on some plugins in my product. These external plugins makes contributions to the menus.
When I run my application from Eclipse and I add the extenral plugins to my launcher, they work just fine and I can notice their menu contributions. But when I build my application using PDE (with p2 support) and I add the external plugins to the dropins folder. They do get detected in my list of installed plugins in the product installation details but the Plugin.start() does never get called, nor I see their menu contributions, also when I check them in the configuration tab, I notice that they are listed as < Plugin ID> [Starting] . But when running from eclipse, in the Configuration they are listed as [Active]
I did try to add the extension point org.eclipse.ui.startup but it didn't change anything, it doesn't get called either.
Could anybody please help me with such a problem, or even guide me on how to debug it, I can't seem to make the p2 to print any useful debugging information when installing my pluigns.
Its great that you have built them using p2 support. This means should now have a P2 metadata repository. Now to install, just dropping the the stuff into dropins folder is not enough. I should recommend to instead 'install' them using the Help -> Install new software...