New vscode-java 0.0.8 release

Version 0.0.8 of the Java extension for Visual Studio Code (a.k.a. vscode-java) has been unleashed onto the world. It’s available in the Visual Studio Code Marketplace and can be found and installed directly from within Code.

Highlights of this release can be seen in this screencast:

Gradle Support

vscode-java finally provides basic Gradle support for Java projects. Basically, you just need to open a folder containing a build.gradle file in its root and wait for the Java support to kick in. Code completion, Navigation, References and all the other existing features of the Java support will work as long as the Gradle project can be successfully imported.

However, please be aware that Gradle-based Android projects are not supported, because of a limitation in BuildShip, the upstream project in which this Gradle support is based on.

Update project configuration

Whenever a build configuration file is modified and saved, a project re-configuration (eg. Java compilation level update) or classpath change (dependencies or source paths) might be required, so the VS Code internal model stays in sync with the build descriptor.

So, a warning will pop up whenever a Maven pom.xml or Gradle (*.gradle) file is saved:

Choosing Never will discard the message so it won’t show up on subsequent build file changes. Clicking  Now will trigger a project update command, but the message will show up again on the next change. Selecting  Always will trigger configuration updates every time the build file is saved.

Please be aware a project update can be a long-running, CPU-intensive operation. For large projects, it might be preferable to keep the option turned off and instead call the  Update project configuration command manually (via Ctrl+Alt+U or Cmd+Alt+U on MacOS) when the editor is focused on a Maven pom.xml or a Gradle file.

Whenever you need to change the behavior, you can open the workspace settings and look for the java.configuration.updateBuildConfiguration key. It specifies how modifications on build files update the Java classpath/configuration. Supported values are:

  • disabled : never updates automatically on save, doesn’t show a warning.
  • interactive : asks about updating on every build file save.
  • automatic : updating is automatically triggered on build file save.

Mute “Incomplete classpath” warnings

Whenever a java file is opened, that does not belong to a project (what we call a standalone Java file), vscode-java is unable to compute a proper classpath. It makes it useless to report compilation errors, as the UI would be filled with distracting red errors all over the file. But vscode-java is still able to provide content-assist for base JDK classes, and report syntax errors, so the following warning is displayed:

It’s now possible to discard the message permanently, by clicking the Don’t show again option.

Should you change your mind, it’s possible to modify that choice in VS Code’s user settings: The java.errors.incompleteClasspath.severity  key specifies the severity of the message when the classpath is incomplete for a Java file. Supported values are ignore, info, warning and error.

Conclusion

This release represents an important milestone for this small project as it finally provides basic Gradle support for Java projects, by far, the most requested feature by the community along with some important usability features.

A complete changelog for this version is available there.

This Java extension is powered by two components, a front-end part, the VS Code client, and a back-end part, the headless Java Language Server, based on Eclipse JDT, The M2E project (for Maven support) and now BuildShip (for Gradle support). Both components are developed under the open source Eclipse Public License. All contributions are welcome, whether it’s code, feedback, bug reports. Please do so under any of these Github repositories:

 


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Release of v3.15 of the Red Hat Mobile Application Platform

Red Hat Mobile Application Platform (RHMAP) lets teams extend their development capabilities to mobile by developing collaboratively, centralizing control of security and using back-end integration with a range of cloud deployments.

We have just completed the deployment of the RHMAP v3.15 to all our actively updated grids.

Please pay particular attention to notes on deprecations and upcoming removals.

Full release notes including a list of known issues, customer-facing bug-fixes and changes are available on the Customer Portal here.

Continue reading “Release of v3.15 of the Red Hat Mobile Application Platform”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Red Hat adds .NET Core 1.1 to Red Hat Enterprise Linux and Red Hat OpenShift Container Platform

Today, we’re pleased to announce that .NET Core 1.1 is now available and supported on Red Hat Enterprise Linux and Red Hat OpenShift Container Platform. This second .NET Core release shows Red Hat’s continued commitment to opening up platform choices for enterprises seeking to use .NET in Linux environments, including container-centric operating systems. We’re also pleased to lead the way in the Linux world yet again with our support for .NET, as Red Hat Enterprise Linux is the only commercial Linux distribution to feature full, enterprise-grade support for .NET Core.

New application development highlights in Microsoft’s .NET Core 1.1 are:

Continue reading “Red Hat adds .NET Core 1.1 to Red Hat Enterprise Linux and Red Hat OpenShift Container Platform”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Red Hat Summit, DevNation, and an Application Development call for papers

Red Hat Summit has always catered to multiple user roles and this year will be no different.  What will be different in 2017 is an expanded focus on professional application developers much like DevNation has done in recent years.  As such, we will not be hosting a separate DevNation event alongside Summit 2017. Instead, Summit will include more advanced Application Development sessions, CodeStarters, labs, birds of a feathers, a new “Developer Zone” in the expo area, and much more.
What does this mean for you?
  • Attendees:  Every attendee can now access everything that’s developer-related and at no extra cost.
  • Speakers:  You now have a larger audience to share your application development story, plus you and co-presenters get access to the entire Summit event.
Speakers:  submit your Application Development proposals today!

Continue reading “Red Hat Summit, DevNation, and an Application Development call for papers”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 


More about DevNation:  DevNation 2014 was our inaugural open source, polyglot conference for application developers and maintainers. View some of the DevNation 2015 session recordings here.  DevNation 2016 will be in San Francisco, USA, the week of June 26.  Be sure to follow its status and register at www.devnation.org.

JBoss Fuse Tooling released for Eclipse Mars

We are happy to announce the release of Red Hat JBoss Fuse Tooling for Eclipse Mars. It is available now as part of the JBoss Tools Integration Stack 4.3.2 / Developer Studio Integration Stack 9.0.2.

