General Page
Eclipse Transformer is an open-source utility maintained by the Eclipse community. Although the tool itself is not developed or maintained by us, it enables a smoother transition path for customers adopting Jakarta EE as part of their application modernization efforts.
Prerequisites
Download the following JAR files and place them in a single folder:
- org.eclipse.transformer.cli.jar
- org.eclipse.transformer.jakarta.jar
- commons-cli.jar
- biz.aQute.bnd.jar
- slf4j-api.jar
- org.eclipse.transformer.jar
- biz.aQute.bndlib.jar
Procedure
Create a HATS project using a Java EE–based runtime.
Export the project as an EAR file.
Place the exported EAR file in the same folder that contains the Eclipse Transformer JAR files.
Open a command prompt in the folder containing both the JAR files and the EAR file and run the following command to perform the transformation:
Syntax
java -cp "org.eclipse.transformer.cli-1.0.0.jar;*"
org.eclipse.transformer.cli.JakartaTransformerCLI <Input-file> <Output-file> -ti ts *.mf !
Example:
java -cp "org.eclipse.transformer.cli-1.0.0.jar;*"
org.eclipse.transformer.cli.JakartaTransformerCLI Original.ear Transformed.ear -ti ts *.mf !
Parameter Description
Original.ear
The EAR file exported from the HATS project that contains Java EE–based artifacts.
Transformed.ear
The output EAR file generated by Eclipse Transformer. This file contains Jakarta EE–compatible artifacts converted from the original EAR file.
The transformation tool processes the input EAR file.
A converted EAR file is generated in the same folder as the input file.
Deploy the transformed EAR file (Transformed.ear) to a Jakarta EE–supported application server.
Reference link: https://projects.eclipse.org/projects/technology.transformer
Was this topic helpful?
Document Information
Modified date:
18 March 2026
UID
ibm17258322