What's New in 4.4.1.Final
Docker Tools
Automatically detect known Docker daemon connections
When the Docker Explorer view is opened, the list of existing connections (saved from a previous session) is reloaded. In addition to this behaviour, the view will also attempt to find new connections using default settings such the 'unix:///var/run/docker.sock' Unix socket or the 'DOCKER_HOST', 'DOCKER_CERT_PATH' and 'DOCKER_TLS_VERIFY' environment variables. This means that by default, in a new workspace, if a Docker daemon is reachable using one of those methods, the user does not have to use the "New Connection" wizard to get a connection.
See issue 497101 in Eclipse Bugzilla for more details.
Extension point for Docker daemon connection settings
An extension point has been added to the Docker core plugin to allow for custom connection settings provisionning.
See issue 497100 in Eclipse Bugzilla for more details.
Support for Docker Compose
Support for Docker Compose has finally landed !
Users can select a docker-compose.yml
file and start Docker Compose from the
context menu, using the Run > Docker Compose
launcher shortcut.
The Docker Compose process displays it logs (with support for text coloring based on ANSI escape codes)
and provides a stop
button to stop the underlying process.
Also, as with the support for building and running containers, a launch configuration is created after the
first call to Docker Compose on the selected docker-compose.yml
file.
See issue 479592 in Eclipse Bugzilla for more details.
Docker Image Hierarchy View Improvements
The new Docker Image Hierarchy view not only shows the relationships between images (which is particularly interesting when an image is built using a Dockerfile), but it also includes containers based on the images in the tree view while providing with all relevant commands (in the context menu) for containers and images.
Forge Tools
Added Install addon from the catalog command
From Forge 3.3.0.Final onwards it is now possible to query and install addons listed in the Forge addons page.
Forge Runtime updated to 3.3.1.Final
The included Forge runtime is now 3.3.1.Final. Read the official announcement here.
Freemarker
Improved automatic finishing of FreeMarker constructs
When you type <#
, <@
, ${
, #{
and <#--
the freemarker editor now automatically closes them.
Related JIRA: JBIDE-22749
Error positions links on the console
When a FreeMarker exception is printed to the console, the error position in it is a link that navigates to the error. This has worked long ago, but was broken for quite a while.
Related JIRA: JBIDE-22701
Fixed auto-indentation
When hitting enter, sometimes the new line haven’t inherited the indentation of the last line.
Related JIRA: JBIDE-20512
Freemarker 2.3.25
Freemarker library included in the Freemarker IDE was updated to latest available version 2.3.25.
Related JIRA: JBIDE-22700
flth / fltx file extensions added
The new flth and fltx extensions have been added and associated with Freemarker IDE. flth
stands for HTML content whereas fltx
stands for XML content.
Related JIRA: JBIDE-22636
Overhaul of the plugin template parser
The parser that FreeMarker IDE uses to extract IDE-centric information (needed for syntax highlighting, related tag highlighting, auto-completion, outline view, etc.) was overhauled. Several bugs were fixed, and support for the newer template language features were added. Also, the syntax highlighting is now more detailed inside expressions.
Related JIRAs: JBIDE-20180, JBIDE-22574, JBIDE-21819
Related tag background highlighting fixed
Fixed the issue when the (by default) yellow highlighting of the related FTL tags shift away from under the tag as you type.
Related JIRA: JBIDE-22656
Showing whitespace, block selection mode
The standard "Show whitespace characters" and "Toggle block selection mode" icons are now available when editing a template.
Related JIRA: JBIDE-22751
Updated the "database" used for auto completion
Auto completion now knows all directives and "built-ins" up to FreeMarker 2.3.25.
Related JIRAs: JBIDE-20386, JBIDE-22765
Hibernate Tools
Hibernate Runtime Provider Updates
A number of additions and updates have been performed on the available Hibernate runtime providers.
New Hibernate 5.2 Runtime Provider
With final releases available in the Hibernate 5.2 stream, the time was right to make available a corresponding Hibernate 5.2 runtime provider. This runtime provider incorporates Hibernate Core version 5.2.2.Final and Hibernate Tools version 5.2.0.Beta1.
Other Runtime Provider Updates
The Hibernate 4.3 runtime provider now incorporates Hibernate Core version 4.3.11.Final and Hibernate Tools version 4.3.5.Final.
The Hibernate 5.0 runtime provider now incorporates Hibernate Core version 5.0.10.Final and Hibernate Tools version 5.0.2.Final.
The Hibernate 5.1 runtime provider now incorporates Hibernate Core version 5.1.1.Final and Hibernate Tools version 5.1.0.CR1.
OpenShift
Events can now be displayed
Events generated as part of the application livecycle are now displayed in the property view under the Events
tab (available at the project level):
You can refresh the content of the event with the Refresh
command or open the event in the OpenShift web console with the Show In → Web Console
command.
Related JIRA: JBIDE-22817
Volume claims can now be displayed
Volume claims are now displayed in the property view under the Storage
tab (available at the project level):
You can create a new volume claim using a resource file like the following:
{
"apiVersion": "v1",
"kind": "PersistentVolumeClaim",
"metadata": {
"name": "claim1"
},
"spec": {
"accessModes": [ "ReadWriteOnce" ],
"resources": {
"requests": {
"storage": "1Gi"
}
}
}
}
If you deploy such a resource file with the New → Resource
command at the project level, the Storage
tab will be updated:
You can access/edit the content of the volume claim with the Edit
command or open the volume claim in the OpenShift web console with the Show In → Web Console
command.
Related JIRA: JBIDE-22433
Server templates can now be displayed / edited
Server templates are now displayed in the property view under the Templates
tab:
You can access/edit the content of the template with the Edit
command.
Related JIRA: JBIDE-22457
Server Tools
Support for WildFly 10.1
The WildFly 10.0 Server adapter has been renamed to WildFly 10.x. It has been tested and verified to work for WildFly 10.1 installations.
Related JIRA: JBIDE-23035 - Support WildFly 10.1 - change server adapter name
QuickFixes now available in runtime detection
Runtime detection has been a feature of JBossTools for a long while, however, it would sometimes create runtime and server adapters with configuration errors without alerting the user. Now, the user will have an opportunity to execute quickfixes before completing the creation of their runtimes and servers.
To see this in action, we can first open up the runtime-detection preference page. We can see that our runtime-detection will automatically search three paths for valid runtimes of any type.
Once we click search, the runtime-detection’s search dialog appears, with results it has found. In this case, it has located an EAP 6.4 and an EAP 7.0 installation. However, we can see that both have errors. If we click on the error column for the discovered EAP 7.0, the error is expanded, and we see that we’re missing a valid / compatible JRE. To fix the issue, we should click on this item.
When we click on the problem for EAP 7, the new JRE dialog appears, allowing us to add a compatible JRE. The dialog helpfully informs us of what the restrictions are for this specific runtime. In this case, we’re asked to define a JRE with a minimum version of Java-8.
If we continue along with the process by locating and adding a Java 8 JRE, as shown above, and finish the dialog, we’ll see that all the errors will disappear for both runtimes. In this example, the EAP 6.4 required a JRE of Java 7 or higher. The addition of the Java 8 JRE fixed this issue as well.
Hopefully, this will help users preemptively discover and fix errors before being hit with surprising errors when trying to use the created server adapters.
Related JIRA: JBIDE-15189 - Add quickfixes to runtime detection