Let me highlight the most important changes only. You can see a full list of changes in the What’s New section for the release.

Continue reading “JBoss Fuse Tooling released for Eclipse Mars”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Java Language Support for Visual Studio Code has landed

Java language server is an implementation of the language server protocol for Java. If you recall, language server protocol provides a common way for editors and IDEs to integrate with language smartness providers. By design, all of the language tooling magic happens on the Java language server, and can provide same level of smartness to tools that support the protocol. In fact, we are working with communities such as Eclipse Che to make this server available for their tools.

As of Friday, September 16th, we have released our Java language support extension to Visual Studio Code marketplace. This initial release comes with a modest feature list that will make VS Code more fun to use for Java developers. Here is a list of features supported in this release. (Note, the Java language support extension makes use of the Java language server.)

  • Maven based project support
  • As you type compilation error reporting
  • Code completion
  • Javadoc hovers
  • Code outline
  • Code navigation
  • Code lens  for references
  • Highlights
  • Code formatting

You should expect to see more deployments with different tools in the near future, in the meanwhile enjoy Java support on VS Code.


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Release of v3.13 of the Red Hat Mobile Application Platform

We have just completed the deployment of the Red Hat Mobile Application Platform v3.13 to all our actively updated grids. This is mainly a bug-fix and enhancement release with no major new features.

Please pay particular attention to the extra notes below on Node.js 0.10.x, Cordova Light and CocoaPods 1.x.

Continue reading “Release of v3.13 of the Red Hat Mobile Application Platform”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

JBoss EAP 7 Domain deployments – Part 2: Domain deployments through the EAP 7.0 Management Console

In this blog series we will present several ways to deploy an application on an EAP Domain. The series consists of 5 parts. Each one will be a standalone article, but the series as a whole will present a range of useful topics for working with JBoss EAP.

  • Part 1: Setup a simple EAP 7.0 Domain.
  • Part 2: Domain deployments through the new EAP 7.0 Management Console (this article)
  • Part 3:  Introduction to DMR (Dynamic Model Representation) and domain deployments from the Common Language Interface CLI.
  • Part 4: Domain deployment from the REST Management API.
  • Part 5: Manage EAP 6 Hosts from EAP 7.0 domain

In part 1 of this series on JBoss EAP 7 Domain deployments, we set up a simple EAP 7.0 domain with three hosts:

Review the domain Configuration

The domain controller host0, and two slaves hosts running several EAP 7.0 instances.

JBoss EAP Simple Domain

In the following tutorial we are going to see how to deploy an application on JBoss EAP domain using the new EAP 7.0 Management Console.

Continue reading “JBoss EAP 7 Domain deployments – Part 2: Domain deployments through the EAP 7.0 Management Console”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

Release of v3.12 and v4.1 of the Red Hat Mobile Application Platform

Red Hat Mobile Application Platform lets teams extend their development capabilities to mobile by developing collaboratively, centralizing control of security and using back-end integration with a range of cloud deployments.

We have just completed the deployment of the Red Hat Mobile Application Platform v3.12 and v4.1 to all our actively updated grids. The main features of this release are:

MBaaS v4.1

v4.1 of our MBaaS, which runs on the OpenShift Container Platform 3, includes the following:

  • Support for OpenShift Container Platform 3.2
  • Support for Node.js 4.4.2 LTS from Red Hat Software Collections (RHSCL)
  • Support for MongoDB 3.2 from RHSCL

We recommend that all existing MBaaS 4.0 installation upgrade to 4.1 and also upgrade from OpenShift 3.1 to 3.2

Instructions on how to upgrade from 4.0 to 4.1 MBaaS are here.

A new summary document with a step-by-step guide on how to install 4.1 MBaaS is here.

Important Note: Whilst MongoDB 3.2 is available on MBaaS 4.1, we have not yet moved to it on RHMAP Hosted (3.12), due to the complex nature of MongoDB upgrades. This will be available in a later release, TBA.

Continue reading “Release of v3.12 and v4.1 of the Red Hat Mobile Application Platform”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!

 

What’s new with the Red Hat Developer Program?

The Red Hat Developer Program was introduced to make it easier for any developer to create quality software.  The program began with great developer tools and content provided through our developers.redhat.com website, which allows developers to download and use our enterprise products for development purposes through a free membership.  This enables you to develop, prototype, test, and demo your software on the enterprise products that can be trusted to run the most demanding of enterprise production environments.

Here are the products we offer through the program today, free for development use:

Red Hat Enterprise Linux

Red Hat JBoss Enterprise Application Platform

Red Hat JBoss Developer Studio

Red Hat JBoss Fuse

Red Hat JBoss Web Server

Red Hat Container Development Kit

Red Hat JBoss A-MQ

Red Hat JBoss BRMS

Red Hat JBoss BPM Suite

Red Hat JBoss Data Virtualization

Red Hat Mobile Application Platform

OpenShift Enterprise by Red Hat

Red Hat JBoss Data Grid

And now we’ve taken a step further, by enabling program members to better self-supporttheir developer issues. We recognize that developers may have preferences in the Community Platforms they want to use. Some are accustomed to forums which have been around for many years. Whereas others may prefer using a Q&A site. So we’ve integrated two Community Platforms with the developers.redhat.com site that you can now use  Red Hat Developer Forums and Stack Overflow. This also gives us the ability to aggregate all Red Hat developer content, and soon you’ll be able to search across all developer conversations and content to find the information you’re looking for.

Continue reading “What’s new with the Red Hat Developer Program?”


Join Red Hat Developers, a developer program for you to learn, share, and code faster – and get access to Red Hat software for your development.  The developer program and software are both free!