Home

Awesome

Welcome to the Liberty Tools for Eclipse IDE project

License

A Liberty plugin for the Eclipse IDE. The plugin allows you to run your Liberty Maven or Liberty Gradle projects in dev mode through the Liberty dashboard view or through the project explorer view. You can start, stop, or interact with Liberty dev mode on all configured Liberty Maven and Liberty Gradle projects in your workspace.


Liberty dashboard

Maven ProjectsGradle Projects
Dashboard context menu for Maven ProjectsDashboard context menu for Gradle Projects

Explorer view

Dashboard context menu view

Quick start

For detailed instructions on how to use the Liberty dashboard context menu commands or the Liberty launch shortcuts in the project explorer view, check out the User Guide page.

Features

The following screen captures demonstrate some of the Liberty Tools language assistance features.

Code completion in server.xml files helps you quickly edit your Liberty runtime configuration.

Liberty Config Language Server completion

Similar code assistance is provided for bootstrap.properties files (and server.env though not shown):

Liberty Config Language Server completion bootstrap.properties

Helpful code snippets are provided in Java files for Jakarta EE APIs such as Jakarta RESTful Web Services.

Eclipse LSP4Jakarta completion

Code completion for microprofile-config.properties files helps you easily set properties for MicroProfile APIs.

Eclipse LSP4MP completion

Editing assistance for configuration and application files is provided through the following language server projects, which this project consumes. For more information, see the documentation for these projects.

Action commands

Action commandDescription
StartStarts dev mode.
Start in containerStarts dev mode with the server in a container.
Start...Opens the Run Configurations dialog to customize and run dev mode. You can find the supported parameters in the documentation for the dev goal of the Liberty Maven Plugin and the libertyDev task of the Liberty Gradle Plugin.
DebugStarts dev mode and attaches the debugger to the server JVM running the application.
Debug in containerStarts dev mode with the server in a container and attaches the debugger to the JVM within the container.
Debug...Opens the Debug Configurations dialog to customize and run dev mode, and attaches the debugger to the server JVM that is running the application.
StopStops dev mode.
Run testsRuns the unit tests and integration tests that are configured for your project. This command requires that dev mode is already started.
View integration test report (Maven)Opens the integration test report file if it exists at /target/site/failsafe-report.html. This action command is only available to Maven projects.
View unit test report (Maven)Opens the unit test report file if it exists at /target/site/surefire-report.html. This action command is only available to Maven projects.
View test report (Gradle)Opens the test report file if it exists at the default location: build/reports/tests/test/index.html. This action command is available only to Gradle projects. Unlike Maven projects, Gradle projects have only a single action command for test result reporting.

Contributing

Contributions to the Liberty Tools for Eclipse IDE plugin are welcome!

Our CONTRIBUTING document contains details for setting up your development environment and submitting pull requests.

Issues

Please report bugs, issues and feature requests by creating a GitHub issue