Amazon Q Developer launches Java upgrade transformation CLI (Public Preview)
Posted on:
Nov 27, 2024
Amazon Q Developer launches public preview of Java upgrade transformation CLI (command line interface). The CLI allows you to invoke transformations from the command line and perform transformations at scale.
The CLI provides the following capabilities:
- Transform your Java applications from Java 8, Java 11 to Java 17 (available in the IDE and now in the CLI)
- Custom transformations (new and only in CLI): The CLI will allow you to perform custom transformations you defined specific to your code bases in your organization. Prior to this launch, Amazon Q Developer would upgrade open-source libraries in your Java applications. With custom transformations in the CLI, you can define your own transformations specific to your code bases and internal libraries. You can define custom transformations using ast-grep, a code tool for structural search and replace. Amazon Q Developer can perform your custom transformations and leverage Q’s AI debugging capabilities.
- Build on local environment (new and only in CLI): The CLI will perform the verification build on your local environment, which ensures running unit tests and integration tests during build verifications.
This capability is available in the command line, on Linux and Mac OS. You can learn more about the Code Transformation CLI and get started here.